Re: Debain installed exim BIG TROUBLE

2003-05-06 Thread I. Forbes
On 5 May 2003 at 16:11, Emmanuel Lacour wrote:

 On Mon, May 05, 2003 at 03:27:32PM +0200, Gregory Machin wrote:

  where does debian launch exim from cause when i telnet in exim is running
  but not visable under ps -ef ??

 Because by default, exim is running in standalone under debian. Just run
 
 update-inetd --disable smtp
 /etc/init.d/exim start

Having done this on a few boxes, I noted one slight problem with the  
the permissions of files in /var/spool/exim/db/. 

When exim is running as a daemon, these should be owner mail, 
group mail. When it is running from inetd they seem to be have 
owner root. When you change from inetd to daemon the old files 
hang around with root ownership and do not get deleted or updated.

This does not stop exim from working, but it could in theory slow 
things down. The db files are hint files designed to improve 
performance. Without them exim reverts to a fail safe mode.

If they have the wrong permissions, stop exim, delete the contents of 
/var/spool/exim/db/ and restart exim. The db files will be rebuilt 
automatically with the correct ownership.

Perhaps this should be submitted as a bug.

Ian
-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 21 683-1388  Fax: +27 21 674-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-





Re: Debain installed exim BIG TROUBLE

2003-05-06 Thread Emmanuel Lacour
On Tue, May 06, 2003 at 11:13:17AM +0200, I. Forbes wrote:
 On 5 May 2003 at 16:11, Emmanuel Lacour wrote:
 
  On Mon, May 05, 2003 at 03:27:32PM +0200, Gregory Machin wrote:
 
   where does debian launch exim from cause when i telnet in exim is running
   but not visable under ps -ef ??
 
  Because by default, exim is running in standalone under debian. Just run
  
  update-inetd --disable smtp
  /etc/init.d/exim start
 
 Having done this on a few boxes, I noted one slight problem with the  
 the permissions of files in /var/spool/exim/db/. 
 
 When exim is running as a daemon, these should be owner mail, 
 group mail. When it is running from inetd they seem to be have 
 owner root. When you change from inetd to daemon the old files 
 hang around with root ownership and do not get deleted or updated.

I'found this bug too some time ago on a woody box, but I didn't
understand why. Now, I know ;-)

 Perhaps this should be submitted as a bug.
 

Maybe, a simple check in the init.d file to cleanup owners..

-- 
Emmanuel Lacour  Easter-eggs
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37- Fax: +33 (0) 1 41 35 00 76
mailto:[EMAIL PROTECTED]   -http://www.easter-eggs.com




Debain installed exim BIG TROUBLE

2003-05-05 Thread Gregory Machin


please could someone HELP ive installed debian 3 wood and it installed
exim 3 by default ...
i can't use the dafault exim cause it's not complied to my requirements.

where does debian launch exim from cause when i telnet in exim is running
but not visable under ps -ef ??




Re: Debain installed exim BIG TROUBLE

2003-05-05 Thread Rus Foster
On Mon, 5 May 2003, Gregory Machin wrote:



 please could someone HELP ive installed debian 3 wood and it installed
 exim 3 by default ...
 i can't use the dafault exim cause it's not complied to my requirements.


Exim is started from /etc/inetd.conf.

Rgds

Rsu
--
www: http://www.65535.net   | Hosting - Shell Accounts
MSNM: [EMAIL PROTECTED] | Virtual Servers from just $15/mo
e: [EMAIL PROTECTED]   | Community: http://www.65535.org
t: +44 (0) 7092016595   | Rate us: http://www.65535.net/rate.php




Re: Debain installed exim BIG TROUBLE

2003-05-05 Thread mslucas
i think that exim is started with inetd
see /etc/inetd.conf and man inetd

Maurice Lucas


- Original Message - 
From: Gregory Machin [EMAIL PROTECTED]
To: debian-isp@lists.debian.org
Sent: Monday, May 05, 2003 3:27 PM
Subject: Debain installed exim BIG TROUBLE




 please could someone HELP ive installed debian 3 wood and it installed
 exim 3 by default ...
 i can't use the dafault exim cause it's not complied to my requirements.

 where does debian launch exim from cause when i telnet in exim is running
 but not visable under ps -ef ??


 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]






Re: Debain installed exim BIG TROUBLE

2003-05-05 Thread Javier Conti
On Monday 05 May 2003 15:27, Gregory Machin wrote:
 i can't use the dafault exim cause it's not complied to my requirements.

Just install your favorite MTA then (or recompile exim to your taste).

 where does debian launch exim from cause when i telnet in exim is running
 but not visable under ps -ef ??

From inetd. If you want it to start as a daemon just comment the line 
beginning with smtp in /etc/inetd.conf and do an /etc/init.d/exim start.

In the case you run exim as a daemon, you can remove its run-queue cron job 
under /etc/cron.d/.

Hope this helps, Javier
-- 
Javier Conti
http://www.labcc.ch/




Re: Debain installed exim BIG TROUBLE

2003-05-05 Thread Dominik Schulz

Gregory Machin [EMAIL PROTECTED] wrote on Mon, 5 May 2003 15:27:32 +0200 
(SAST):

 
 
 please could someone HELP ive installed debian 3 wood and it installed
 exim 3 by default ...
 i can't use the dafault exim cause it's not complied to my requirements.
You can recompile it.
 
 where does debian launch exim from cause when i telnet in exim is running
 but not visable under ps -ef ??
By default it's configured to be run from inetd and the queue-runner
from a crontab.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Mit freundlichen Gruessen / Best regards
Dominik Schulz




Re: Debain installed exim BIG TROUBLE

2003-05-05 Thread Jonathan Matthews
On Mon, May 05, 2003 at 03:27:32PM +0200, Gregory Machin wrote:
 
 please could someone HELP ive installed debian 3 wood and it installed
 exim 3 by default ...
 i can't use the dafault exim cause it's not complied to my requirements.
 
 where does debian launch exim from cause when i telnet in exim is running
 but not visable under ps -ef ??

It's being run by the inetd superserver.  Take a look at /etc/inetd.conf 
and /etc/init.d/exim.  The init.d script stops and doesn't load exim if 
it finds a line starting smtp in the inetd.conf file.

Look at man inetd.conf.

HTH,
  jc