Jeff Weinberger a écrit :
> [snip]
> 
> This is helpful, but I still need the query to take all the other
> alias domains into account. So, I need the IF condition, or a second map.
> 

I don't think so. I used this. I don't remember the details, but the
idea is that you can often get rid of flow control (if, ...) using
additional tables.

> Thank you for your help...it's informative as always!
> 
> if the wildcard alias will produce the result I need then this is
> resolved.
> 

@example.org    @example.com

works, but smtpd will accept mail to anyth...@example.org
(virtual_alias_maps are used for recipient validation during the smtp
transaction). if all addresses are valid (catchall or whatver), this is
ok. otherwise, it's bad. in any case, you must make sure that mail isn't
bounced after it is accepted (queued). This is what happens by default
(after virtual alias expansion, a delivery error occurs, and an NDR is
generated).

Reply via email to