|
OpenSuse: Почтовик - странный редирект
#36203475
Ссылка:
Ссылка на сообщение:
Ссылка с названием темы:
|
|
|
|
Доброго времени суток!
"Посчастливилось" мне админить почтовый сервер на ОпенСусь на котором накручен Cyrus, Sieve, postfix, postgrey мож чото еще есть я не в курсе.
Почтовые серваки никогда не админил и не настраивал, есдинственное, что по логам можно что-то понять))
Один из сотрудников попросил сделать ему редирект с сохранением писем на нашем сервере и отправку на другой, внешний ящик.
Но возникает проблема - на внешний оно все нормально доходит, а вот на нашем не всегда сохраняются копии, толи они куда то деваются.
Вот кусок лога, отправки письма с user@gmail.com на наш ящик user@local.local и переадресацию на внешний redirect@another.com.
У пользователя есть alias - alias@local.local:
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44.
postfix/smtpd[ 26317 ]: connect from xxx.google.com[ 209 .xxx.xxx.2x1]
postgrey[ 26221 ]: action=pass, reason=client whitelist, client_name=xxx.google.com, client_address= 209 .xxx.xxx.2x1, sender=user@gmail.com, recipient=alias@local.local
postfix/smtpd[ 26317 ]: 6950450A560: client=xxx.google.com[ 209 .xxx.xxx.2x1]
postfix/cleanup[ 27603 ]: 6950450A560: message-id=<xxx@mail.gmail.com>
postfix/qmgr[ 26036 ]: 6950450A560: from=<user@gmail.com>, size= 3821 , nrcpt= 1 (queue active)
esets_cli[ 27607 ]: note[6bd70000]: ESETS Command Line Interface module, version 2 . 71 . 9 , (C) 2006 ESET, spol. s r.o.
esets_cli[ 27607 ]: note[6bd70000]: Scan sub-directories - scan_subdir = yes
esets_cli[ 27607 ]: note[6bd70000]: Syslog logging enabled - syslog_enabled = yes
esets_cli[ 27607 ]: note[6bd70000]: Syslog facility - syslog_facility = 2
esets_daemon[ 14985 ]: summary[3a8901c5]: vdb= 16256 , agent=cli, msgid=none, object="file", name=".../amavis/tmp/amavis-xxx/parts/p001", virus="is OK", action="", info="", lines= 0
esets_daemon[ 14985 ]: summary[3a8901c5]: vdb= 16256 , agent=cli, msgid=none, object="file", name=".../amavis/tmp/amavis-xxx/parts/p002", virus="is OK", action="", info="", lines= 0
postfix/smtpd[ 27608 ]: connect from localhost[ 127 . 0 . 0 . 1 ]
postfix/smtpd[ 27608 ]: lost connection after CONNECT from localhost[ 127 . 0 . 0 . 1 ]
postfix/smtpd[ 27608 ]: disconnect from localhost[ 127 . 0 . 0 . 1 ]
postfix/smtpd[ 27609 ]: connect from localhost[ 127 . 0 . 0 . 1 ]
postfix/smtpd[ 27609 ]: 48EAE50A7A6: client=localhost[ 127 . 0 . 0 . 1 ]
postfix/cleanup[ 27603 ]: 48EAE50A7A6: message-id=<xxx@mail.gmail.com>
postfix/qmgr[ 26036 ]: 48EAE50A7A6: from=<user@gmail.com>, size= 4507 , nrcpt= 1 (queue active)
postfix/smtpd[ 27609 ]: disconnect from localhost[ 127 . 0 . 0 . 1 ]
amavis[ 23934 ]: ( 23934 - 05 ) Passed CLEAN, [ 209 .xxx.xxx.2x1] [ 209 .xxx.xxx.2x1] <user@gmail.com> -> <alias@local.local>, Message-ID: <xxx@mail.gmail.com>, mail_id: xxx, Hits: 3 . 486 , 2546 ms
postfix/smtp[ 27605 ]: 6950450A560: to=<alias@local.local>, relay= 127 . 0 . 0 . 1 [ 127 . 0 . 0 . 1 ], delay= 3 , status=sent ( 250 2 . 6 . 0 Ok, id=xxx, from MTA([ 127 . 0 . 0 . 1 ]: 10025 ): 250 Ok: queued as 48EAE50A7A6)
postfix/qmgr[ 26036 ]: 6950450A560: removed
postfix/pickup[ 21476 ]: C8D0350A7DC: uid= 96 from=<user@gmail.com>
postfix/cleanup[ 27603 ]: C8D0350A7DC: message-id=<xxx@mail.gmail.com>
postfix/qmgr[ 26036 ]: C8D0350A7DC: from=<user@gmail.com>, size= 4763 , nrcpt= 1 (queue active)
postfix/pipe[ 27615 ]: 48EAE50A7A6: to=<user@local.local>, orig_to=<alias@local.local>, relay=cyrus, delay= 0 , status=sent (mail.local.local)
postfix/qmgr[ 26036 ]: 48EAE50A7A6: removed
esets_cli[ 27621 ]: note[6be50000]: ESETS Command Line Interface module, version 2 . 71 . 9 , (C) 2006 ESET, spol. s r.o.
esets_cli[ 27621 ]: note[6be50000]: Scan sub-directories - scan_subdir = yes
esets_cli[ 27621 ]: note[6be50000]: Syslog logging enabled - syslog_enabled = yes
esets_cli[ 27621 ]: note[6be50000]: Syslog facility - syslog_facility = 2
esets_daemon[ 14985 ]: summary[3a8901c6]: vdb= 16256 , agent=cli, msgid=none, object="file", name=".../amavis/tmp/amavis-xxx/parts/p001", virus="is OK", action="", info="", lines= 0
esets_daemon[ 14985 ]: summary[3a8901c6]: vdb= 16256 , agent=cli, msgid=none, object="file", name=".../amavis/tmp/amavis-xxx/parts/p002", virus="is OK", action="", info="", lines= 0
postfix/smtpd[ 27609 ]: connect from localhost[ 127 . 0 . 0 . 1 ]
postfix/smtpd[ 27609 ]: 3536450A7A6: client=localhost[ 127 . 0 . 0 . 1 ]
postfix/cleanup[ 27603 ]: 3536450A7A6: message-id=<xxx@mail.gmail.com>
postfix/qmgr[ 26036 ]: 3536450A7A6: from=<user@gmail.com>, size= 4935 , nrcpt= 1 (queue active)
postfix/smtpd[ 27609 ]: disconnect from localhost[ 127 . 0 . 0 . 1 ]
amavis[ 23408 ]: ( 23408 - 10 ) Passed CLEAN, [ 209 .xxx.xxx.2x1] <user@gmail.com> -> <redirect@another.com>, Message-ID: <xxx@mail.gmail.com>, mail_id: xxx, Hits: 4 . 073 , 2445 ms
postfix/smtp[ 27605 ]: C8D0350A7DC: to=<redirect@another.com>, relay= 127 . 0 . 0 . 1 [ 127 . 0 . 0 . 1 ], delay= 3 , status=sent ( 250 2 . 6 . 0 Ok, id=xxx, from MTA([ 127 . 0 . 0 . 1 ]: 10025 ): 250 Ok: queued as 3536450A7A6)
postfix/qmgr[ 26036 ]: C8D0350A7DC: removed
postfix/smtp[ 27624 ]: 3536450A7A6: to=<redirect@another.com>, relay=mx.another.com[xxx.1xx. 130 .xxx], delay= 1 , status=sent ( 250 OK id=xxx)
postfix/qmgr[ 26036 ]: 3536450A7A6: removed
postfix/smtpd[ 26317 ]: disconnect from xxx.google.com[ 209 .xxx.xxx.2x1]
вот кусок скрипта, который выполняет редирект:
В чем может быть проблема? спасибо
|
|
|