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 - 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 08-07-2004, 12:28 AM   #1
LSEmpyrean
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
Cannot send e-mail with router installed.


I just installed a Linksys wired router between my e-mail/web server and the Internet and I am now unable to send e-mail. I am using Sendmail as the MTA and Kmail as the UA. When I send a message it says Sendmail exited unexpectedly.

The router also seems to be preventing access to hotmail.

I have set the port forwarding and triggering as follows:

Port 25 SMTP
Port 53 DNS
Port 80 HTTP
Port 110 POP3

I am using SuSe 8.1. Receiving e-mails from outside the domain works well and the web site can also be viewed from the Internet and inside the domain.

Any help would be appreciated.

Thanks.
 
Old 08-07-2004, 05:22 AM   #2
radam
Member
 
Registered: Jun 2004
Distribution: Mandrake 10.0/Fedora Core 2
Posts: 31

Rep: Reputation: 16
There is a possability that this is a problem with the Maximum Transfer Unit (MTU) setting. It is the most data that can be sent in one packet. You haven't by any chance just got ADSL and are located in the UK?

I experienced this problem when we first got ADSL. It seems that BT (a company who provides a large portion of the UKs telecoms hardware) has some of the MTU settings on its routers set to 1458, whereas the default is 1500. This means (i think) that the last 42 bytes of data get trimmed off, resulting an quite a maimed and useless packet. This is only a problem when contacting certain sites as it depends on what hardware you go through. The most notable of these sites is..... hotmail.com.

Now, even if you are not in the UK this could still be an issue. You should probably check your router's MTU setting (if possible) as well as your MTU setting. To check your MTU value you can do (as root):
ifconfig
This will list your network settings where you should see your MTU value. You can change your MTU value using:
ifconfig eth0 mtu 1500
(you may need to change eth0 to the interface that you use for Internet access). You could try reducing the 1500 value until your connection works (which it hopefully will).

I'm not sure if you will need to restart your network adaptors or now. I could do with someone out there how has more experience with this sort of thing confirming this for me. I think I have got the theory behind it mostly correct.


Good luck!


Radam
 
Old 08-07-2004, 06:31 PM   #3
LSEmpyrean
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Well, that fixed the Hotmail problem right off the bat. However, I still cannot send mail from my server. I had the MTU setting to automatic. Now it is at 1458.

I am in the U.S.

Before I installed the router, I had my computer connected directly to the modem. I was able to send e-mails with that configuration. I have a static IP using what I believe is SDSL. The cable to the wall only has two pins.

Thnks for the help. I would have never done that in a million years.
 
Old 08-08-2004, 04:58 AM   #4
radam
Member
 
Registered: Jun 2004
Distribution: Mandrake 10.0/Fedora Core 2
Posts: 31

Rep: Reputation: 16
Hi LSEmpyrean,

I'm pleased that solved at least one problem. Sadly though, I am no email expert, lest of all sendmail. Here are the two things I can think of:
1 - Try sending mail without using your install sendmail. Could you send mail directly through your ISP's mail servers. If this still gives you errors then it will probably be a connection problem. If so you may have the infinite joy of contact your ISP's support desk, as this would lie in their domain.

2 - Check through the various log files (not that I know where they are kept) for any little errors.

Sorry, but those are the only things I can think of. You may want to start a new thread to entice any sendmail experts there are that lurk on these forums.

Best of luck with solving the problem though!

Radam
 
Old 08-08-2004, 10:35 AM   #5
whizzit
Member
 
Registered: Aug 2004
Location: UK
Distribution: Gentoo, OpenBSD, Debian, FreeBSD, RHEL, CentOS
Posts: 65

Rep: Reputation: 24
What port does Sendmail send out on? I don't think it's any of the ports in your list and I assume all other traffic is denied?

Best regards,
 
Old 08-09-2004, 05:19 PM   #6
LSEmpyrean
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
The problem now seems to be fixed. I changed the NAT and the ports and it suddenly works. Thanks for the help.
 
  


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
send a test mail from shell using local installed postfix ? cccc Linux - General 3 06-26-2005 05:34 AM
how to configure mail client to send mail out on different pppd threads vkrishn1 Linux - Newbie 0 12-29-2004 10:54 AM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 07:31 PM
Cannot send mail with mail() command in PHP 4.3.4, Apache 2.0.48, Mandrake Linux 10 arcanum Linux - General 3 06-27-2004 06:06 PM
Open web mail OR Send mail groups linuxeagle Linux - Networking 0 05-12-2004 01:54 PM

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

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

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