LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-01-2007, 11:30 AM   #1
binary1011100
Member
 
Registered: Apr 2006
Location: Manchester, UK
Distribution: Slackware, Debian
Posts: 89

Rep: Reputation: 15
Mail server now behind linux router: Mail system broken


Have recently installed a small linux router running Debian GNU/Linux in front of my mail server, I have forwarded port 25 and 110 to the internal mail server however when trying to start exim4, I retrive the error Failure to bind port 25 to x.x.x.x Does anybody know what I can do to fix my mail system?
 
Old 07-01-2007, 01:14 PM   #2
nathacof
Member
 
Registered: Aug 2004
Location: Bear, DE, USA
Distribution: Slackware 11, CentOS 5.2, Ubuntu
Posts: 124

Rep: Reputation: 17
Sounds like you have another MTA bound to port 25 on the mail server.

You can run netstat to see what's bound to the port and then you can use ps aux to get the pid of the offending process, then kill that process.

Find the binary for that service and chmod -x /path/to/mta
 
Old 07-02-2007, 09:37 AM   #3
binary1011100
Member
 
Registered: Apr 2006
Location: Manchester, UK
Distribution: Slackware, Debian
Posts: 89

Original Poster
Rep: Reputation: 15
netstat output

I can't see that that is the case given the output of netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp6 0 208 ::ffff:192.168.0.:20022 cpc2-wilm1-0-0-cus:1893 ESTABLISHED
tcp6 0 0 ::ffff:192.168.0.:20022 cpc2-wilm1-0-0-cus:3839 ESTABLISHED
tcp6 0 0 ::ffff:192.168.0.:20022 cpc3-wilm1-0-0-cu:63477 ESTABLISHED
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ] DGRAM 3085 @/org/kernel/udev/ude vd
unix 10 [ ] DGRAM 5326 /dev/log
unix 2 [ ] DGRAM 10354
unix 3 [ ] STREAM CONNECTED 10351
unix 3 [ ] STREAM CONNECTED 10350
unix 2 [ ] DGRAM 10088
unix 3 [ ] STREAM CONNECTED 10085
unix 3 [ ] STREAM CONNECTED 10084
unix 2 [ ] DGRAM 9658
unix 3 [ ] STREAM CONNECTED 9655
unix 3 [ ] STREAM CONNECTED 9654
unix 2 [ ] DGRAM 7411
unix 2 [ ] DGRAM 6126
unix 2 [ ] DGRAM 5568
unix 2 [ ] DGRAM 5361
unix 2 [ ] DGRAM 5341

However, I should probably note that the ip the mail server is trying to bind to is not directly on any of the interfaces of the mail server as it is the ip of the WAN interface of the router
 
  


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
exim4 paniclog, warning mail system may be broken nutbag Debian 3 10-11-2010 12:39 PM
Configure & Connect a Linux mail server from a windows mail clients digihall7 Linux - Networking 4 10-23-2006 12:21 PM
how to configure Linux mail client with existing mail server running on WindowsXP? Senthilvnr Linux - Networking 1 07-11-2006 12:02 AM
How to have limited mail on a linux server that support unlimited e-mail account mmh Linux - General 3 03-15-2006 06:52 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration