LINUX.ORG.RU
ФорумAdmin

Помогите с Postfix


0

0

На mail.ru есть ящик - chel@mail.ru. Sasl - вроде настоен.

May 28 18:00:28 localhost postfix/pickup[18429]: 90DB557022E: uid=0 from=<root> May 28 18:00:28 localhost postfix/cleanup[18435]: 90DB557022E: message-id=<20080528120028.90DB557022E@home> May 28 18:00:28 localhost postfix/qmgr[18430]: 90DB557022E: from=<chel@mail.ru>, size=1201, nrcpt=1 (queue active) May 28 18:00:28 localhost postfix/smtp[18437]: 90DB557022E: to=<vad@mail.ru>, relay=smtp.mail.ru[194.67.23.111]:25, delay=0.3, delays=0.02/0.01/0.17/0.11, dsn=5.0.0, status=bounced (host smtp.mail.ru[194.67.23.111] said: 550 spam message discarded. If you think that the system is mistaken, please report details to abuse@corp.mail.ru (in reply to end of DATA command)) May 28 18:00:28 localhost postfix/cleanup[18435]: DD0E7570230: message-id=<20080528120028.DD0E7570230@home> May 28 18:00:28 localhost postfix/bounce[18438]: 90DB557022E: sender non-delivery notification: DD0E7570230 May 28 18:00:28 localhost postfix/qmgr[18430]: DD0E7570230: from=<>, size=3073, nrcpt=1 (queue active) May 28 18:00:28 localhost postfix/qmgr[18430]: 90DB557022E: removed May 28 18:00:29 localhost postfix/smtp[18437]: DD0E7570230: to=<chel@mail.ru>, relay=smtp.mail.ru[194.67.23.111]:25, delay=0.29, delays=0/0/0.25/0.04, dsn=5.0.0, status=bounced (host smtp.mail.ru[194.67.23.111] said: 501 sender address must match authenticated user (in reply to MAIL FROM command)) May 28 18:00:29 localhost postfix/qmgr[18430]: DD0E7570230: removed

anonymous

На mail.ru есть ящик - chel@mail.ru. Sasl - вроде настоен. 

May 28 18:00:28 localhost postfix/pickup[18429]: 90DB557022E: uid=0 from=<root>
May 28 18:00:28 localhost postfix/cleanup[18435]: 90DB557022E: message-id=<20080528120028.90DB557022E@home>
May 28 18:00:28 localhost postfix/qmgr[18430]: 90DB557022E: from=<chel@mail.ru>, size=1201, nrcpt=1 (queue active)
May 28 18:00:28 localhost postfix/smtp[18437]: 90DB557022E: to=<vad@mail.ru>, relay=smtp.mail.ru[194.67.23.111]:25, delay=0.3, delays=0.02/0.01/0.17/0.11, dsn=5.0.0, status=bounced (host smtp.mail.ru[194.67.23.111] said: 550 spam message discarded. If you think that the system is mistaken, please report details to abuse@corp.mail.ru (in reply to end of DATA command))
May 28 18:00:28 localhost postfix/cleanup[18435]: DD0E7570230: message-id=<20080528120028.DD0E7570230@home>
May 28 18:00:28 localhost postfix/bounce[18438]: 90DB557022E: sender non-delivery notification: DD0E7570230
May 28 18:00:28 localhost postfix/qmgr[18430]: DD0E7570230: from=<>, size=3073, nrcpt=1 (queue active)
May 28 18:00:28 localhost postfix/qmgr[18430]: 90DB557022E: removed
May 28 18:00:29 localhost postfix/smtp[18437]: DD0E7570230: to=<chel@mail.ru>, relay=smtp.mail.ru[194.67.23.111]:25, delay=0.29, delays=0/0/0.25/0.04, dsn=5.0.0, status=bounced (host smtp.mail.ru[194.67.23.111] said: 501 sender address must match authenticated user (in reply to MAIL FROM command))
May 28 18:00:29 localhost postfix/qmgr[18430]: DD0E7570230: removed

anonymous
()
Ответ на: комментарий от anonymous

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
myhostname = home
myorigin = mail.ru
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relayhost = smtp.mail.ru
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sender_canonical_classes = envelope_sender, header_sender
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_type = cyrus
unknown_local_recipient_reject_code = 550

==============================================

[root@localhost]# cat sasl_passwd

smtp.mail.ru    chel:qwerty

юзер chel - есть на mail.ru ....

что не так?

anonymous
()
Ответ на: комментарий от anonymous

Завел ящик на Яндексе и все заработало. Не думал, что Mail.ru может так поступать .... :)

anonymous
()

>> said: 501 sender address must match authenticated user (in reply to MAIL FROM command)

Говорит о том что адрес отправителя не совпадает с пользователем который аутентифицируется на сервере, необходимо изменить запись в поле MAIL FROM

create file: sender_canonical with: apache@localhost.localdomain youremail@yourisp.something

run: postmap sender_canonical

now insert in your main.cf sender_canonical_maps = hash:/etc/postfix/sender_canonical

postfix reload

После этого поле MAIL FROM поменяется на youremail@yourisp.something

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