procmail
[Top] [All Lists]

Re: Inclusive recipe

2007-10-24 10:18:26
On Wed, Oct 24, 2007 at 10:01:58AM -0700, Rem P Roberti wrote:

On 2007.10.24 11:56:49 +0000, Charles Gregory wrote:
On Wed, 24 Oct 2007, Rem P Roberti wrote:

I'm new to Procmail and would like to know the best way
to create a recipe which has a number of different email
addresses going to one mailbox.  I would have no probem
creating a bunch of different recipes for each address, but
that seems silly.

Why not use /etc/aliases to alias the addresses to a single
user and use their default mailbox?

Anyway, this solution is an interesting one, but I would still
like to learn the correct syntax for accomplishing my goal via a
straight Procmail recipe.

Are the addresses all local users on your system?  If so, in
the systemwide /etc/rcfile:

  DROPPRIVS = yes

  :0:
  * LOGNAME ?? ^^(foo|bar|baz)^^
  mailbox

-- 
dman
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>