|
|
3fb603a |
# Postgrey offers 2 listening types, --inet and --unix. As default, Fedora
|
|
|
3fb603a |
# postgrey works under UNIX socket, but, changing to TCP socket on user's own
|
|
|
3fb603a |
# is also available, for instance, let it work at 10023 port of localhost:
|
|
|
3fb603a |
# --inet=10023
|
|
|
3fb603a |
# To be more detailed, there is another way if you still run it at localhost:
|
|
|
82ec588 |
# --inet=127.0.0.1:10023
|
|
|
3fb603a |
POSTGREY_TYPE="--unix=/var/spool/postfix/postgrey/socket"
|
|
|
3fb603a |
|
|
|
3fb603a |
# If postgrey works under UNIX socket way, PID file can be specified to
|
|
|
3fb603a |
# custom location, note that no need to set this if postgrey is working
|
|
|
3fb603a |
# under TCP socket way.
|
|
|
3fb603a |
POSTGREY_PID="--pidfile=/var/run/postgrey.pid"
|
|
|
3fb603a |
|
|
|
3fb603a |
# Name of group which postgrey belongs, default is postgrey
|
|
|
3fb603a |
POSTGREY_GROUP="--group=postgrey"
|
|
|
3fb603a |
|
|
|
3fb603a |
# Name of user which postgrey belongs, default is postgrey
|
|
|
3fb603a |
POSTGREY_USER="--user=postgrey"
|
|
|
3fb603a |
|
|
|
3fb603a |
# DELAY
|
|
|
3fb603a |
POSTGREY_DELAY="--delay=60"
|
|
|
3fb603a |
|
|
|
3fb603a |
# For more options can be used, please read manpage or execute `postgrey -h`.
|
|
|
3fb603a |
# Custom options.
|
|
|
3fb603a |
POSTGREY_OPTS=""
|