Postgrey doesn’t start

Recently I’ve noticed that greylisting didn’t work any longer on my server. The reason for this was, that the service “postgrey” did not start any longer.

A manual start using the command line was still possible but not starting it as daemon.

A quick fix for this is to modify the file /etc/sbin/postgrey as following: change the shebang in the first line.


#!/usr/bin/perl -T -w


#!/usr/bin/perl -w

However this also makes the script less safe as well. The better solution is a modification of the script as described on

Also see

Leave a public comment

Your email address will not be published. This is not a contact form! If you want to send me a personal message, use my e-mail address in the imprint.

You can use the following HTML tags in the comment:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>