Score:0

postgrey via systemctl doesn't create socket

cn flag

If I run it /usr/sbin/postgrey with parameteres it works as usual. If i use /etc/init.d/postgrey restart or systemctl restart postgrey - it doesn't.

It looks like it doesn't read /etc/default/postgrey at all, but how to debug this? And if so, how to force it?

/etc/default/postgrey:

POSTGREY_OPTS="--unix /var/spool/postfix/postgrey/socket"
anx avatar
fr flag
anx
Please [edit] your question to show the `/etc/default/postgrey` contents and the output of `systemctl --no-pager --full status postgrey` it will show the effective options used. The systemd unit (possibly generated to defer to the init script) or the init script should be more or less human-readable. Start with that and relevant logs.
cn flag
@anx - half-edited - later I add status
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.