[plug] Virtusertable
Anthony J. Breeds-Taurima
tony at cantech.net.au
Sun Apr 29 10:50:16 WST 2001
On Sat, 28 Apr 2001, Brian Tombleson wrote:
> Just a quick question on sendmail config ..
>
> If you add a catch-all address in the virtusertable like so:
>
> @mydom.com.au postmaster
>
> .. where mydom.com.au is the domain I'm handling normally and have valid
> users at.
>
> Will it only get to that catch-all if the delivery address is not valid
> locally, or does this take precenence? The doco I've read isn't very clear.
Nup if you add that line then ALL mail to ANYONE at mydom.com.au will go to
postmaster.
I'm fairly sure that there is a sendmail option for sending all "unknown
address" to a perticular account ..... hang on .... Nup was wrong.
In that case your could create a virtusertable file like
acb at mydom.com.au abc at localhost
def at mydom.com.au def at localhost
ghi at mydom.com.au ghi at localhost
@mydom.com.au postmaster at localhost
Than anymail that doesn't match the first 3 rules will get dumped into the
postmaster account.
This would mean one entry per user BUT they couls be generated from the passwd
file. and you could have a similar list for mailinglists.
HTH
Yours Tony.
/*
* "The significant problems we face cannot be solved at the
* same level of thinking we were at when we created them."
* --Albert Einstein
*/
More information about the plug
mailing list