1833007 Members
3022 Online
110048 Solutions
New Discussion

Mail configuration

 
SOLVED
Go to solution

Mail configuration

Regards.
When i send mail, the message only shows the name of the user whose send mail.
I want to know if its possible to know also the name of the server where the message are from.

Tks a lot, and i hope the message is clear and understandably...
5 REPLIES 5
Geoff Wild
Honored Contributor

Re: Mail configuration

You should be able to see that in the "headers".

IE in Outlook, "View" -> "Options"

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Steven E. Protter
Exalted Contributor
Solution

Re: Mail configuration

Shalom,

Modify the file sendmail.cf

Find the line # Dj ...

Copy the line

Djdomain.net

That will make all mail appear to be from username@domain.net

Modify accordingly.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: Mail configuration

Ok, i see the #Dj line, but my question is that line tell me from which server the message are???

I have HP-UX...
Yogeeraj_1
Honored Contributor

Re: Mail configuration

hi Alberto,

As rightly mentioned by Geoff above, the only reliable way to find that information is to view the message header.

The mail protocol as it is allows us to specify any name as sender...

hope this helps!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Steven E. Protter
Exalted Contributor

Re: Mail configuration

Shalom,

No the Dj change I recommended by itself will not let you know from which server the mail came from. the mail.log file on the receiving server will contain enough details to determine it.

If you want the email address itself to identify the sender another tactic is possible.

in /etc/rc.config.d/netconf

Change the hostname of the server from:

server
to
server.your.net
#your.net is your domain name

Then all outbound mail will have the following adress:
username@server.your.net

This won't work if the domain name exceeds 8 characters except on hpux 11 v2 with the expanded hostname attachment.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com