Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 600578

Summary: =mail-filter/rmilter new init-script that is multi-instance ready
Product: Gentoo Linux Reporter: Christian Roessner <c>
Component: Current packagesAssignee: Dirkjan Ochtman (RETIRED) <djc>
Status: RESOLVED WONTFIX    
Severity: normal CC: jstein
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=630990
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: rmilter

Description Christian Roessner 2016-11-23 13:28:02 UTC
Created attachment 454120 [details]
rmilter

I have rewritten the init script, so it is multi instance ready. This is especially useful, if you run rspamd on inbound and outbound servers and you need two rmilters to provide different configuration setups for both mail directions.

Example:

Further instances can be sym linked:

rmilter.outbound -> rmilter

The config would be named:

/etc/rmilter/rmilter.outbound.conf

Make sure to adjust the pidfile parameter in the rmilter config file(s)
Comment 1 Larry the Git Cow gentoo-dev 2020-08-04 02:43:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050a723767e661038df740440b33f5f1982d1482

commit 050a723767e661038df740440b33f5f1982d1482
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-08-04 01:03:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-08-04 02:43:10 +0000

    profiles/package.mask: last-rite mail-filter/rmilter
    
    Bug: https://bugs.gentoo.org/630990
    Bug: https://bugs.gentoo.org/600578
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2020-09-04 00:10:46 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a5dc2ad5193e7b6c771ae2c36bc46573f45cbe7

commit 7a5dc2ad5193e7b6c771ae2c36bc46573f45cbe7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-09-04 00:07:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-09-04 00:08:56 +0000

    mail-filter/rmilter: remove last-rited pkg
    
    Bug: https://bugs.gentoo.org/600578
    Bug: https://bugs.gentoo.org/630990
    Signed-off-by: Sam James <sam@gentoo.org>

 mail-filter/rmilter/Manifest                 |  2 --
 mail-filter/rmilter/files/rmilter.initd      | 27 -----------------
 mail-filter/rmilter/files/rmilter.initd-r1   | 25 ----------------
 mail-filter/rmilter/files/rmilter.initd-r2   | 26 ----------------
 mail-filter/rmilter/metadata.xml             | 15 ----------
 mail-filter/rmilter/rmilter-1.10.0-r1.ebuild | 45 ----------------------------
 mail-filter/rmilter/rmilter-1.10.0-r2.ebuild | 45 ----------------------------
 mail-filter/rmilter/rmilter-1.10.0.ebuild    | 45 ----------------------------
 mail-filter/rmilter/rmilter-1.9.2.ebuild     | 45 ----------------------------
 mail-filter/rmilter/rmilter-9999.ebuild      | 45 ----------------------------
 profiles/package.mask                        |  6 ----
 11 files changed, 326 deletions(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-09-04 00:12:06 UTC
Package removed following last-rites.