View previous topic :: View next topic |
Author |
Message |
mDup Apprentice
Joined: 14 Apr 2006 Posts: 212
|
Posted: Tue Mar 19, 2013 3:02 am Post subject: postgrey --daemonize fails |
|
|
used to work with perl-5.16.2
combination perl-5.16.3 postgrey-1.34-r1 net-server-2.7.0 fails
note that postgrey -does- work without --daemonize
however, with --daemonize (as in /etc/init.d/postgrey) it fails
so:
/usr/sbin/postgrey --inet=127.0.0.1:10030 --pidfile=/run/postgrey.pid --delay=180 '--greylist-text=Greylisted for %s seconds'
works OK
but:
/usr/sbin/postgrey --inet=127.0.0.1:10030 --daemonize --pidfile=/run/postgrey.pid --delay=180 '--greylist-text=Greylisted for %s seconds'
FAILS
# egrep -v '^(#|$)' /etc/conf.d/postgrey
POSTGREY_TYPE="inet"
POSTGREY_HOST="127.0.0.1"
POSTGREY_PORT="10030"
POSTGREY_SOCKET="/var/spool/postfix/private/postgrey"
POSTGREY_PID="/run/postgrey.pid"
POSTGREY_DELAY=180
POSTGREY_TEXT="Greylisted for %s seconds" |
|
Back to top |
|
|
mDup Apprentice
Joined: 14 Apr 2006 Posts: 212
|
Posted: Tue May 07, 2013 5:52 pm Post subject: |
|
|
Hi all
this problem can be fixed by removing -T from
#!/usr/bin/perl -T -w
in the postgrey script
Thanks |
|
Back to top |
|
|
|