Operating System - HP-UX
1834150 Members
2162 Online
110064 Solutions
New Discussion

Re: Sendmail - Changing the display name

 
Sebastian Cross
Occasional Contributor

Sendmail - Changing the display name

Hi all,

Using sendmail, I need that the incoming e-mail to be changed:

From
John Doe
to
Notifications

I'm trying to masquerade the display name of the sender in the sendmail configuration. I completed it in the domain name but it is still showing the Name of the sender.
Now I'm getting:

From
John Doe
to
John Doe

but I'm still need to remove John Doe from the display name.
Ant thoughts ?

Thanks in advance!
4 REPLIES 4
Kevin Wright
Honored Contributor

Re: Sendmail - Changing the display name

send the email from the notificacions user account, or use sendmail -f.
Peter Sedivy
New Member

Re: Sendmail - Changing the display name

hi,
could you please exactly specify where do you want to change this mail?
Thanks.
Omnia mea mecum porto
Mel Burslan
Honored Contributor

Re: Sendmail - Changing the display name

If feasible, in the /etc/passwd file, on this user's record, change the geckos field to whatever you wish to display. for example :


OLD RECORD in passwd file
mburslan:*:2294:20:Mel Burslan,Bldg LA-2 room 936,XXX-XXX-XXXX,mburslan@blah.com:/home/mburslan:/usr/bin/ksh


NEW RECORD
mburslan:*:2294:20:Notification,Bldg LA-2 room 936,XXX-XXX-XXXX,mburslan@blah.com:/home/mburslan:/usr/bin/ksh
________________________________
UNIX because I majored in cryptology...
Prasanth B
Trusted Contributor

Re: Sendmail - Changing the display name

Hi,

From the description, you want to redirect mails send to jdoe@example.com to notifications@myexample.com. Is this you are trying to do? If so,

1. add an entry in /etc/mail/aliases file as below

jdoe@example.com : notification@myexample.com

2. execute 'newaliases' to rebuild the aliases db

-PB
Take life as it comes