* [Comm] postfix relay mails
@ 2005-05-08 12:44 Serge
2005-05-11 7:20 ` Vladimir V Kamarzin
0 siblings, 1 reply; 2+ messages in thread
From: Serge @ 2005-05-08 12:44 UTC (permalink / raw)
To: community
Есть гейт смотрещий в инет и влокалку. На нем есть почтовик обслуживающий
домен XXX.com. В локальной сети находится 2-й mail сервер, принимающий почту
для пользователей вида aaa/ccc@XXX.com (домен тот же)
Нужно: организовать перенаправление почты для пользователей (не всех, только
вида aaa/ccc@XXX.com) с гейта на внутренний почтовик
Проблемма: при отсылке письма пользователю aaa/ccc@XXX.com почтовый сервер
(гейт) выдает ошибку 550
Recipient access rejected: user unknown in local recipient table
мои настройки:
main.cf
mydestination = localhost, $myhostname, localhost.$mydomain,
$config_directory/mydestination
unknown_local_recipient_reject_code = 550
mynetworks = $config_directory/mynetworks
relayhost = smtp:[10.6.8.16]
relay_recipient_maps = hash:/etc/postfix/relay_recipients
файл relay_recipients
aaa/ccc@XXX.com x
postmap relay_recipients делал
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] postfix relay mails
2005-05-08 12:44 [Comm] postfix relay mails Serge
@ 2005-05-11 7:20 ` Vladimir V Kamarzin
0 siblings, 0 replies; 2+ messages in thread
From: Vladimir V Kamarzin @ 2005-05-11 7:20 UTC (permalink / raw)
To: community
>>>>> On 08 May 2005 at 18:44 Serge writes:
S> Есть гейт смотрещий в инет и влокалку. На нем есть почтовик обслуживающий
S> домен XXX.com. В локальной сети находится 2-й mail сервер, принимающий почту
S> для пользователей вида aaa/ccc@XXX.com (домен тот же)
S> Нужно: организовать перенаправление почты для пользователей (не всех, только
S> вида aaa/ccc@XXX.com) с гейта на внутренний почтовик
А может стоит воспользоваться regexp_table?
S> Проблемма: при отсылке письма пользователю aaa/ccc@XXX.com почтовый сервер
S> (гейт) выдает ошибку 550
S> Recipient access rejected: user unknown in local recipient table
Похоже, что постфикс даже не пытался смотреть в relay_recipient_maps
S> мои настройки:
S> main.cf
S> mydestination = localhost, $myhostname, localhost.$mydomain,
S> $config_directory/mydestination
S> unknown_local_recipient_reject_code = 550
S> mynetworks = $config_directory/mynetworks
S> relayhost = smtp:[10.6.8.16]
relay_transport = smtp:[10.6.8.16]
S> relay_recipient_maps = hash:/etc/postfix/relay_recipients
P.S. А пойдёмте в http://lists.osdn.org.ua/wws/arc/isp-list ?
--
WBR, Vladimir V. Kamarzin.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-11 7:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-08 12:44 [Comm] postfix relay mails Serge
2005-05-11 7:20 ` Vladimir V Kamarzin
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git