versh23
Newbie | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Делаю по инструкции http://dark-sarmat.com/2010/02/25/настройка-mta-для-mutt-отправка-почты-через/ пытаюсь отправить почту по telnet Код: root@gate:/etc/postfix# telnet 192.168.0.5 25 Trying 192.168.0.5... Connected to 192.168.0.5. Escape character is '^]'. 220 gate.tmgroup.com ESMTP Postfix (Ubuntu) EHLO tmxxi.ru 250-gate.tmgroup.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN MAIL FROM:sale@tmxxi.ru 250 2.1.0 Ok RCPT TO:versh23@gmail.com 250 2.1.5 Ok DATA 354 End data with <CR><LF>.<CR><LF> THIS is test mg . 250 2.0.0 Ok: queued as 5D6AAC067A QUIT 221 2.0.0 Bye Connection closed by foreign host. | Письмо не приходит на versh23@gmail.com Файл /var/log/mail.log Код: Jan 10 10:34:31 gate postfix/smtpd[3245]: connect from unknown[192.168.0.5] Jan 10 10:35:00 gate postfix/smtpd[3245]: 5D6AAC067A: client=unknown[192.168.0.5] Jan 10 10:35:06 gate postfix/cleanup[3248]: 5D6AAC067A: message-id=<20120110063500.5D6AAC067A@gate.tmgroup.com> Jan 10 10:35:06 gate postfix/qmgr[3237]: 5D6AAC067A: from=<sale@tmxxi.ru>, size=311, nrcpt=1 (queue active) Jan 10 10:35:06 gate postfix/error[3242]: 5D6AAC067A: to=<versh23@gmail.com>, relay=none, delay=21, delays=21/0/0/0.1, dsn=4.3.0, status=deferred (unknown mail transport error) Jan 10 10:35:09 gate postfix/smtpd[3245]: disconnect from unknown[192.168.0.5] | /var/log/mail.err Код: Jan 10 10:34:29 gate postfix/smtp[3240]: fatal: SASL per-connection initialization failed | вот мой main.cf Код: # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. myhostname = gate.tmgroup.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = $myhostname, localhost.$mydomain, localhost relayhost = mail.inmak.ua:25 smtp_use_tls = yes smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/passwd smtp_sasl_security_options = noanonymous mynetworks = 127.0.0.0/8 192.168.0.0/28 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all inet_protocols = ipv4 |
|