1829944 Members
2299 Online
109998 Solutions
New Discussion

Sendmail Problem

 
meekrob
Super Advisor

Sendmail Problem

Hi ,
i still have the same problem with the sendmail on a HP-UX server ,
the mail server is a Novell server ,
i configured the sendmail.cf with specifying the domain in the Dj and specifying the mail server in the DS ,
i also configured my /etc/hosts file ,
when i make a test to send a mail ,for ex sendmail -v toni@test.int , the mail is sent and is not in the mail queue but i did not receive any mail ,

so i don't know where is the mail ?

thank's for your replies
5 REPLIES 5
MarkSyder
Honored Contributor

Re: Sendmail Problem

Sounds like a DNS problem (like the one I had last week). Can you do nslookup on the mail server?

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
john korterman
Honored Contributor

Re: Sendmail Problem

Hi,

the problem I had a couple of weeks ago was that the administrator of the mailserver was testing af new spam filter. Better talk to your mail administrator, since your mail has left the hpux server.

regards,
John K.
it would be nice if you always got a second chance
Coolmar
Esteemed Contributor

Re: Sendmail Problem

You can do the following to test your sendmail....it gives delivery output and might give you more clues as to where the problem is.

#sendmail -v address@domain.com
Steven E. Protter
Exalted Contributor

Re: Sendmail Problem

Shalom,

By default mail servers will not permit relay until they are configured to permit it. The Novell system probably does not permit relay.

Check the log /var/log/mailllog or /var/log/mail/maillog for exactly what happened.

sendmail -v -d8 -d38 someone@some.net

Type some text

.


SEP
Jet Lagged in Costa Mesa
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
Doug O'Leary
Honored Contributor

Re: Sendmail Problem

Hey;

Send out another test email as you've done. Examine the /var/adm/syslog/mail.log file and get the ID from it. There will be two lines for each email looking something like:

Mar 6 00:00:04 host sendmail[27652]: k26504L27652: from=root, size=237, class=0, nrcpts=1, msgid=<200603060500.k26504L27652@host.ndc.company.com>, relay=root@localhost
Mar 6 00:00:04 host sendmail[27654]: k26504L27652: to=root, ctladdr=root (0
/3), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=120237, dsn=2.0.0, stat=
Sent

The mail ID is k26504L27652. That mail id will be used on the novel server as well. Have your novell admin examine the mail logs on the novel system to see what happened to the email.

HTH;

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html