1835429 Members
3762 Online
110078 Solutions
New Discussion

Sendmail

 
SOLVED
Go to solution
Thiyagarajan.s
Frequent Advisor

Sendmail

Hi

I need to change the sender address from the default format user@host.com to somename@mydomain.com.
The domain name can be changed using the parameter DM in sendmail.cf .
for changing the sender name , i read somewhere that we need to build a generic table of dbm format - i have done the same but i ma not able to change the sender name in the outgoing mail.

I need help to change the sender name for outgoing mail.

Thanks in advance
Thiyagarajan
6 REPLIES 6
Julio Yamawaki
Esteemed Contributor

Re: Sendmail

Hi,

There is an easy way:

sendmail -f sendername@domain ....

Try this.


Regards,
Thiyagarajan.s
Frequent Advisor

Re: Sendmail

Thanks Julio

but the mail sent by crontab , how can i do this
Pete Randall
Outstanding Contributor

Re: Sendmail

Can you just change your cron job to use Julio's "sendmail -f sendername@domain .... " syntax?


Pete

Pete
Julio Yamawaki
Esteemed Contributor
Solution

Re: Sendmail

In case of mail sent by crontab (for exemplo, root), you can use alias.
For a more detailed process: http://docs.hp.com/en/B2355-90147/ch04s03.html

Regards,
Thiyagarajan.s
Frequent Advisor

Re: Sendmail

Thanks Julio and pete

Thanks your solution worked well

I am closing the thread , thank you very much once again

Thiyagarajan.s
Frequent Advisor

Re: Sendmail

I got the solution