[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim config (was Re: turning off smtp and sunrpc services)



>>>>> "l" == lists  <lists@anomie.dhis.org> writes:
    l>  You can use the fuser command to find out which processes are
    l> opening those ports.

Ok. I checked these services using fuser and here is what I got: 

@phoenix:[/home/ssahmed] fuser -vn tcp 25

                     USER        PID ACCESS COMMAND
25/tcp               root        139 f....  exim
@phoenix:[/home/ssahmed] fuser -vn tcp 111

                     USER        PID ACCESS COMMAND
111/tcp              root        121 f....  portmap


For now, I am more concerned about smtp. I checked /etc/inetd.conf and
smtp is not being run from there. So, when exim is being started up, it
is being started up in a mode where it accepts smtp connections. This is
not I want since when I configured exim, I selected the option to "set
it up for local delivery of mail only". I checked /etc/init.d/exim and
exim is being started up with the command line arguments "-bd
-q30m". The "-bd" tells exim to accept smtp connections.

How do I change this behaviour so that exim is run only for local
delivery of mail but not for smtp mail/services ? 

Any exim experts out there with suggestions ??

Prior to the dist-upgrade, when I was running exim for local delivery of
mail, it wasn't starting up an smtp service. The version of exim
currently installed on my system is:

ii  exim            3.03-4         Exim Mailer

Thanks for any info.

-- 
Salman Ahmed
ssahmed AT pathcom DOT com


Reply to: