LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


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

Rep: Reputation: 0
My sendmail won´t 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 I´m not sure how to configure it. Perhaps there is a problem that my sendmail won´t 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?

I´m using Novell OES Linux.
 
Old 07-19-2005, 11:24 AM   #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, 12: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, 12: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 wasn´t correctly configured. As soon as I corrected that the sendmail worked correctly.
 
  


Reply



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 10:18 AM
How to separate Incoming Mail and Outgoing Mail on SENDMAIL LiloAma Linux - Networking 1 03-22-2004 02:24 AM
Sendmail Incoming mail amasso Linux - Networking 2 09-17-2003 08:30 PM
Sendmail, incoming mail. rulleeeee Linux - Networking 2 01-28-2003 11:08 AM
Sendmail performance - high volume incoming mail. 360 Linux - Software 2 11-24-2002 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:49 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
Open Source Consulting | Domain Registration