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

insserv, fetchmail e postfix



Ciao,

da quando ho impostato insserv per lanciare i servizi all'avvio della
macchina, ho un problemino di precedenze fra fetchmail e postfix
(gestisco la mia mail con la catena fetchmail->postfix->procmail). In
pratica all'avvio fetchmail parte prima di postfix, quindi dopo aver
scaricato le mail non sa a chi mandarle ed esce con un errore. Al giro
successivo, ovviamente, tutto bene, visto che postfix stavolta c'è.

Il problema è evidenziato in questo bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582475
e avrebbe dovuto essere risolto con l'ultimo aggiornamento di fetchmail.
La cosa però, almeno per me, non si è risolta affatto: anche con il nuovo
/etc/init.d/fetchmail questo continua a partire prima di postfix. L'ho
segnalato nel bug (messaggi #50 e successivi), ma non ho insistito visto
che il bug pareva comunque risolto e quindi quello non mi sembrava il
luogo adatto.

Le intestazioni degli script di init dei due programmi sono:

* /etc/init.d/fetchmail

#!/bin/sh
#
# Fetchmail init script
# Latest change: Mi Apr 11 18:09:23 CEST 2007
#
### BEGIN INIT INFO
# Provides:          fetchmail
# Required-Start:    $network $local_fs $remote_fs $syslog
# Required-Stop:     $remote_fs
# Should-Start:      $mail-transport-agent exim4 $named
# Should-Stop:       $mail-transport-agent exim4
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: init-Script for system wide fetchmail daemon
### END INIT INFO

* /etc/init.d/postfix

#!/bin/sh -e

# Start or stop Postfix
#
# LaMont Jones <lamont@debian.org>
# based on sendmail's init.d script

### BEGIN INIT INFO
# Provides:          postfix mail-transport-agent
# Required-Start:    $local_fs $remote_fs $syslog $named $network $time
# Required-Stop:     $local_fs $remote_fs $syslog $named $network
# Should-Start:      postgresql mysql clamav-daemon postgrey spamassassin
# Should-Stop:       postgresql mysql clamav-daemon postgrey spamassassin
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: start and stop the Postfix Mail Transport Agent
# Description:       postfix is a Mail Transport agent
### END INIT INFO

Non conoscendo praticamente nulla di insserv, non ho idea di dove andare
a cercare. Se qualcuno avesse voglia di chiarirmi le idee in qualche
modo, gliene sarò grato :-)

Gabriele :-)

-- 
http://poisson.phc.unipi.it/~stilli/               ICQ UIN: 159169930
[HT] Lothlorien F.C. (51042, V.192)               #156 Club dei Mille
Meglio essere ottimisti e avere torto, che pessimisti e avere ragione
[Albert Einstein]

Attachment: signature.asc
Description: Digital signature


Reply to: