[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[LI] SENDMAIL- How can I re-write the header "RCPT TO:"?



I am using sendmail 8.9.3.

I want to re-write the header "RCPT TO:" of all the out going mails if
they are destined to some particular domains. For example, if a mail is
addressed to someone@xxxxx, the TO has to be re-written as
someone@xxxxx, and if it is meant for anotheruser@xxxxx, it should be
re-written as anotheruser@xxxxxx I have tried the feature
allmasquerading, but it re-writes only FROM field, and what I want is
re-writing TO field. I am using sendmail.mc for creating sendmail.cf
file.

Can anyone please help me out?

Naseer

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.