procmail
[Top] [All Lists]

Re: Help with popclient+procmail+formail...

1997-09-30 22:08:21
Claudio Martos <claudio(_dot_)martos(_at_)micromar(_dot_)com> writes:
I have a trouble and I'm searching for help...

I have a mailbox where I can put: 
any(_dot_)name(_at_)micromar(_dot_)com(_dot_) This box
re-send the e-mails to micromar(_at_)nw(_dot_)com(_dot_)br(_dot_)  The 
problems is that I need
reformat the "to:" field.

Why do you need to modify the To: (and presumably Cc: as well) field?
If <whatever(_at_)micromar(_dot_)com> is a valid address, then it's a valid 
address
(well, mostly).

If you really need to rewrite headers, then use the correct tool: sendmail.
Neither procmail nor formail has any way to iterate across the addresses
in a field, and neither of them understands rfc822 addresses in the way
that sendmail does.

Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Help with popclient+procmail+formail..., Philip Guenther <=