Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-02-2005, 04:00 PM   #1
LQ Newbie
Registered: Mar 2005
Posts: 17

Rep: Reputation: 0
Silly sendmail issue

Hi, I just set up a Fedora Core 3 system which will server web pages and also act as my SMTP server. Everything is working beautifully except sendmail....

The problem I have is that sendmail only works if I'm sending the mail from within my own LAN on the 192.168.* subnet. If I try to send an email using my SMTP server from outside the LAN I get an error stating that it couldn't be accessed on port 25!

Now this is what's got me really stumped:

1] The firewall, router, etc. is definitely set up properly and port 25 is open to the outside world.
2] Doing the reports on indicate the MX record, etc. is set up correctly and that mail can be sent ot the postmaster@ and abuse@ addresses.
3] In my file, I have manually commented out the "DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl" bit - even though, as you can see, I took off the loopback thingy anyway.

I've rebuilt the .cf , etc, etc. and rebooted several times but still no luck. This is really driving me insane. I know it's got to be something really simple and easy but I can't see the wood for the trees.
Old 04-02-2005, 04:21 PM   #2
LQ Newbie
Registered: Mar 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Ahhhhhh, I just figured it out...... just in case anyone else is having the same problem and needs possible solutions:

My broadband ISP is blocking port 25. I simply set up my router to accept SMTP on another port and redirect it to port 25 on the server machine.

I then used this new port number in my smtp settings in my email software and it works like a charm now.

Thanks anyway!
Old 04-02-2005, 04:27 PM   #3
Pete M
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32

I may be way off the mark here but the way I understand it is you are trying to relay through your mail server from a remote location

Surely Sendmail denies relaying by default otherwise your server would be an open relay

Can you telnet into your mail server from the remote location ?



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail issue? basketkase999 Linux - Newbie 3 03-08-2005 12:56 AM
Sendmail issue? basketkase999 Linux - Software 1 03-07-2005 10:25 PM
Sendmail Issue! Atif_Khan Linux - Networking 5 02-16-2005 02:05 PM
sendmail issue archangel Linux - Distributions 4 11-14-2002 03:33 AM
sendmail issue iquadri1 Linux - Networking 1 09-29-2001 03:02 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:08 PM.

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