-   SUSE / openSUSE (
-   -   My sendmail wont accept incoming mail (

pjon 07-19-2005 04:12 AM

My sendmail wont accept incoming mail
When sending mail to a list in my sendmail server I recieve the following error: (550 5.7.1 <>... Relaying denied)

I am new to sendmail so Im not sure how to configure it. Perhaps there is a problem that my sendmail wont accept mail to the domain I can connect to the server using telnet over port 25 so it seems that it accepts connections over that port.

How do I correct this problem?

Im using Novell OES Linux.

DrAxeman 07-19-2005 11:24 AM

Check for a line similar to this in your /etc/mail/ file

DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')

If there isn't a "dnl" in front of it then that's your problem. This line tells sendmail to only accept mail from To change this, modify the line to:

DAEMON_OPTIONS(`Port=smtp, Name=MTA')

then re-create your file and restart sendmail.

Let me know if this helps.

DrAxeman 07-19-2005 12:13 PM

Also make sure you add network info to /etc/mail/access then do a

"make access.db"

Your access file should look something similar to: RELAY
192.168.0 RELAY

The second line being your local network.

pjon 07-20-2005 12:41 AM

Problem solved
Thank you for your help. They were all helpful in my search of the error.

It turned out that my sendmail was correctly configured. It was my hosts-file that wasnt correctly configured. As soon as I corrected that the sendmail worked correctly.

All times are GMT -5. The time now is 03:51 AM.