Wade Preston Shearer wrote:
> 1. entries in /etc/aliases will apply to all domains on the system
> since the entry on the left is just a username (and not a
> complete email address), whereas entries in /etc/mail/virtusertable
> are complete email address
virtusertable entries can also route to a user. You put the local email
address in the left column and a local user (or alias to a user) in the
right column.
You can also drop all non-specified mail with virtusertable catchall
entries, e.g.:
@mscis.org error:nouser User Unknown
Or silently delete all non specified emails with a virtusertable entry
and corresponding alias:
virtusertable:
@mscis.org devnull
aliases:
devnull: /dev/null
>> 2. you can direct the mail sent into a script via a pipe in
> /etc/aliases
>>> …correct?
Yes - I would venture a guess that you have at least one such pipe to
make the uphpu mail list work. Often, though you would do something
like this in virtusertable first:
list at domain.com domainlist
and this in aliases:
domainlist: | some.script
Brandon Stout
http://mscis.org