Well, I'm probably the only one that didn't know this but for posterities sake:
menno.pieters had it tagged right; if you follow the directions from the walk-through it will get you 99% of the way home. The the necessary RHEL5-specific change occurs in the init script for postgrey:
Code:
# cat /etc/init.d/postgrey
#!/bin/sh
...
prog=postgrey
postgrey=/usr/sbin/$prog
DBPATH=/var/spool/postfix/postgrey
SOCKET=$DBPATH/socket # Remove this line
OPTIONS="--unix=$SOCKET" # Change this line to OPTIONS="--inet=127.0.0.1:60000 -d"
...
By default, the postgrey rpm that you get at
DAG's repo is configured by default to listen on a unix socket. The version I pulled down with yum was postgrey-1.32-1.el5.rf.
After restarting postgrey and running netstat I found this:
Code:
# netstat -nlpa | grep post
tcp 0 0 127.0.0.1:60000 0.0.0.0:* LISTEN 21891/postgrey -d -
unix 2 [ ] DGRAM 7010876 21891/postgrey -d -
The second line makes it appear as if there is still a unix socket being created but there is no LISTEN on that line so it seems to go ignored. I haven't dug through the postgrey perl script yet because I am successfully greylisting!
Thanks menno.pieters!
todd_dsm
Don't forget to Vote for this RFE:
RFE: A place To Display the contents of 'My Documents' Reasoning: It's new, bold, and cool.