LINUX.ORG.RU
решено ФорумAdmin

Теперь проблема с отправкой письма через Postfix: mail transport unavailable

 


0

1

Лог Постфикса:

postfix/smtps/smtpd[3213]: connect from 93-120-185-166.dynamic.mts-nn.ru[93.120.185.166]
postfix/smtps/smtpd[3213]: 3E9B2FA2B71: client=93-120-185-166.dynamic.mts-nn.ru[93.120.185.166], sasl_method=PLAIN, sasl_username=test@vasya.ru
postfix/cleanup[3223]: 3E9B2FA2B71: message-id=<1717ae6c-8f88-4c92-8932-99ae95d4149d@vasya.ru>
postfix/qmgr[2218]: 3E9B2FA2B71: from=<test@vasya.ru>, size=584, nrcpt=1 (queue active)
postfix/qmgr[2218]: warning: connect to transport private/scan: No such file or directory
postfix/error[3224]: 3E9B2FA2B71: to=<test-yte6t7r8y@srv1.mail-tester.com>, relay=none, delay=0.06, delays=0.05/0.01/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
dovecot: imap(test@vasya.ru)<3167><ZMLI8jIsosJdeLmm>: Disconnected: Logged out in=1055 out=3644 deleted=0 expunged=0 trashed=0 hdr_count=2 hdr_bytes=477 body_count=0 body_bytes=0
postfix/smtps/smtpd[3213]: disconnect from 93-120-185-166.dynamic.mts-nn.ru[93.120.185.166] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6

sudo cat /etc/postfix/master.cf

smtp      inet  n       -       y       -       -       smtpd
  -o content_filter=scan:[127.0.0.1]:10026
pickup    unix  n       -       y       60      1       pickup
cleanup   unix  n       -       y       -       0       cleanup
qmgr      unix  n       -       n       300     1       qmgr
#qmgr     unix  n       -       n       300     1       oqmgr
tlsmgr    unix  -       -       y       1000?   1       tlsmgr
rewrite   unix  -       -       y       -       -       trivial-rewrite
bounce    unix  -       -       y       -       0       bounce
defer     unix  -       -       y       -       0       bounce
trace     unix  -       -       y       -       0       bounce
verify    unix  -       -       y       -       1       verify
flush     unix  n       -       y       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       y       -       -       smtp
relay     unix  -       -       y       -       -       smtp
 -o syslog_name=postfix/$service_name
showq     unix  n       -       y       -       -       showq
error     unix  -       -       y       -       -       error
retry     unix  -       -       y       -       -       error
discard   unix  -       -       y       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       y       -       -       lmtp
anvil     unix  -       -       y       -       1       anvil
scache    unix  -       -       y       -       1       scache
postlog   unix-dgram n  -       n       -       1       postlogd
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)

submission   inet  n  -  n  -  -  smtpd
  -o content_filter=scan:[127.0.0.1]:10026

  -o smtpd_tls_security_level=may
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_sasl_type=dovecot
  -o smtpd_sasl_path=/var/spool/postfix/private/auth
  -o smtpd_sasl_security_options=noanonymous
  -o smtpd_sasl_local_domain=$myhostname

smtps   inet  n  -  n  -  -  smtpd
  -o content_filter=scan:[127.0.0.1]:10026

  -o syslog_name=postfix/smtps
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject

dovecot   unix  -  n  n  -  -  pipe
  flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient}

127.0.0.1:10027   inet  n  -  n  -  16  smtpd
  -o content_filter=
  -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  -o smtpd_helo_restrictions=
  -o smtpd_client_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o mynetworks_style=host
  -o smtpd_authorized_xforward_hosts=127.0.0.0/8

Где ошибка?