[EMAIL PROTECTED] (Michael Neubert) writes:
> I have a question concerning the FROM: line in the mail header. I
> think it should be a very common problem, but I can't find the
> answer in the FAQ's. Maybe someone could direct me to the right
> document....
>
> Here is my configuration:
>
> external:
> We receive our mails via fetchmail from the 1.ISP. We send our
> mails to a 2.ISP via serialmail.
>
> Mails which are deliverd external, show in the FROM-line:
> [EMAIL PROTECTED] It should be: [EMAIL PROTECTED]
>
> internal:
> Our Clients are WindowsXXX, they receive their mails from our
> pop3-server. They send their mail to our smtp-server. I found in the
> FAQ's, how to setup the changing of the FROM line, when using
> qmail-inject. But that won't work with smtp.
I have a situation where mail needs to go out via different servers
depending on a number of criteria. For this I use a custom written
post processor which reads messages from ~alias/pppdir, rewrites the
headers and writes them to another maildir for delivery with
serialmail. Maybe you could use a similar approach.
There is a new package available from the DJB, called mess822, which
should make that task easier:
<http://cr.yp.to/software.html> look for mess822
There is also useful info at:
<http://cr.yp.to/immhf.html>
Maybe someone else has more specific help?
--
Manfred Bartz