shivanand prabhu tendulker wrote:
>
> Hi Emmerich
>
> Thanks a lot for your help.
>
> I too had similar thing in my mind but I don't know
> how to write the envelope header to message header .
>
> Will it require writing of new rule-set in sendmail
> configuration file?
>
> Please help me out.
Well, here starts the more complicated part. For our solution, we
have written a custom mail delivery agent (MDA), which is used by
sendmail. In sendmail.cf we configured it like that:
Mlocal (more definitions) P=/opt/mailrelay/psender A=$h $f $u
This means, the local delivery (on the ISPs email-server) is done
by psender. psender gets the envelopes from ($f) und the envelopes
recipient ($u). psender adds two lines to the header:
from__ $f
for__ $u
I can see, that here you probably can't use an identical approach
- to much change and fiddle on your ISPs side :-(
We did it on a dedicated server and I forgot, that we also changed
the MDA, sorry.
Bye
Emmerich
--
__________________________________________________________________
Emmerich Eggler [EMAIL PROTECTED]
Eggler Communications +41 (0)79 438 75 11
Wannerstrasse 3/39 +41 (0) 1 463 43 73
CH-8045 Zuerich http://www.eggler.ch
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]