How to filter the outbound mails
James McDonald
james
Mon May 17 12:01:02 PDT 2004
Swapana Ghosh wrote:
>Hi
>
> we have few domains which we have migrated from Cobalt server to
> redhat 9.0 server. We are using the 'sendmail' as MTA.
>
> From the users under domain, when we are sending the mail, it is
>reaching to the destination mailbox as <user>@www.domain..
>
> The inbound mails , i had taken care of through /etc/procmailrc , and
>converting the 'www at domain' to '@domain'...
>
> I want, when the users will send the mail the receiver will get the
>mails from the users as 'user at domain', not as 'user at www.domain'..
>
> How i will convert the outbound mails for the above result? Can it
>be possible through 'senmail.cf' file? Help is really appreciated..
>
>
Swapana you might want to look at using the m4 system instead of editing
sendmail.cf directly. It has all the options you are looking for and an
example of how to generate the .cf file -->
http://sendmail.org/m4/intro.html
This is the page on masquaradiing -->
http://sendmail.org/m4/masquerading.html
and this is the link to the index --> http://sendmail.org/m4/readme.html
More information about the Linux-users
mailing list