Description of problem: postgrey failed to start. postgrey.service operation timed out. Version-Release number of selected component (if applicable): f20 minimal installation. postgrey-1.34-11.fc20.noarch How reproducible: Always. Steps to Reproduce: 1. yum install postgrey 2. systemctl start postgrey.service Actual results: systemd[1]: Starting Postfix Greylisting Service... postgrey[14169]: 2014/01/30-17:59:12 postgrey (type Net::Server::Multiplex) starting! pid(14169) postgrey[14169]: Binding to UNIX socket file "/var/spool/postfix/postgrey/socket" postgrey[14169]: Setting gid to "695 695" postgrey[14169]: Setting uid to "695" systemd[1]: postgrey.service operation timed out. Terminating. postgrey[14169]: 2014/01/30-17:59:17 Server closing! systemd[1]: Failed to start Postfix Greylisting Service. systemd[1]: Unit postgrey.service entered failed state. systemd[1]: postgrey.service holdoff time over, scheduling restart. systemd[1]: Stopping Postfix Greylisting Service... Additional info: Regression after migration from f19 to f20.
Could you remove these lines in the service file cumulatively/independently and try again? --pidfile=/var/run/postgrey.pid \ --group=postgrey \ --user=postgrey \ I've received many similar bug reports recently, hope you can help and feedback some cases.
Removing this one > --greylist-text="Greylisted for %%s seconds" \ resolves the issue. cp -f {/usr/lib,/etc}/systemd/system/postgrey.service sed -i '/--greylist-text=/d' /etc/systemd/system/postgrey.service systemctl daemon-reload systemctl start postgrey.service
*** This bug has been marked as a duplicate of bug 1058654 ***