Operating System - HP-UX
1834278 Members
2194 Online
110066 Solutions
New Discussion

Re: semdmail relay not working.

 
CG Radadia_1
New Member

semdmail relay not working.

Hi:

I have add the DSmail.server.com as smart relay server. However, i could not send my mail to my email address. I can set the mail as root on locally it working..

Do you know how do I check that my server ip is added in the relay mail server?

Appriciated you help.

Thansk,
CG/ 905 502 4493.
10 REPLIES 10
Babu A
Frequent Advisor

Re: semdmail relay not working.

Try to send an email using verbose mode.

# sendmail -v

check the output and looks for the errors.

Hope this will help you.

Babu
CG Radadia_1
New Member

Re: semdmail relay not working.

# sendmail -v cg.radadia@intria.com
May 18 11:56:55 tunixs01 sendmail[1368]: [ID 702911 mail.alert] unable to qualify my own domain name (tunixs01) -- using short name
WARNING: local host name (tunixs01) is not qualified; see cf/README: WHO AM I?


I got this message.

And, no mail recieved to me.
Patrick Wallek
Honored Contributor

Re: semdmail relay not working.

For the "unable to qualify my own domain" error you need to set your domain name via the Dj macro.

The line may be commented, and probably looks like:

#Dj$w.Foo.com

You need to change this to:

Dj$w.yourdomain.com

(where yourdomain.com is whatever your correct domain name is.)

If sendmail is running, stop and restart it.

Then try sending mail again.
CG Radadia_1
New Member

Re: semdmail relay not working.

Mu eamil domain is intria.com.

Should I set to D$w.intria.com?

I have also set the DSsmartrealy the copy of the config file is as follow:

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
Dj$w.intria.com
# host/domain names ending with a token in class P are canonical
CP.

# "Smart" relay host (may be null)
#DS
DSmailserver.intria.com

-----------------------------------

Please advise.
Ivan Ferreira
Honored Contributor

Re: semdmail relay not working.

>>> Should I set to D$w.intria.com?
>>> Dj$w.intria.com

Yes

>>> DSmailserver.intria.com

It's correct, but your server must be able to resolve mailserver.intria.com correctly. If you cannot resolve mailserver.intria.com, you will have problems forwarding mail to the smart host.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
CG Radadia_1
New Member

Re: semdmail relay not working.

hi:

On my server it get resolve the smart server address.
# telnet mailserver.intria.com 25
Trying 10.160.126.76...
Connected to mailserver.
Escape character is '^]'.
helo220 i3-twpc-syslog1.intria.com ESMTP Sendmail 8.11.6/8.11.6; Fri, 18 May 2007 12:54:37 -0400

my relay server is i3-twpc-syslog1.intria.com.
Does any change I have to make to allow the mail to send to mail server vai smart relay server?

please advise.
Thanks
mavrick
Regular Advisor

Re: semdmail relay not working.

Hi,

set the smart relay server as

DSi3-twpc-syslog1.intria.com

CG Radadia_1
New Member

Re: semdmail relay not working.

Thansk you very much all you guys to helping me to config sendmail.

While using mailx and my email addresss it get return the mail from smart server.

Do I have to set authorisation on the relay server?

Thansk again.
mavrick
Regular Advisor

Re: semdmail relay not working.

Hi,

you may try with no authorisation options.
It may be like Privateoptions or public options.
Patrick Wallek
Honored Contributor

Re: semdmail relay not working.

It is possible that your relay server needs to be set up to allow your HP-UX machine to relay mail through it.

Most e-mail servers do NOT allow relaying by default.