Hi group ,
Whish you all Happy New Year.
I using Fedora core 2 with working sendmail server sendmail-8.12.11-4.6
I want to change the From: email address of the email when the mail goes out
from the server. For this I refer the following doc. but it is not working as
what I want ,
http://tldp.org/HOWTO/Sendmail-Address-Rewrite-2.html
As per the doc I done the following steps
1) confirm my internal and external mails are working properly.
2) configure the relay by "SMART_HOST" and confirm that mail is going
outside.
define(`SMART_HOST',`mail-out.your.provider')
3) Then I define the genericsdomain and genericstable parameter at the bottom
of the file as
FEATURE(masquerade_envelope)
FEATURE(genericstable, `hash -o /etc/mail/genericstable')
GENERICS_DOMAIN_FILE(`/etc/mail/genericsdomain')
4) Then I check my hostname by "hostname -f" and put the host in file
/etc/mail/genericsdomain
here my host name is "jayesh.test.com"
5) Then I configure the /etc/mail/genericstable file as followes.
demo1 [EMAIL PROTECTED]
demo2 [EMAIL PROTECTED]
6) Both the demo1 & demo2 are the system users,
7) when I configure email client for demo1 , I can sent the local email to
other user properly. But when I send the email to any of the other external
domain , the From address is not changing . I got the mail on the remote
external id but no change in From: address.
Do anybody know what I am missing here. for From: address rewriting.
Thanks & Regards
Jayesh shinde
---------------------------------
Never miss a thing. Make Yahoo your homepage.
[Non-text portions of this message have been removed]