Переделываю почтовик и столкнулся с проблемой, не могу отправить письмо, почтовый клиент говорит что неправильно введен логин или пароль.
cat /var/log/mail.log
May 15 00:20:03 lex postfix/smtpd[22321]: warning: 178.140.205.246: hostname broadband-178-140-205-246.nationalcablenetworks.ru verification failed: Name or service not known
May 15 00:20:03 lex postfix/smtpd[22321]: connect from unknown[178.140.205.246]
May 15 00:20:06 lex postfix/smtpd[22321]: warning: SASL authentication failure: Password verification failed
May 15 00:20:06 lex postfix/smtpd[22321]: warning: unknown[178.140.205.246]: SASL PLAIN authentication failed: authentication failure
May 15 00:20:08 lex postfix/smtpd[22321]: warning: unknown[178.140.205.246]: SASL LOGIN authentication failed: authentication failure
May 15 00:20:10 lex postfix/smtpd[22323]: connect from forward14.mail.yandex.net[95.108.130.92]
May 15 00:20:10 lex postfix/smtpd[22323]: NOQUEUE: reject: RCPT from forward14.mail.yandex.net[95.108.130.92]: 450 4.7.1 Session encryption is required; from=<kotischewsky@yandex.ru> to=<komdir@ins-c.ru> proto=ESMTP helo=<forward14.mail.yandex.net>
May 15 00:20:10 lex postfix/smtpd[22323]: disconnect from forward14.mail.yandex.net[95.108.130.92]
main.cf
smtpd_banner = $myhostname Welcome to the Sendmail server
biff = no
append_dot_mydomain = no
mydomain = ins-c.ru
myhostname = mailer.ins-c.ru
mydestination = localhost, localhost.$myhostname, $myhostname
home_mailbox = Maildir/
mailbox_command = procmail -a «$EXTENSION»
virtual_mailbox_domains = /etc/postfix/vhosts
virtual_mailbox_base = /home/vmail
virtual_mailbox_maps = hash:/etc/postfix/vmaps
virtual_minimum_uid = 1000
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
relay_domains = no
myorigin = $mydomain
mynetworks = 127.0.0.0/8 95.84.240.34 178.140.205.246
mailbox_size_limit = 0
message_size_limit = 20000000
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_non_fqdn_recipient,
reject_unverified_recipient,
reject_unknown_client,
reject_unverified_sender,
master.cf
smtp inet n - - - - smtpd -o content_filter=myfilter:dummy
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
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/lib/bsmtp/bsmtp -t$nexthop -f$sender $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}
myfilter unix - n n - - pipe
flags=R user=clamav argv=/usr/local/bin/myfilter.sh -f ${sender} -- ${recipient}
submission inet n - n - - smtpd
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o cleanup_servicename=sasl_cleanup
sasl_cleanup unix n - n - 0 cleanup
-o header_checks=regexp:/etc/postfix/sub_header
Подскажите в чем косяк, где ошибся?