Re: [exim] exim4 is blocking port 80

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tobias Marx
Date:  
À: exim-users
Sujet: Re: [exim] exim4 is blocking port 80
It is port 25...not 80.

I was looking for what was blocking port 80 and exim4 appeared.
Port 80 is never used in any configuration files and exim4 uses default configuration settings.

-------- Original-Nachricht --------
> Datum: Tue, 1 Jan 2008 18:01:34 -0800
> Von: Phil Pennock <exim-users@???>
> An: Tobias Marx <superoverdrive@???>
> CC: exim-users@???
> Betreff: Re: [exim] exim4 is blocking port 80


> On 2008-01-02 at 01:34 +0100, Tobias Marx wrote:
> > Exim4 keeps on blocking port 80.
> >
> > So I have done a cron job that execute a:
> >
> > killall -9 exim4
> > /etc/init.d/exim4 start
> >
> > every 5 minutes.
> >
> > I am looking for a cleaner solution though ;-)
>
> What do you mean by "keeps on blocking port 80"?
>
> Do you mean "Exim binds to port 80 and therefore my webserver can't"?
> Or something else?
>
> If Exim is binding to port 80, then you've told it to. This can happen
> two ways:
>
>  (1) /etc/services (or whatever equivalent you're using; LDAP, whatever)
>      is defining the "smtp" service to be on port 80
>  (2) You've told your Exim config to listen on port 80 with the 
>      "daemon_smtp_ports" configuration option.

>
> You can "ask" Exim what value it has for the option after parsing all of
> its config files with the -bP command-line flag:
>
> $ exim -bP daemon_smtp_ports
> daemon_smtp_ports = smtp : smtps : submission
> $ exim -C /dev/null -bP daemon_smtp_ports
> daemon_smtp_ports = smtp
>
> There's a good chance that you have a "getent" command (Solaris, Linux,
> *BSD support it) so you can do:
>
> $ getent services smtp
> smtp                  25/tcp mail

>
> If I'm talking about entirely the wrong thing, please rephrase the
> problem report and include diagnostic information so that we don't have
> to guess so much.
>
> Thanks,
> -Phil
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/