LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-18-2003, 01:55 PM   #1
nrmx
LQ Newbie
 
Registered: Mar 2003
Posts: 26

Rep: Reputation: 15
Error sending mail out


Hi,

I finally got sendmail to receive messages. It works fine now!.... But I have run into some other trouble with sendmail.... I can't send mail out. Upon checking the mail queue I see that the message says "defered: connection refused by <my domain name>". The machine is behind a router and I have put it in the DMZ. Is there something I need to set in the router? What could cause sendmails connection to be refused locally?

Regards
 
Old 03-18-2003, 01:58 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
It could be a number of things. Do you have a firewall running? What about your /etc/hosts.allow and /etc/hosts.deny files? What do they look like?

You should also mention what distro you are using.
 
Old 03-18-2003, 02:04 PM   #3
nrmx
LQ Newbie
 
Registered: Mar 2003
Posts: 26

Original Poster
Rep: Reputation: 15
I am using Mandrake 9.1, both my hosts allow and deny fine are below. I don't know of any firewall that is running other then the router and security setting in Mandrake with @ install I set to standerd.
---------------------------------------------------------
[nrm@lsu nrm]$ more /etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#

[nrm@lsu nrm]$ more /etc/hosts.deny
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In particular
# you should know that NFS uses portmap!

[nrm@lsu nrm]$
-------------------------------------------------------------------------

Thanks

Last edited by nrmx; 03-18-2003 at 02:15 PM.
 
Old 03-18-2003, 02:22 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Well either your router or your firewall is not letting the messages out. Check the routers configuration and see if you have a fireall running:

chkconfig --list iptables
chkconfig --list ipchains
chkconfig --list ip6tables

See if any of those services are on.
 
Old 03-18-2003, 02:25 PM   #5
nrmx
LQ Newbie
 
Registered: Mar 2003
Posts: 26

Original Poster
Rep: Reputation: 15
No one of them are on...... What do I need to check in th routers config?
 
Old 03-18-2003, 02:27 PM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
See if it allows sendmail access out. It should allow everything from the lan out by default.
 
Old 03-18-2003, 05:06 PM   #7
nrmx
LQ Newbie
 
Registered: Mar 2003
Posts: 26

Original Poster
Rep: Reputation: 15
hum......... this I think could shed some light on this. Accoring to mailq the connection is being refused by "lsu.homelinux.com" my domain. All local connections to this machine can only be access using its host name "localhost". I.E ssh conncections from this machine to this machine can only be established by using "localhost" as the server name.... using the domain "lsu.homelinux.com" it says "connection refused on port 22". Is there anyway to get sendmail to use the localhost instead of the domain name?

Regards.
 
Old 03-18-2003, 05:33 PM   #8
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
What does your /etc/hosts file look like? Messing with the sendmail configuration files is a daunting task.
 
  


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
smtp 0x800ccc0f error sending mail to postfix Corsari Linux - Networking 4 09-22-2008 10:51 AM
Postfix not sending mail, exits without error kevlarboxers Linux - Software 0 11-28-2004 02:09 PM
[evolution] error when sending mail xahag Linux - Software 4 04-10-2004 12:18 PM
squrrel mail sending error on OS X MadTurki *BSD 4 03-17-2004 01:52 PM
error sending mail MrBit Linux - General 1 09-27-2003 12:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:22 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