Page 1 of 1

Catch all email by conditions

Posted: Tue Apr 14, 2015 1:30 pm
by photographer
Catch all email by conditions

Prompt me, please, how should looks Exim rules for catch all emails which meet to condition. For example. account [email protected] should catch all emails *.[email protected].
More extendet version
[email protected] - catch *.[email protected]
[email protected] - catch *.[email protected]
...

Thanks you.

Re: Catch all email by conditions

Posted: Wed Apr 15, 2015 8:16 am
by skurudo

Re: Catch all email by conditions

Posted: Wed Apr 15, 2015 9:48 am
by photographer
Thanks a lot.

For my case the best solution is:

dest_regex:
driver = redirect
domains = domain.my : alias.domain.my
local_parts = ^(demo-|real-)[a-zA-Z0-9]{2,3}\$
allow_fail
allow_defer
data = [email protected]

add before alias' rule

Re: Catch all email by conditions

Posted: Wed Apr 15, 2015 11:42 am
by skurudo
photographer, can I ask, why need this? It's company thing? I'm just curious.

Re: Catch all email by conditions

Posted: Wed Apr 15, 2015 12:11 pm
by photographer
skurudo wrote:photographer, can I ask, why need this? It's company thing? I'm just curious.
Clients pay me for it, I am not asking why he wants it ;)

Re: Catch all email by conditions

Posted: Wed Apr 15, 2015 12:16 pm
by skurudo
photographer wrote:Clients pay me for it, I am not asking why he wants it ;)
I see: anything you can pay for ;-)