summaryrefslogtreecommitdiff
blob: 7321eee13adb8ec5730938f8a6dd3e88d2b37a65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Postfix Greylisting Service
Before=postfix.service

[Service]
Type=simple
ExecStart=/usr/sbin/postgrey --inet=127.0.0.1:10030 \
	--pidfile=/var/run/postgrey.pid \
	--group=postgrey --user=postgrey \
	--greylist-text="Greylisted for %%s seconds"
Restart=always
RestartSec=5
TimeoutSec=10

[Install]
WantedBy=multi-user.target