Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#36520 - [postgrey] - --greylist-text broken in postgrey.service since 1.34-11
Attached to Project:
Community Packages
Opened by Jacob Joseph (jacobjjoseph.org) - Tuesday, 13 August 2013, 19:14 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 17 November 2016, 15:17 GMT
Opened by Jacob Joseph (jacobjjoseph.org) - Tuesday, 13 August 2013, 19:14 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 17 November 2016, 15:17 GMT
|
DetailsSince the disuse of /etc/conf.d/postgrey, the postgrey service has broken passing of the --greylist-text argument. The service file does:
ExecStart=/usr/bin/postgrey --inet=127.0.0.1:10030 \ --pidfile=/run/postgrey/postgrey.pid \ --group=postgrey --user=postgrey \ --daemonize \ --greylist-text="Greylisted for %s seconds" The %s is apparently expanded to "/bin/sh" by the service script, resulting in the process having the following arguments: postgrey 7236 22.5 0.9 61848 16944 ? Ss 15:10 0:00 /usr/bin/postgrey --inet=127.0.0.1:10030 --pidfile=/run/postgrey/postgrey.pid --group=postgrey --user=postgrey --greylist-text="Greylisted for /bin/sh seconds" I prefer the ability to pass other arguments (like --delay) from the config file anyway, so encourage us to go back to it. Was there a reason to get away from it? ~Jacob |
This task depends upon
bug 29396: https://bugs.archlinux.org/task/29396Arch policy is copy .service into /etc/systemd/system and modify it as you want.
# pacman -Q systemd postgrey
systemd 231-4
postgrey 1.36-2
mail server reports:
Recipient address rejected: Greylisted for 300 seconds