Код: Выделить всё
Sep 1 14:01:10 localhost postfix/postfix-script[5082]: refreshing the Postfix mail system
Sep 1 14:01:10 localhost postfix/master[3743]: reload configuration /etc/postfix
Sep 1 14:01:40 localhost dovecot: pop3-login: Login: user=<pupkin>, method=PLAIN, rip=::ffff:192.168.0.8, lip=::ffff:192.168.0.1, TLS
Sep 1 14:01:40 localhost dovecot: POP3(pupkin): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 1 14:01:54 localhost postfix/smtpd[5147]: connect from sysadm.local[192.9.200.8]
Sep 1 14:01:54 localhost postfix/smtpd[5147]: 781321A58301: client=sysadm.local[192.168.0.8]
Sep 1 14:01:54 localhost postfix/cleanup[5150]: 781321A58301: message-id=<200809011401.54411.pupkin@server.local>
Sep 1 14:01:54 localhost postfix/qmgr[5086]: 781321A58301: from=<kontora@mail.ru>, size=624, nrcpt=1 (queue active)
Sep 1 14:01:54 localhost postfix/smtpd[5147]: disconnect from sysadm.local[192.168.0.8]
Sep 1 14:01:54 localhost postfix/smtp[5151]: 781321A58301: to=<kontora@mail.ru>, relay=smtp.mail.ru[194.67.23.111]:25, delay=0.3, delays=0.01/0.01/0.13/0.15, dsn=5.0.0, status=bounced (host smtp.mail.ru[194.67.23.111] said: 550 Message was not accepted -- it contains invalid headers. More specially, 'From:' header must match user you are sending mail from. See http://www.mail.ru/pages/help/261.html for details. (in reply to end of DATA command))
Sep 1 14:01:54 localhost postfix/cleanup[5150]: C165D1A58303: message-id=<20080901100154.C165D1A58303@server.local>
Sep 1 14:01:54 localhost postfix/bounce[5152]: 781321A58301: sender non-delivery notification: C165D1A58303
Sep 1 14:01:54 localhost postfix/qmgr[5086]: C165D1A58303: from=<>, size=2735, nrcpt=1 (queue active)
Sep 1 14:01:54 localhost postfix/qmgr[5086]: 781321A58301: removed
Sep 1 14:01:54 localhost postfix/smtp[5151]: C165D1A58303: to=<kontora@mail.ru>, relay=smtp.mail.ru[194.67.23.111]:25, delay=0.17, delays=0/0/0.12/0.04, dsn=5.0.0, status=bounced (host smtp.mail.ru[194.67.23.111] said: 550 not local sender over smtp (in reply to RCPT TO command))
Sep 1 14:01:55 localhost postfix/qmgr[5086]: C165D1A58303: removedЛог попытки отправить письмо самому себе.
Сам main.cf
Код: Выделить всё
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = server.local
mydomain = local
myorigin = $myhostname
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_local_recipient_reject_code = 550
mynetworks_style = subnet
mynetworks = 192.168.0.0/16, 127.0.0.0/8
mailbox_size_limit = 129000000
message_size_limit = 128000000
disable_dns_lookups=yes
relayhost = [smtp.mail.ru]
sender_canonical_maps = hash:/etc/postfix/sender_canonical
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mail_spool_directory = /var/spool/mail
debug_peer_level = 2
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.2.8/samples
readme_directory = /usr/share/doc/postfix-2.2.8/README_FILES
smtp_sasl_auth_enable = yes
smtp_helo_name = mail.ru
enable_sasl_authentication = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_helo_required = yes
smtp_sasl_security_options =
smtp_sasl_tls_security_options = $smtp_sasl_security_options
smtp_sasl_tls_verified_security_options = $smtp_sasl_tls_security_options
defer_transport=smtpsender_canonical и sasl_passwd заполнены и .db сделаны. Я конечно понимаю, что в отсылаемом письме что-то не так с заголовками, но не понятно, почему на одной машине работает, на другой с теми же "конфигами" нет. И как можно поправить? Спасибо.