Operating System - HP-UX
1851213 Members
3741 Online
104057 Solutions
New Discussion

sendmail: Unable to relay for olxxxxxx@yahoo.ca

 
Olga_1
Regular Advisor

sendmail: Unable to relay for olxxxxxx@yahoo.ca

Hello.
Itanium HP us 11.23 server
sendmail Version 8.11.1

I am able to sendmail to local address, but cannot send it to an external one.
Getting error:
550 5.7.1 Unable to relay for olxxxxxx@yahoo.ca

Please help.

3 REPLIES 3
Porsche
New Member

Re: sendmail: Unable to relay for olxxxxxx@yahoo.ca


Your problem description is a bit vague.

Check if the smart host mail relay settings in the /etc/mail/sendmail.cf file. Search in this file for ^DS (DS at beginning of a line) and behind it (without space) the system name should be that can be used as a mail relay to the world.

The mail relay server should also be configured to allow you to use it to send email outsite the company.

Another option is to connect the server to the internet and have a working DNS resolving but you probably don't want that.
Steven E. Protter
Exalted Contributor

Re: sendmail: Unable to relay for olxxxxxx@yahoo.ca

Shalom,

sendmail checklist

1) /etc/resolv.conf DNS works.
2) Either you are permitted to the outside world on port 25 or have an SMTP relay server, see the DS directive for that.

Normally in a corporate environment, systems are not permitted to send mail directly to the Internet.

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

Re: sendmail: Unable to relay for olxxxxxx@yahoo.ca

problem solved by adding this server IP to the allowed relay list of the Exchange server