FS#61855 - [spamassassin] Allow local socket connection instead of just TCP/IP connection
Attached to Project:
Arch Linux
Opened by AMM (amish) - Monday, 25 February 2019, 09:57 GMT
Last edited by Florian Pritz (bluewind) - Sunday, 28 April 2019, 12:30 GMT
Opened by AMM (amish) - Monday, 25 February 2019, 09:57 GMT
Last edited by Florian Pritz (bluewind) - Sunday, 28 April 2019, 12:30 GMT
|
Details
Description:
Most daemon softwares (postgresql, clamav etc) now support connection over socket in addition to over TCP/IP. Spamassassin (spamd) has support for unix sockets too. But current spamassassin.service file does not make use of one. Unix sockets can make spamc/spamd connection and communication faster and also less resource hungry. I know I can add and override but it would be nice to have it by default as it adds to optimization too. Suggested changes to /usr/lib/systemd/system/spamassassin.service -ExecStart=/usr/bin/vendor_perl/spamd -x -u spamd -g spamd +ExecStart=/usr/bin/vendor_perl/spamd -x -u spamd -g spamd --listen=/run/spamd/spamd.sock --listen=localhost New file: $ cat /usr/lib/tmpfiles.d/spamd.conf d /run/spamd 0755 spamd spamd - Thank you. Additional info: * package version(s) All version of spamassassin * config and/or log files etc. As above. |
This task depends upon
Closed by Florian Pritz (bluewind)
Sunday, 28 April 2019, 12:30 GMT
Reason for closing: Implemented
Additional comments about closing: spamassassin 3.4.2-2
Sunday, 28 April 2019, 12:30 GMT
Reason for closing: Implemented
Additional comments about closing: spamassassin 3.4.2-2