[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
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, not FROM. I am using sendmail.mc for creating sendmail.cf file.
Can anyone please help me out?
Naseer
---
Send e-mail to 'ilugc-request@xxxxxxxxxxxxxxxxxx' with 'unsubscribe'
in either the subject or the body to unsubscribe from this list.