Stephan Gran wrote:

> My idea is that the simplicity should probably rule here.  These usually
> already have an entry in /etc/aliases, redirecting to root.  Why not
> just put this in /etc/aliases instead:
> 
> daemon:  :fail: No mail to system accounts
> bin:     :fail: No mail to system accounts
> sys:     :fail: No mail to system accounts
> sync:    :fail: No mail to system accounts
> games:   :fail: No mail to system accounts
[etc]

We used to do something like that on cus.cam.ac.uk, but the list was
always getting out of date. We now have

  condition = ${if match{$home}{^/(home|group)/}{yes}{no}} 

on the userforward and localuser routers (and use verify=recipient
in the RCPT ACL, of course). The effect is to implement a rule that
a userid that has a home directory in a weird place, and _isn't_ in
the system aliases file, is an invalid local part.

-- 
Chris Thompson
Email: [EMAIL PROTECTED]

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to