LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-11-2003, 08:58 PM   #1
cirofren
Member
 
Registered: Aug 2003
Location: Australia
Distribution: Debian 3.0, Mandrake 9.0
Posts: 41

Rep: Reputation: 15
exim mail server


Hi,
I currently have exim and courier-imap running on a gentoo1.4 box.
I'm having two problems, firstly I can't seem to receive mail (that isn't sent locally), and secondly I can't connect to the SMTP server remotely.
I can send mail to the internet from the local box using "exim -v "foo@bar.com" or mutt. I get no error messages when I send mail to the server (tested from gmx account and hotmail account) but it never arrives.

I can log in and check the mail box on the server with no problems, I just can't receive any mail from the outside world or send mail using a remote MUA.

Do I need more than just exim and courier-imap? Or is the problem in the configuration files?

- cirofren
 
Old 11-12-2003, 12:57 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
A few things to check:
1) Is your mx record correct?
2) Do you have any firewall rules?
3) Do you have a public IP for your server or have you configured natting?
 
Old 11-12-2003, 02:54 PM   #3
cirofren
Member
 
Registered: Aug 2003
Location: Australia
Distribution: Debian 3.0, Mandrake 9.0
Posts: 41

Original Poster
Rep: Reputation: 15
mx record is correct.
I do have firewall rules, I'm going to see what happens when I take down the firewall later today.
Not sure what you mean here, if you're asking if other computers can see my computer from the internet then yes they can, I can host a webserver on here with no problems.
- cirofren
 
Old 11-12-2003, 03:07 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Does the server itself have the IP that users connect to or is it a router that has the IP and a port is forwarded to the server? ie does running:
ifconfig

Show the IP address that your A record points to.

What is your domain?
 
Old 11-13-2003, 01:16 AM   #5
cirofren
Member
 
Registered: Aug 2003
Location: Australia
Distribution: Debian 3.0, Mandrake 9.0
Posts: 41

Original Poster
Rep: Reputation: 15
Here's the setup:

[ISP] <--> [Server] <--> [local network].

The server has the ip address of 203.208.89.68 and the domain is shadowice.net. The ip 203.208.89.68 is eth2 on the server, eth 1 is 192.168.10.1, and is the default gateway of the local network. eth0 doesn't work under linux (on board network card) and I don't have the knowlage to get it to, not that it matters, eth1 and eth2 work fine.

Sorry to sound ignorant, but what is an A record?

edit: Nothing changes if I take down the firewall.

Last edited by cirofren; 11-13-2003 at 02:32 AM.
 
Old 11-16-2003, 01:56 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I've just checked and you don't seem to have an MX record so I would guess that your problem lies there.
 
Old 11-16-2003, 02:24 PM   #7
jcookeman
Member
 
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep: Reputation: 33
You do need an MX record:

IN MX 0 shadowice.net.

Justin
 
Old 11-16-2003, 11:31 PM   #8
cirofren
Member
 
Registered: Aug 2003
Location: Australia
Distribution: Debian 3.0, Mandrake 9.0
Posts: 41

Original Poster
Rep: Reputation: 15
Well it's all working now and I didn't change any MX records. It was a shorewall problem. I've removed shorewall and I'm now doing the firewall by hand.

Either way, how do I update the MX record?
 
Old 12-15-2003, 10:44 PM   #9
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
The MX record? do you have a static IP? It would be with the hoster of your domain, usually. Seems to be zoneedit in your case.
 
  


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
Exim Mail server help. sendas4 Linux - General 23 09-16-2004 11:57 AM
problems using make with exim mail server SolidSnake Linux - Networking 2 01-03-2004 03:24 PM
Exim Mail Server mairul Debian 16 12-28-2003 01:36 PM
Exim masquerading mail to AOL users with broadband SMTP server llamakc Linux - General 0 12-13-2003 08:58 AM
exim/fetchmail no mail from POP3 server --->> local user ! help required! realos Linux - Networking 0 04-03-2003 04:43 PM

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

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