[SlugBug] Running Postgrey problem

Bill Best bill.best at commedia.org.uk
Wed Aug 29 10:54:15 BST 2007


hi

i want to install postgrey to do greylist filtering of spam mail on a
email server of mine. i am running FC4.

i installed it using apt-get to sort out any dependencies.

i have installed the following Perl modules using CPAN:

> Net::Server
> IO::Multiplex
> BerkeleyDB (Perl module)

i am running Perl v5.8.6

i noticed that /etc/default/postgrey was missing so i created that by
hand with the following contents:

> POSTGREY_OPTS="--inet=127.0.0.1:60000"

when i start postgrey thus:

> /etc/init.d/postgrey start

then it shows it is running via ps aux thus:

> postgrey  3929  0.0  0.7  13012  8048 ?        Ss   10:40   0:00 /usr/sbin/postgrey -d --unix=/var/spool/postfix/postgrey/socket

but when i check if it's listening with this:

> netstat -anp | grep 60000

i get nowt.

i have appropriately amended /etc/postfix/main.cf but, for the time
being, i don't think this is the problem as i need to get a service
listening on port 60000 before postfix kicks in.

when i try to telnet thus:

> [root at machine ~]# telnet localhost 60000
> Trying 127.0.0.1...
> telnet: connect to address 127.0.0.1: Connection refused
> telnet: Unable to connect to remote host: Connection refused

again, i get nowt.

i've checked iptables and that allows all localhost connections.  i've
put a line in /etc/hosts.allow to allow localhost postgrey connections.

but, again, i get nowt.

any ideas/suggestions much appreciated.

thanks in advance

bill


More information about the SlugBug mailing list