2009-12-16 14:22:09 +00:00
|
|
|
Index: postgrey
|
|
|
|
|
===================================================================
|
2012-11-20 09:46:26 +00:00
|
|
|
--- postgrey.orig
|
|
|
|
|
+++ postgrey
|
2016-01-05 17:03:02 +00:00
|
|
|
@@ -618,7 +618,7 @@ sub main()
|
2008-04-05 02:52:01 +00:00
|
|
|
proto => $opt{inet} ? 'tcp' : 'unix',
|
2016-01-05 17:03:02 +00:00
|
|
|
socketmode => $opt{socketmode} || '0666',
|
2008-04-05 02:52:01 +00:00
|
|
|
user => $opt{user} || 'postgrey',
|
|
|
|
|
- group => $opt{group} || 'nogroup',
|
|
|
|
|
+ group => $opt{group} || 'postfix',
|
|
|
|
|
dbdir => $opt{dbdir} || $DEFAULT_DBDIR,
|
|
|
|
|
setsid => $opt{daemonize} ? 1 : undef,
|
|
|
|
|
pid_file => $opt{daemonize} ? $opt{pidfile} : undef,
|
2016-01-05 17:03:02 +00:00
|
|
|
@@ -830,7 +830,7 @@ B<postgrey> [I<options>...]
|
2008-04-05 02:52:01 +00:00
|
|
|
-d, --daemonize run in the background
|
|
|
|
|
--pidfile=PATH put daemon pid into this file
|
|
|
|
|
--user=USER run as USER (default: postgrey)
|
|
|
|
|
- --group=GROUP run as group GROUP (default: nogroup)
|
|
|
|
|
+ --group=GROUP run as group GROUP (default: postfix)
|
|
|
|
|
--dbdir=PATH put db files in PATH (default: /var/lib/postgrey)
|
|
|
|
|
--delay=N greylist for N seconds (default: 300)
|
|
|
|
|
--max-age=N delete entries older than N days since the last time
|