procmail
[Top] [All Lists]

Re: Using Procmail and Fetchmail to distribute incoming mail to local users

2000-11-15 03:56:18
On Nov 15, 2000 at 13:13, Eugene Geldenhuys wrote:

The closest I got was the following:

# Procmail recipe file to sort incoming mail to individual mailboxes
#
:0:
* ^TO_\/(.*)@                 
* MATCH ?? ()\/[^(_at_)]+
# | sed -e 's/[^a-z0-9_-]//g' 
$MATCH

I use this:

:0:
* ^To:.*user@
! user(_at_)localhost

Which sucks, of course. Something better might be:

:0:
* ^TOuser
! user(_at_)localhost

Any better suggestions?

-- 
Satya. <URL:http://satya.virtualave.net/>
US-bound grad students! For pre-apps, see <URL:http://quickapps.cjb.net/>
All programmers are optimists.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail