LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Silly sendmail issue (https://www.linuxquestions.org/questions/linux-general-1/silly-sendmail-issue-309016/)

buzznick 04-02-2005 03:00 PM

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.

buzznick 04-02-2005 03:21 PM

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!

Pete M 04-02-2005 03:27 PM

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


All times are GMT -5. The time now is 02:49 AM.