1832073 Members
2977 Online
110034 Solutions
New Discussion

sendmail problem

 
SOLVED
Go to solution
hangyu
Regular Advisor

sendmail problem

In my server , we use mail.pl via the sendmail daemon for sending out mail . Now I have problem as below , the below is my testing.

1) mail.pl -f "aaa@aaa.com" myemail@domain.com
It is OK to send out mail

2) mail.pl -f "aaa@aaa" myemail@domain.com
It is NOT OK to send out mail

I don't know why the mail is not send out if no .com in the "from" address , can advise how to send out mail without .com ? thx
4 REPLIES 4
Peter Godron
Honored Contributor

Re: sendmail problem

Hi,
can you please let us know what your mail.pl program does and what the actual command line translates to after mail.pl has "converted" your input. What does mail.pl submit to the system to send the mail ?
Ivan Krastev
Honored Contributor

Re: sendmail problem

Check /var/adm/syslog/mail/log for errors. Possible you can resolve "aaa.com" but cannot "aaa".


regards,
ivan
Steven E. Protter
Exalted Contributor
Solution

Re: sendmail problem

Shalom,

mailq

sendmail -v -d8.99 -d38.99

type some test

.


Full diagnostics.

Clearly the fact that mail gets out okay points to a scripting problem or DNS lookup failure.

My take on this is that aaa is not a valid domain and the mail is hanging up because the DNS lookup fails.

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
hangyu
Regular Advisor

Re: sendmail problem

thx replies,

Check /var/adm/syslog/mail/log for errors. Possible you can resolve "aaa.com" but cannot "aaa".


I think the server not resolve "aaa" , if I want the server can resolve it , what can i do ? thx