Postniks

Onlangs gaf een klant aan dat email niet goed zou functioneren. Toch vreemd, want rapportages van het systeem werden netjes verstuurd. Na controle bleek het logboek vol te staan met fouten zoals:

Jun 24 06:56:30 mailhost postfix/master[24224]: warning: process /usr/lib/postfix/error pid 27193 killed by signal 6
Jun 24 06:56:30 mailhost postfix/master[24224]: warning: /usr/lib/postfix/error: bad command startup -- throttling
Jun 24 06:56:30 mailhost postfix/master[24224]: warning: process /usr/lib/postfix/bounce pid 27195 killed by signal 6
Jun 24 06:56:30 mailhost postfix/master[24224]: warning: /usr/lib/postfix/bounce: bad command startup -- throttling
Jun 24 06:56:48 mailhost postfix/master[24224]: warning: process /usr/lib/postfix/flush pid 27199 killed by signal 6
Jun 24 06:56:48 mailhost postfix/master[24224]: warning: /usr/lib/postfix/flush: bad command startup -- throttling
Jun 24 06:57:30 mailhost postfix/master[24224]: warning: process /usr/lib/postfix/bounce pid 27213 killed by signal 6
Jun 24 06:57:30 mailhost postfix/master[24224]: warning: /usr/lib/postfix/bounce: bad command startup -- throttling
Jun 24 06:58:16 mailhost postfix/master[24224]: warning: process /usr/lib/postfix/smtpd pid 27227 killed by signal 6
Jun 24 06:58:16 mailhost postfix/master[24224]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jun 24 07:01:30 mailhost postfix/master[24224]: warning: process /usr/lib/postfix/smtp pid 27517 killed by signal 6
Jun 24 07:01:30 mailhost postfix/master[24224]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling
Jun 24 07:01:30 mailhost postfix/master[24224]: warning: process /usr/lib/postfix/error pid 27516 killed by signal 6
Jun 24 07:01:30 mailhost postfix/master[24224]: warning: /usr/lib/postfix/error: bad command startup -- throttling

Een zeer frustrerende en lange zoektocht bood geen soelaas. Veel collega’s ervaren problemen met permissies, niet bestaande gebruikers etc. maar toch niet hetzelfde bovengenoemde probleem.

Gezien het feit dat op dit systeem Etch onlangs door Lenny is vervangen, ben ik op zoek gegaan naar gebruikte programmatuur die in Lenny wellicht problemen zou geven. Uiteindelijk las ik in de documentatie:

1.  The Debian install is chrooted by default.

Dat was bij de versie uit Etch ook al zo blijkt, maar herinnerde me aan libnss-mysql. Wellicht zou dit in deze combinatie niet helemaal goed werken, dus heb ik libnss-mysql even uitgeschakeld. Wat bleek, Postniks werd weer Postfix; het werkte zowaar!

De machine waar het probleem optrad maakt veelvuldig gebruik van libnss-mysql dus besloot ik om nscd eens te proberen. Op deze manier zou Postfix nooit direct met libnss-mysql communiceren. Geen echte oplossing van het probleem, maar de klant kan nu in ieder geval weer vooruit.

Na wat verder zoeken lijkt libnss-mysql-bg wel te werken, maar moet ik in de praktijk nog testen. Wordt vervolgd dus!

Tags: , ,

Comments are closed.