Здравствуйте!
postfix+cyrus-imapd+sasl
Стоит 2 сервака:
1.xxx.ru - релей (postfix)
2.xxx.ru - непосредственно для подключения юзеров и хранит почту. (postfix+cyrus-imapd+sasl)
Пользоватей много и у всех все ок.
Создаю ящик таким путем:
1.Добавляем пользоваеля в /etc/postfix/virtual на 1.xxx.ru
zaharova@1.xxx.ru zaharova@2.xxx.ru
zaharova@xxx.ru zaharova@2.xxx.ru
2.Создаем запись на 2.xxx.ru
[root@2 /]# /usr/sbin/saslpasswd2 zaitsev
Password *****
Again (for verification) *****
3.Создаем почтовый ящик
[root@2 /]# su cyrus
bash-3.1$ /usr/lib/cyrus-imapd/cyradm localhost
IMAP Password: *****
localhost.localdomain> cm user.zaitsev
localhost.localdomain> exit
bash-3.1$ exit
[root@2 /]# /etc/init.d/cyrus-imapd restart
4.Добавляем пользоваеля в /etc/postfix/virtual на 2.xxx.ru
zaitsev@xxx.ru zaitsev@2.xxx.ru
5.На 2.xxx.ru
[root@2 /]# /usr/sbin/postmap /etc/postfix/virtual
[root@2 /]# /usr/sbin/postfix reload
6.На 1.xxx.ru
[root@1 /]# /usr/sbin/postmap /etc/postfix/virtual
[root@1 /]# /usr/sbin/postfix reload
После всего этого ящик создается и вроде все ок.
НО!!! Почта из вне на эти ящики не приходит.
В настройках вроде все везде ок, тк у других все замечательно работает...
При том в логах maillog на 2.xxx.ru пишет, что нет такого адреса на сервере (550).
This is the Postfix program at host 1.xxx.ru.
I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the message returned below.
The Postfix program
<shpak@2.xxx.ru>: host 172.16.18.9[172.16.18.9] said: 550
<shpak@2.xxx.ru>: Recipient address rejected: User unknown in local
recipient table (in reply to RCPT TO command)
Reporting-MTA: dns; 1.xxx.ru
Arrival-Date: Wed, 31 Mar 2010 16:42:23 +0400 (MSD)
Final-Recipient: rfc822; shpak@2.xxx.ru
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; host 172.16.18.9[172.16.18.9] said: 550
<shpak@2.xxx.ru>: Recipient address rejected: User unknown in local
recipient table (in reply to RCPT TO command)
Нароооод....Помоогите...)
