LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   My sendmail wont accept incoming mail (https://www.linuxquestions.org/questions/suse-opensuse-60/my-sendmail-won%B4t-accept-incoming-mail-344555/)

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:
test1@listserv.sjv.se (550 5.7.1 <test1@listserv.sjv.se>... 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 listserv.sjv.se. 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/sendmail.mc file

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, 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 127.0.0.1 To change this, modify the line to:

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

then re-create your sendmail.cf 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:

127.0.0.1 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.