LINUX.ORG.RU
ФорумAdmin

postfix unknown mail transport error

 , ,


0

2

Здравствуйте Помогите пожалуйста настроить почтовый сервер.postfix почту принимает на диск, dovecot как я понял не ловит ее. В логах mail transport unavailable

# grep -v -E "#|^$" /etc/postfix/main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
default_privs = nobody
myhostname = mail.alfavoditel.ru
mydomain = alfavoditel.ru
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, mail.$mydomain, www.$mydomain
unknown_local_recipient_reject_code = 550
mynetworks_style = host
mynetworks = 127.0.0.0/8
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
smtpd_banner = $myhostname ESMTP
debug_peer_level = 2
debug_peer_list =  yandex.ru, mail.ru pochta.ru 10.10.10.23/32 10.10.10.0/24
debugger_command =
  PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
  xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
smtpd_helo_required = yes
disable_vrfy_command = yes
smtpd_error_sleep_time = 5s
smtpd_soft_error_limit = 10
smtpd_hard_error_limit = 20
virtual_mailbox_domains = alfavoditel.ru alfa-voditel.ru
virtual_mailbox_base = /var/spool/mail/vhosts
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_minimum_uid = 100
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
#  grep -v -E "#|^$" /etc/dovecot/dovecot.conf
ssl = no
listen = *
base_dir = /var/run/dovecot/
protocol imap {
listen = *:143
login_executable = /usr/libexec/dovecot/imap-login
}
disable_plaintext_auth = no
shutdown_clients = yes
login_dir = /var/run/dovecot/login
login_chroot = yes
login_user = dovecot
mail_location = mbox:/var/spool/mail/vhosts/imap/%d/%n:INBOX=/var/spool/mail/vhosts/%d/%n
mail_debug = yes
first_valid_uid = 5000
last_valid_uid = 5000
protocol imap {
}
protocol pop3 {
}
protocol lda {
postmaster_address = admin@alfavoditel.ru
sendmail_path = /usr/lib/sendmail
auth_socket_path = /var/run/dovecot/auth-master
}
auth_executable = /usr/libexec/dovecot/auth
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
auth default {
mechanisms = plain digest-md5
userdb passwd-file {
args = /etc/dovecotusers
}
passdb passwd-file {
args = /etc/dovecotpasswd
}
passdb pam {
}
userdb passwd {
}
userdb static {
args = uid=5000 gid=5000 home=/var/spool/mail/vhosts/%d/%n allow_all_users=yes
}
user = nobody
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = virtualmail
group = virtualmail
}
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
dict {
}
plugin {
}
Feb  5 14:18:23 localhost postfix/error[23383]: E9FB8CC05A2: to=<admin@alfavoditel.ru>, relay=none, delay=1052, delays=1052/0.01/0/0.05, dsn=4.3.0, status=deferred (mail transport unavailable)
Feb  5 14:19:26 localhost postfix/postsuper[23470]: Requeued: 2 messages
Feb  5 14:20:23 localhost postfix/pickup[23032]: A860ECC05A5: uid=89 from=<formasterdedicated@gmail.com> orig_id=E9FB8CC05A2
Feb  5 14:20:23 localhost postfix/cleanup[23545]: A860ECC05A5: message-id=<CAFmTMr+Xvv9M79HdDM620GkozqWFAe9myGdfMFAeTn0BaK1PtQ@mail.gmail.com>
Feb  5 14:20:23 localhost postfix/qmgr[23033]: A860ECC05A5: from=<formasterdedicated@gmail.com>, size=1852, nrcpt=1 (queue active)
Feb  5 14:20:23 localhost postfix/pickup[23032]: B7A1BCC05A2: uid=89 from=<formasterdedicated@gmail.com> orig_id=D891ECC059E
Feb  5 14:20:23 localhost postfix/qmgr[23033]: warning: connect to transport private/dovecot: No such file or directory
Feb  5 14:20:23 localhost postfix/cleanup[23545]: B7A1BCC05A2: message-id=<CAFmTMr+RZKm0pvzCz+Z=Vma6fF=-hmFP8NyybnQAVxVngEbjXA@mail.gmail.com>
Feb  5 14:20:23 localhost postfix/qmgr[23033]: B7A1BCC05A2: from=<formasterdedicated@gmail.com>, size=1860, nrcpt=1 (queue active)
Feb  5 14:20:23 localhost postfix/error[23547]: A860ECC05A5: to=<admin@alfavoditel.ru>, relay=none, delay=1172, delays=1172/0/0/0.06, dsn=4.3.0, status=deferred (mail transport unavailable)
Feb  5 14:20:23 localhost postfix/error[23547]: B7A1BCC05A2: to=<admin@alfavoditel.ru>, relay=none, delay=83331, delays=83331/0/0/0.03, dsn=4.3.0, status=deferred (mail transport unavailable)
Feb  5 14:22:26 localhost postfix/postfix-script[23691]: stopping the Postfix mail system
Feb  5 14:22:26 localhost postfix/master[23030]: terminating on signal 15
Feb  5 14:22:27 localhost postfix/postfix-script[23763]: starting the Postfix mail system
Feb  5 14:22:27 localhost postfix/master[23764]: daemon started -- version 2.6.6, configuration /etc/postfix
Feb  5 14:22:39 localhost postfix/postsuper[23782]: Requeued: 2 messages
Feb  5 14:23:27 localhost postfix/pickup[23766]: 3FBE1CC05A6: uid=89 from=<formasterdedicated@gmail.com> orig_id=A860ECC05A5
Feb  5 14:23:27 localhost postfix/cleanup[23858]: 3FBE1CC05A6: message-id=<CAFmTMr+Xvv9M79HdDM620GkozqWFAe9myGdfMFAeTn0BaK1PtQ@mail.gmail.com>
Feb  5 14:23:27 localhost postfix/qmgr[23767]: 3FBE1CC05A6: from=<formasterdedicated@gmail.com>, size=1968, nrcpt=1 (queue active)
Feb  5 14:23:27 localhost postfix/pickup[23766]: 50179CC05A5: uid=89 from=<formasterdedicated@gmail.com> orig_id=B7A1BCC05A2
Feb  5 14:23:27 localhost postfix/cleanup[23858]: 50179CC05A5: message-id=<CAFmTMr+RZKm0pvzCz+Z=Vma6fF=-hmFP8NyybnQAVxVngEbjXA@mail.gmail.com>
Feb  5 14:23:27 localhost postfix/pipe[23860]: fatal: missing user= command-line attribute
Feb  5 14:23:27 localhost postfix/qmgr[23767]: 50179CC05A5: from=<formasterdedicated@gmail.com>, size=1976, nrcpt=1 (queue active)
Feb  5 14:23:27 localhost postfix/pipe[23861]: fatal: missing user= command-line attribute
Feb  5 14:23:28 localhost postfix/qmgr[23767]: warning: private/dovecot socket: malformed response
Feb  5 14:23:28 localhost postfix/master[23764]: warning: process /usr/libexec/postfix/pipe pid 23860 exit status 1
Feb  5 14:23:28 localhost postfix/master[23764]: warning: /usr/libexec/postfix/pipe: bad command startup -- throttling
Feb  5 14:23:28 localhost postfix/qmgr[23767]: warning: transport dovecot failure -- see a previous warning/fatal/panic logfile record for the problem description
Feb  5 14:23:28 localhost postfix/master[23764]: warning: process /usr/libexec/postfix/pipe pid 23861 exit status 1
Feb  5 14:23:28 localhost postfix/qmgr[23767]: warning: private/dovecot socket: malformed response
Feb  5 14:23:28 localhost postfix/qmgr[23767]: warning: transport dovecot failure -- see a previous warning/fatal/panic logfile record for the problem description
Feb  5 14:23:28 localhost postfix/error[23862]: 3FBE1CC05A6: to=<admin@alfavoditel.ru>, relay=none, delay=1356, delays=1355/1/0/0.06, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb  5 14:23:28 localhost postfix/error[23862]: 50179CC05A5: to=<admin@alfavoditel.ru>, relay=none, delay=83516, delays=83515/1/0/0.07, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb  5 14:23:57 localhost postfix/postfix-script[23923]: stopping the Postfix mail system
Feb  5 14:23:57 localhost postfix/master[23764]: terminating on signal 15
Feb  5 14:23:57 localhost postfix/postfix-script[23995]: starting the Postfix mail system
Feb  5 14:23:57 localhost postfix/master[23996]: daemon started -- version 2.6.6, configuration /etc/postfix
Feb  5 14:24:41 localhost postfix/smtpd[24071]: connect from mail-pd0-f196.google.com[209.85.192.196]
Feb  5 14:24:41 localhost postfix/smtpd[24071]: 7962DCC05A2: client=mail-pd0-f196.google.com[209.85.192.196]
Feb  5 14:24:41 localhost postfix/cleanup[24075]: 7962DCC05A2: message-id=<CAFmTMrLgmBOzd3boiuHGPX1Nd24k8s3gZsXV+kgCFhk4mjpp8g@mail.gmail.com>
Feb  5 14:24:41 localhost postfix/qmgr[23999]: 7962DCC05A2: from=<formasterdedicated@gmail.com>, size=1730, nrcpt=1 (queue active)
Feb  5 14:24:41 localhost postfix/pipe[24076]: fatal: get_service_attr: unknown username: vmail
Feb  5 14:24:41 localhost postfix/smtpd[24071]: disconnect from mail-pd0-f196.google.com[209.85.192.196]
Feb  5 14:24:42 localhost postfix/master[23996]: warning: process /usr/libexec/postfix/pipe pid 24076 exit status 1
Feb  5 14:24:42 localhost postfix/master[23996]: warning: /usr/libexec/postfix/pipe: bad command startup -- throttling
Feb  5 14:24:42 localhost postfix/qmgr[23999]: warning: private/dovecot socket: malformed response
Feb  5 14:24:42 localhost postfix/qmgr[23999]: warning: transport dovecot failure -- see a previous warning/fatal/panic logfile record for the problem description
Feb  5 14:24:42 localhost postfix/error[24080]: 7962DCC05A2: to=<admin@alfavoditel.ru>, relay=none, delay=1.3, delays=0.21/1/0/0.07, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb  5 14:28:01 localhost postfix/postfix-script[24346]: refreshing the Postfix mail system
Feb  5 14:28:01 localhost postfix/master[23996]: reload -- version 2.6.6, configuration /etc/postfix
Feb  5 14:28:01 localhost postfix/anvil[24073]: statistics: max connection rate 1/60s for (smtp:209.85.192.196) at Feb  5 13:24:41
Feb  5 14:28:01 localhost postfix/anvil[24073]: statistics: max connection count 1 for (smtp:209.85.192.196) at Feb  5 13:24:41
Feb  5 14:28:01 localhost postfix/anvil[24073]: statistics: max cache size 1 at Feb  5 13:24:41
Feb  5 14:28:15 localhost postfix/postsuper[24368]: Requeued: 3 messages
Feb  5 14:29:01 localhost postfix/pickup[24350]: BD094CC05A8: uid=89 from=<formasterdedicated@gmail.com> orig_id=3FBE1CC05A6
Feb  5 14:29:01 localhost postfix/cleanup[24427]: BD094CC05A8: message-id=<CAFmTMr+Xvv9M79HdDM620GkozqWFAe9myGdfMFAeTn0BaK1PtQ@mail.gmail.com>
Feb  5 14:29:01 localhost postfix/qmgr[24351]: BD094CC05A8: from=<formasterdedicated@gmail.com>, size=2084, nrcpt=1 (queue active)
Feb  5 14:29:01 localhost postfix/pickup[24350]: CE3B1CC05A6: uid=89 from=<formasterdedicated@gmail.com> orig_id=7962DCC05A2
Feb  5 14:29:01 localhost postfix/qmgr[24351]: warning: connect to transport private/dovecot: Connection refused
Feb  5 14:29:01 localhost postfix/cleanup[24427]: CE3B1CC05A6: message-id=<CAFmTMrLgmBOzd3boiuHGPX1Nd24k8s3gZsXV+kgCFhk4mjpp8g@mail.gmail.com>
Feb  5 14:29:01 localhost postfix/qmgr[24351]: CE3B1CC05A6: from=<formasterdedicated@gmail.com>, size=1846, nrcpt=1 (queue active)
Feb  5 14:29:01 localhost postfix/pickup[24350]: E2B71CC05A2: uid=89 from=<formasterdedicated@gmail.com> orig_id=50179CC05A5
Feb  5 14:29:01 localhost postfix/error[24429]: BD094CC05A8: to=<admin@alfavoditel.ru>, relay=none, delay=1690, delays=1690/0/0/0.08, dsn=4.3.0, status=deferred (mail transport unavailable)
Feb  5 14:29:01 localhost postfix/cleanup[24427]: E2B71CC05A2: message-id=<CAFmTMr+RZKm0pvzCz+Z=Vma6fF=-hmFP8NyybnQAVxVngEbjXA@mail.gmail.com>
Feb  5 14:29:01 localhost postfix/error[24429]: CE3B1CC05A6: to=<admin@alfavoditel.ru>, relay=none, delay=260, delays=260/0/0/0.06, dsn=4.3.0, status=deferred (mail transport unavailable)
Feb  5 14:29:01 localhost postfix/qmgr[24351]: E2B71CC05A2: from=<formasterdedicated@gmail.com>, size=2092, nrcpt=1 (queue active)
Feb  5 14:29:02 localhost postfix/error[24431]: E2B71CC05A2: to=<admin@alfavoditel.ru>, relay=none, delay=83849, delays=83849/0/0/0.04, dsn=4.3.0, status=deferred (mail transport unavailable)

Ответ на: комментарий от uspen

У меня почему то их два locate master.cf /etc/postfix/master.cf /usr/libexec/postfix/master.cf

# cat /etc/postfix/master.cf
#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
#submission inet n       -       n       -       -       smtpd
#  -o smtpd_tls_security_level=encrypt
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#smtps     inet  n       -       n       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#628      inet  n       -       n       -       -       qmqpd
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       n       300     1       oqmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       n       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       n       -       -       smtp
        -o smtp_fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
retry     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
#maildrop  unix  -       n       n       -       -       pipe
#  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
#old-cyrus unix  -       n       n       -       -       pipe
#  flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus     unix  -       n       n       -       -       pipe
#  user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
#uucp      unix  -       n       n       -       -       pipe
#  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# ====================================================================
#
# Other external delivery methods.
#
#ifmail    unix  -       n       n       -       -       pipe
#  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
#
#bsmtp     unix  -       n       n       -       -       pipe
#  flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
#
#scalemail-backend unix -       n       n       -       2       pipe
#  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
#  ${nexthop} ${user} ${extension}
#
#mailman   unix  -       n       n       -       -       pipe
#  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
#  ${nexthop} ${user}

Eof
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.