RE: [Exim] fails to re-bind to port 25 after a SigHUP

Pàgina inicial
Delete this message
Reply to this message
Autor: Sweeney, Vince
Data:  
A: 'exim-users@exim.org'
Assumpte: RE: [Exim] fails to re-bind to port 25 after a SigHUP
Since this is a common mistake, why not add a small patch to exim to check
its SUID permission when it loads up. I'm sure a message in the LOGS would
save a number of admin headaches :)


-----Original Message-----
From: Jeffrey Goldberg [mailto:J.Goldberg@Cranfield.ac.uk]
Sent: 28 January 2000 13:44
To: Giles Constant
Cc: exim-users@???
Subject: Re: [Exim] fails to re-bind to port 25 after a SigHUP


On Fri, 28 Jan 2000, Giles Constant wrote:

> 2000-01-28 13:31:26 socket bind() to port 25 for address (any) failed:
> Permission denied: waiting before trying again
>
> Exim is running as mail.mail.


That's your problem. Exim should be SUID root

I have:

rwsr-xr-x   1 root     exim     1818624 Jan 18 12:50   exim


As root do as

chown root exim

and

chmod 1755 exim

in the exim/bin directory.

-j
-- 
Jeffrey Goldberg                +44 (0)1234 750 111 x 2826
 Cranfield Computer Centre      FAX         751 814
 J.Goldberg@???     http://WWW.Cranfield.ac.uk/public/cc/cc047/
Relativism is the triumph of authority over truth, convention over justice.




--
## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##