[Pkg-systemd-maintainers] systemd support for milter-greylist

Christian Dröge person at christian-droege.de
Mon Feb 17 16:41:52 GMT 2014


Am 17.02.2014 14:47, schrieb Michael Biebl:
> I quickly glanced over the sysv init script.
> 
> Looks like milter-greylist uses a dedicated user/group.
> I assume it does the chuid/chgrp itself?
> Otherwise, see man 5 systemd.exec → User/Group=

Yes, it does it itself. The service file starts milter-greylist the same
as the init script in my test (except that it runs in the foreground
under systemd).

> Regarding the ordering with sendmail and postfix:
> 
> Is the primary interface those services talk with milter-greylist, the
> socket defined in the init script, i.e.
> /var/run/milter-greylist/milter-greylist.sock ?
> 
> If so, you could add support for socket activation in milter-greylist
> and avoid any explicit dependencies/orderings with the MTAs using the
> milter-greylist service.

The interface between MTA and milter-greylist is only the socket. I had
a look at the source code of milter-greylist and the socket is created
by libmilter, that is part of sendmail. I would have looked at it, if I
could change it in milter-greylist, but I don't think, that I want to
touch sendmail.


Best regards
Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140217/fbc45e1a/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list