Re: What is required to deliver system mail locally ???
Jacob S. (<firstname.lastname@example.org>) wrote:
> On Sat, 15 Nov 2003 08:27:28 -0600
> Michael D Schleif <email@example.com> wrote:
>> I have rerun eximconf, and told it to use option #4, that this
>> computer is *not* on the Internet, and to only deliver local mail.
>> Of course, now nothing is listening on port 25 ;>
> Are you sure nothing's listening on port 25? I just checked with a
> telnet <name> 25 to one of the machines on my network running exim
> that I configured with the same option #4 and got the usual SMTP
> greeting identifying itself as Exim 3.35.
> I think option #4 just skips asking you details about how to send and
> receive e-mail from the internet because you told it you only want
> mail delivered locally. However, it still listens to port 25 because
> you said you *do* want mail delivered locally, by selecting #4.
Running eximconfig and selecting local delivery doesn't affect on which
port exim is listening. With the default settings, exim is started by
inetd, which listens on /all/ interfaces, no matter what you tell exim
to do. Even if you tell exim to do local delivery only.
If you switch off inetd manually or switch off smtp in inetd.conf,
eximconfig will not change this (at least if you select option 4).
However, if you switch off smtp in inetd.conf and you still have the
init scripts for exim, exim will automatically start in standalone mode
the next time you reboot.
Registered Linux User #267976