The “accept” terminology implies a firewall style accept.  This is not quite 
how it functions.  

accept for domain will also reject if not in that domain, and at that point the 
domain is fully accounted for.  Another line attempting to do something for 
that same domain should not have any affect as there is nothing left for it to 
process.

If you want to process different recipients in the same domain with different 
rules, you must specify the “recipient” in the “accept” line to limit the match 
to less than the full domain.

        ED.


> On 2015, Apr 11, at 1:46 PM, jseb <gmane2...@finiderire.com> wrote:
> 
> Hello,
> 
> I answer to myself.
> 
> In fact, swapping two lines in the config file makes the catch-all
> working.
> I don't know why :(
> 
> This one won't work:
> accept from any for domain <domains> alias <aliases> deliver to maildir
> accept from any for domain <domains> virtual <catchall> deliver to maildir
> 
> 
> This one works:
> accept from any for domain <domains> virtual <catchall> deliver to maildir
> accept from any for domain <domains> alias <aliases> deliver to maildir
> 
> 
> Ok… magic ?
> 
> 
> 
> --
> You received this mail because you are subscribed to misc@opensmtpd.org
> To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
> 


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to