On Sat, 2007-06-09 at 14:46 -0700, Aaron Stone wrote:
> On Sat, 2007-06-09 at 22:52 +0200, Michael Monnerie wrote:
> > On Montag, 4. Juni 2007 Aaron Stone wrote:
> > > sub-domain catch-all (@.sub.domain) were both added more recently
> > > (version 2.2.2, iirc).
> > 
> > What's the form of it? Couldn't find anything in the release notes, nor 
> > wiki.
> > Do you mean if I have the domain zmi.at, I insert an entry
> > @.zmi.at      [EMAIL PROTECTED]
> > Then e-mail to all sub-domains of zmi.at would go to that address?
> 
> The pattern is:
> 
> @zmi.at    matches [EMAIL PROTECTED]
> @.zmi.at   matches [EMAIL PROTECTED](.anything)*.zmi.at
> 
> The info is in the 2.2.5 dbmail-users(8) man page (although in my copy
> of that page, the ALIASES section is totally munged :-\ grr). 

The first check if for a domain catch-all at a particular domain, and
then the checks begin looking for sub-domain catch-alls by stripping off
one domain level each time, so [EMAIL PROTECTED] is looked up in
this order (wrt domain catch-alls, of course all other alias checks also
take place):

alias              | deliver_to
-------------------|--------------
@foo.bar.baz.qux   | [whatever goes here...]
@.bar.baz.qux      |
@.baz.qux          |
@.qux              |

Aaron

_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to