procmail
[Top] [All Lists]

splitting Delivered-to headers

2008-03-08 12:06:09
Sorry if this is too simple but I've looked for answers and cannot seem
to get exactly what I need.

There is one server receiving mail for several users who have accounts on the
server. I am using fetchmail to fetch these to a local machine with one
user (me). I need to filter these according to the Delivered-To header
and then into separate boxes according to the To or From header.

My first thought was to do 

:0
* ^Delivered-to:account1(_at_)server1(_dot_)net
{
        secondary recipes
}

:0
* ^Delivered-to:account2(_at_)server1(_dot_)net
{
        secondary recipes
}

Is it possible to do an INCLUDERC within the braces so that I can keep
the recipes in a separate file?

-- 
Regards, John

____________________________________________________________
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>