[pkg-fetchmail-maint] Bug#582475: fetchmail: init script should wait for DNS

Petter Reinholdtsen pere at hungry.com
Sat Jun 12 21:12:12 UTC 2010


[Jan Braun]
> There doesn't seem to be a $mta target, but you could add other MTAs
> too if you care.

Actually, there is $mail-transport-agent (see
<URL: http://wiki.debian.org/LSBInitScripts/DebianVirtualFacilities >),
but it is not widely implemented yet.  So I would modify the patch to
look like this:

--- fetchmailrc.orig	2010-05-21 03:25:43.000000000 +0200
+++ /etc/init.d/fetchmail	2010-05-21 03:27:34.000000000 +0200
@@ -7,6 +7,8 @@
 # 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:      0 1 6
 # Short-Description: init-Script for system wide fetchmail daemon

Happy hacking,
-- 
Petter Reinholdtsen





More information about the pkg-fetchmail-maint mailing list