[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail



* vinz (vince@webonline.co.za) [030809 05:24]:
> here there me again...the linux lamer :D
> 
> I need serious help with writing a procmail recipe or getting some tutorial
> on procmail coding!
> 
> What I need to do:
> I've got default@domain.com <- my catch all mail box.
> I got fetchmail to work... finally.  it's downloading all the mail form
> default@domain.com with root.
> I need a recipe to actually say... "OK.. this email is to vinz@domain.com
> and forward to mailbox vinz. and carry on doing that for a list of say 5
> mailboxes a-e.  and then all the email that doesn't belong to a mailbox just
> send to the postmaster@domain.com mailbox.

Have you looked at man procmailex?

Also, shouldn't fetchmail be able to do this directly, instead of having
to do it in 2 steps like this?  This is generally called "maildrop"
operation.  I know getmail can do it, and I think fetchmail can, too.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
"Extremism in the defense of liberty is no vice.
Moderation in the pursuit of justice is no virtue."  -- Barry Goldwater 

Attachment: signature.asc
Description: Digital signature


Reply to: