LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices



Reply
 
Search this Thread
Old 07-19-2005, 05:12 AM   #1
pjon
LQ Newbie
 
Registered: May 2005
Location: Jonkoping, Sweden
Distribution: SLES 9
Posts: 9

Rep: Reputation: 0
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.
 
Old 07-19-2005, 12:24 PM   #2
DrAxeman
Member
 
Registered: Jun 2004
Location: State of Confusion
Distribution: My other OS is your Solaris box.
Posts: 84

Rep: Reputation: 15
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.
 
Old 07-19-2005, 01:13 PM   #3
DrAxeman
Member
 
Registered: Jun 2004
Location: State of Confusion
Distribution: My other OS is your Solaris box.
Posts: 84

Rep: Reputation: 15
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.
 
Old 07-20-2005, 01:41 AM   #4
pjon
LQ Newbie
 
Registered: May 2005
Location: Jonkoping, Sweden
Distribution: SLES 9
Posts: 9

Original Poster
Rep: Reputation: 0
Smile 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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make Sendmail forward all incoming mail to localhost port 26 (Domino mail) speedgelb Linux - Software 3 09-27-2013 11:18 AM
How to separate Incoming Mail and Outgoing Mail on SENDMAIL LiloAma Linux - Networking 1 03-22-2004 03:24 AM
Sendmail Incoming mail amasso Linux - Networking 2 09-17-2003 09:30 PM
Sendmail, incoming mail. rulleeeee Linux - Networking 2 01-28-2003 12:08 PM
Sendmail performance - high volume incoming mail. 360 Linux - Software 2 11-24-2002 05:45 PM


All times are GMT -5. The time now is 08:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration