On 13.03.2013 11:29, DTNX Postmaster wrote:
> Masquerading is intended for outgoing only, AFAIK, see;
> http://www.postfix.org/postconf.5.html#masquerade_domains
> 
> Why not use 'transport_maps', if you are not delivering any mail 
> locally?
> 
> example.com           relay:[mailbox.example.com]
> 
> You can relay the server name addresses in a similar fashion;
> 
> server.example.com    relay:[mailbox.example.com]

That does not really scale well as it is some 100+ servers with servers
coming and going.

> Or use 'recipient_canonical_maps' to rewrite;
> 
> @server.example.com   @example.com

Same here.

> Which will then be routed to 'mailbox.example.com' using the transport 
> maps. The latter means that the backend server does not need to know 
> about 'server.example.com'.
> 
> When combined with address verification this also removes the need to 
> maintain a list of valid accounts on the relay server itself, since it 
> will check if an account exists before accepting mail for it.

Due to the amount of mail accounts address verification isn't really an
option. We have a list of mail accounts ready thus it should be checked
locally on the relay before accepting the e-mails.

-Gerald

Reply via email to