1831565 Members
3991 Online
110025 Solutions
New Discussion

Sendmail error.

 
Amado A. Diaz Jr.
Occasional Advisor

Sendmail error.

I tried testing sendmail by sending an email to another email account, and it seems as if nothing is happening. I recieve no error message when I send the email, and it looks as if everything is being sent properly, yet it does not send the email. I know I am typing in all required information correctly, and it works when I try sendmail on other servers. What could be wrong?

I am currently using sendmail 8.12.10
Any advice would be greatly appreciated.
Thanks!

-Amado
11 REPLIES 11
Fred Ruffet
Honored Contributor

Re: Sendmail error.

Could you show utput from /var/adm/syslog/mail.log ?

regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Todd McDaniel_1
Honored Contributor

Re: Sendmail error.

Amado, can you excerpt from /var/adm/syslog/mail.log?

Show us what you see, it will help.

Also, is this an interal user or external?

Check /etc/passwd and SAM->users to ensure the user is Active, not disabled.
Unix, the other white meat.
Patrick Wallek
Honored Contributor

Re: Sendmail error.

Check the /var/adm/syslog/mail.log file and see what errors are reported there.
Steven E. Protter
Exalted Contributor

Re: Sendmail error.

If for some reason the log is unavailable run a diagnostic.

sendmail -v -d8.99 -d38.99 someone@some.net
type some text

.


This will get you diagnostics and errors.


mailq

sendmail -v -q verbose push of the mail queue


This will help.

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
Amado A. Diaz Jr.
Occasional Advisor

Re: Sendmail error.

"Below is a sample session of trying to send an email."

>> sendmail -v -d8.99 -d38.99 myname@myemail.net

openmap() dequote:dequote NULL: valid
openmap() host:host NULL: valid
getcanonname(my_domain_name), trying dns
dns_getcanonname(my_domain_name, trymx=1)
dns_getcanonname: trying my_domain_name. (A)
YES
dns_getcanonname: my_domain_name
getcanonname(my_domain_name), found

Subject: Test
.

>> mailq

/var/spool/mqueue is empty
Total requests: 0


sendmail -v -q verbose push of the mail queue
>> sendmail -v -q
>>

"Next is a tail of my /var/adm/syslog/mail.log"

Jun 24 14:25:04 sendmail[22383]: File descriptors missing on startup: stderr; Bad file number
Jun 24 14:25:04 sendmail[22383]: i5OIP4QZ022383: from=root, size=515, class=0, nrcpts=1, msgid=<200406241825.i5OIP4QZ022383@hostname.domain>, relay=root@localhost
Jun 24 14:25:05 sendmail[22383]: i5OIP4QZ022383: to=root, ctladdr=root (0/3), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30515, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
RAC_1
Honored Contributor

Re: Sendmail error.

By any chance are you hitting nfile kernel parameter??

sar -v 3 3
glance -t

dmesg

Can you start /sbin/init.d/sendmail start
and then mailx -s "" xxx@yyy.com < "something"

Anil
There is no substitute to HARDWORK
Geoff Wild
Honored Contributor

Re: Sendmail error.

Did you recently upgrade your version of sendmail?

If yes, did you create a new sendmail.cf - IE - through your old one away?

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.
Naveej.K.A
Honored Contributor

Re: Sendmail error.

hi amado,

try telnet ip_address_of_the_server 25
and see whether it is getting connected.

running on hpux??
I feel 8.12.10 is not yet a HP supported version of sendmail

./sbin/init.d/sendmail stop
./sbin/init.d/sendmail start

any error it gives???

with best wishes
Naveej
practice makes a man perfect!!!
Amado A. Diaz Jr.
Occasional Advisor

Re: Sendmail error.

Yes. I did try to kill sendmail and start it up again, but I still encounter the same error. It seems like mail is sent fine, but the recipient does not receive the mail.
Geoff Wild
Honored Contributor

Re: Sendmail error.

Are you running any sort of virus checking on your sendmail server?

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.
Raymond Fraikin
New Member

Re: Sendmail error.

Just an idea, check firewall output.
For instance: enable info on packet transfer
on the network interface.
For shorewall this would look something like
this:
>
> ACCEPT:info fw net tcp 25
or
> ACCEPT:info fw lo tcp 25
>
This way you may see that packets are
bouncing on address 127.0.0.1, this prevents
sendmail to startup.
(at least, in my case...)
See if works for you.
Cheers
Ray