Re: Exim fail to receive mails !?!
>>>>> "Ionut" == Ionut Borcoman at lungu <borco@alpha1.infim.ro> writes:
Ionut> Because of my previous experience with exim, I have chosed
Ionut> it as our MTA. However, it failed to accept any SMTP
Ionut> connection from outside.
Ionut> Any ideea ?
As a diagnostic tool, you can:
$ telnet localhost smtp
You are greeted with an inital message; now type:
HELO your.host.name
MAIL FROM: user@domain.that.failed
RCPT TO: user@your.mail.domain
DATA
From: Your Name <you@mail.domain>
To: Your Name <you@mail.domain>
Subject: Testing
This is a test
.
QUIT
For each command, you get a response. In particular, check the
response to the "MAIL FROM:" and "RCPT TO:" lines. They should give
you a clue.
Now, using 'eximconfig', make sure you do the following:
- Set visible name to a domain name with a valid mail exchanger
(MX) record. For instance, if you do 'nslookup -q=mx linux.org',
you will see that there are hostnames associated with it.
"linux.org" is therefore a valid "visible name".
- To the question:
Does this system have any other names which may appear on
incoming mail messages, apart from the visible name above (slett.net)
and the system's hostname (tor.slett.net) ?
You should answer 'localhost'. Especially if you also are using
'fetchmail' to retreive mail via POP3 to this machine.
- "Networks on local machines that you want to relay mail for"
should include 127.0.0.0/8, otherwise you will not be able to
send mail from e.g. Netscape. Also include the network/subnetmask
of your network, such as 192.168.1.0/24 in the case of a typical
IP-masqueraded network. Your answer to this question would in
this case be:
127.0.0.0/8 192.168.1.0/24
-tor
Reply to: