Mouss wrote:
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.

Thanks - yes, additional tables, maps, etc. would make the sql coding far simpler.


> 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...@...
(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).

Thank you - this will work well. I'll use a catchall mailbox to make sure that I don't generate an NDR.

thanks for your help!



Reply via email to