cancel
Showing results for 
Search instead for 
Did you mean: 

problem sending mail

SOLVED
Go to solution
Stefano_10
Advisor

problem sending mail

I have to send mail from my hp-ux 11i server.
My server is out of domain.
The DNS is not setted.
I have modify /etc/mail/sendmail.cf:
Dj$w.mydomain.com
DSnotesserver.mydomain.com

and /etc/hosts:
xxx.xxx.xxx.xxx notesserver.mydomain.com

i have stopped and started sendmail.
I send mail but it isen't arrived.

In the /var/adm/mail/mail.log i have these messages:
Dec 4 10:34:41 localserver sendmail[24995]: KAA24995: from=root, size=5, class=0, p
ri=30005, nrcpts=1, msgid=<200212040934.KAA24995@localserver.mydomain.com>, relay
=root@localhost
Dec 4 10:34:41 localserver sendmail[24995]: KAA24995: to=utente@mydomain.com, del
ay=00:00:02, mailer=relay, stat=queued

Which is the problem?
What have i to do?
Thanks
Stefano
10 REPLIES
Justo Exposito
Esteemed Contributor

Re: problem sending mail

Hi Stefano,

I think that the problem are in the line:
DSnotesserver.mydomain.com change it by
DS notesserver.mydomain.com
You need a white space between DS and your server name.

Then reboot your sendmail daemon.

Regards,

Justo.
Help is a Beatiful word
Stefano_10
Advisor

Re: problem sending mail

I have tried but nothing is changed.
The mail doesn't arrive.
Stefano
T G Manikandan
Honored Contributor

Re: problem sending mail

YOu should be able to do a
nslookup to the smtp server from the unix machine.

#nslookup notesserver.mydomain.com
Stefano_10
Advisor

Re: problem sending mail

Questo ?? il risultato:

# nslookup notesserver.mydomain.com
Using /etc/hosts on: localserver

looking up FILES
Name: notesserver.mydomain.com

Address: xxx.xxx.xxx.xxx

U.SivaKumar_2
Honored Contributor

Re: problem sending mail

Hi,

Why use hostname ?

This is enough
Dj$w.
DS[xx.xx.xx.xx]

where xx.xx.xx.xx is the noteserver Ip address
the brackets are must

regards.
U.Sivakumar



Innovations are made when conventions are broken
Stefano_10
Advisor

Re: problem sending mail

Also with these changes the problem perists.
Fabrice Meynard
Frequent Advisor
Solution

Re: problem sending mail

Hi,

what do you have in the file /etc/nsswitch.conf ?
Try to configure in this file the line :
hosts: files
What is the result of sendmail -v utente@mydomain.com and sendmail -v root@localserver ?
What is the load average of your server ?

Fabrice
Justo Exposito
Esteemed Contributor

Re: problem sending mail

Hi Stefano,

You can create the file /etc/mail/sendmail.mc file in the same directory including the lines:
LOCAL_CONFIG
define(`SMART_HOST', `yourexchangeserver')dnl

You must stop and start the sendmail in order to activate the changes.

Regards,

Justo.
Help is a Beatiful word
Stefano_10
Advisor

Re: problem sending mail

# sendmail -v user@mydomain.com
mydomain.com: Name server timeout
user@mydomain.com... Transient parse error -- message queued for future delivery
jjjj
.
user@mydomain.com... queued
# sendmail -v user@localhost
ppp
.
user@localhost... Connecting to local...
user@localhost... Sent
# cat /etc/nsswitch.conf
cat: Cannot open /etc/nsswitch.conf: No such file or directory


I have also tried to create
sendmail.mc
file but i'm not able to send mails and the messages are also the same of above.
Stefano_10
Advisor

Re: problem sending mail

I've setted the file /etc/nsswitch.conf with hosts: file
as said by Fabrice
and finally i can send mail.
thanks to all and specially to Fabrice.
Bye
Stefano