LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-02-2005, 03:00 PM   #1
buzznick
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 dnsreport.com indicate the MX record, etc. is set up correctly and that mail can be sent ot the postmaster@ and abuse@ addresses.
3] In my sendmail.cf 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, 03:21 PM   #2
buzznick
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, 03:27 PM   #3
Pete M
Member
 
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
buzznick

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 ?

Pete
 
  


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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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