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.

Old:

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

New:

#!/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 https://github.com/yasuhirokimura/postgrey/commit/9673b54064691a5b9c295ffea340d8a1f9ee1cb8.

Also see https://bugs.launchpad.net/ubuntu/+source/postgrey/+bug/1252441.

Leave a Comment

Your email address will not be published. Required fields are marked *