| |||||||||||||||||||||||||||||||
|
> Le Mon 21/01/2008, Wietse Venema disait > > Erwan David: > > > Le Mon 21/01/2008, Moi Maison disait > > > > I'd like to use the relocated maps on front server. > > > > > > > > But when I send a message to a relocated user (whose address does nort > > > > exist anymore on backend server, thus is no more in > > > > relay_recipient_maps) I get the standard error message: > > > > > > > > Recipient address rejected: User unknown in relay recipient table (in > > > > reply to RCPT TO command) > > > > > > > > instead of the relocated message. > > > > > > Adding the relocated map to relay_recipient_maps, it works. > > > > Hmm. Which Postfix version is this? > > > > When I add an address to relocated_maps (and their domain to > > relay_domains) then Postfix will reject the recipient without > > relay_recipient_maps, or with an empty relay_recipient_maps. > > > > rcpt to:<foo> > > 550 5.1.6 <foo>: Recipient address rejected: User has moved to bar > > > > This is with the client not in mynetworks, and with machines at > > work. > > > > Wietse > > > > /etc/postfix/main.cf: > > relay_domains = porcupine.org > > relocated_maps = hash:/etc/postfix/relocated > > > > /etc/postfix/relocated: > > foo bar > > > > That's postfix 2.3.8 > It may also come from my reject_unlisted_recipient high in the > smtpd_restrictions. The relocated_maps response is reported while rejecting a non-existent recipient. In fact, the relocated_maps result has precedence over relay_recipient_maps: The logic is (file smtpd_check.c, function check_rcpt_maps): 1) search the recipient canonical maps 2) search the global canonical maps 3) search the virtual alias maps 4) report "user has moved" from relocated_maps, "user unknown in virtual alias table" and other things that resolve to the error: delivery agent 5) search local_recipient_maps, virtual_mailbox_maps or relay_recipent_maps depending on the recipient domain. So the only explanation I can come up with is that you are using tables in multiple and/or otherwise unexpected places. Wietse
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com