Operating System - HP-UX
1850218 Members
2820 Online
104050 Solutions
New Discussion

Re: sendmail - mailing prob

 
srinivasa rao vaddadi
Frequent Advisor

sendmail - mailing prob

hello experts,

i'm facing a problem to send mails to newzealand. and i have tried the below cmd to check. found some errors. could any one help me to suggest wat i have to do to send mails.
plz find the attachement for errors.
and also the mail.log
# /usr/sbin/sendmail -v -d8.99 38.99 abc.xyz@abc.co.nz
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: sendmail - mailing prob

Shalom,

Your machine is not able to resolve names and more important not permitted to send smtp traffic on port 25.

The mail is going to dead letter instantly.

Its necessary for you to find the correct method for relaying mail and change your configuration to meet that.

Usually in a corporate network this means setting up a DS relay directive in /etc/mail/sendmail.cf to relay through a proper smtp or exchange relay server.

Regards,

Shmuel.
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
srinivasa rao vaddadi
Frequent Advisor

Re: sendmail - mailing prob

thnx for the prompt reply ,

as i'm not much aware of networking , could you please be more specific what you want me to do.

cheers :)
srinivas
Peter Godron
Honored Contributor

Re: sendmail - mailing prob

Hi,
you have the equivalent of a telephone without a call carrier.
Your machine needs to know where to send your mail within your organisation to then get it sent to the NZ address.
These points in an organisation are the SMTP gatways, which your network people should be able to help you with. Sometime talking to the people reponsible for internal email helps.
Once you have the SMTP gateway information, edit /etc/mail/sendmail.cf, find the line starting with DS (the comment above normally mentions smart host) and change the line to DSmailhost.
Then edit your /etc/hosts file and include the SMTP details with an alias name of "mailhost". Re-start sendmail and test.