#554239 postfix compatibility

Package:
milter-greylist
Source:
milter-greylist
Description:
Greylist milter for sendmail
Submitter:
Harald Jenny
Date:
2011-07-20 20:00:09 UTC
Severity:
wishlist
#554239#5
Date:
2009-11-03 20:52:55 UTC
From:
To:
To ease running milter-greylist with a chrooted postfix smtpd please allow changing
ownership and mode for the milter socket by the init script (idea was taken from
spamass-milter) - the attached patch does this by introducing two new variables
($SOCKETMODE and $SOCKETOWNER) in default file and using their values in the init
script.

#554239#10
Date:
2010-03-15 15:35:15 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
milter-greylist, which is due to be installed in the Debian FTP archive:

milter-greylist_4.3.5-1.debian.tar.gz
  to main/m/milter-greylist/milter-greylist_4.3.5-1.debian.tar.gz
milter-greylist_4.3.5-1.dsc
  to main/m/milter-greylist/milter-greylist_4.3.5-1.dsc
milter-greylist_4.3.5-1_i386.deb
  to main/m/milter-greylist/milter-greylist_4.3.5-1_i386.deb
milter-greylist_4.3.5.orig.tar.gz
  to main/m/milter-greylist/milter-greylist_4.3.5.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 554239@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Martin <pm@debian.org> (supplier of updated milter-greylist package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
Format: 1.8
Date: Mon, 15 Mar 2010 14:57:28 +0000
Source: milter-greylist
Binary: milter-greylist
Architecture: source i386
Version: 4.3.5-1
Distribution: unstable
Urgency: low
Maintainer: Paul Martin <pm@debian.org>
Changed-By: Paul Martin <pm@debian.org>
Description:
 milter-greylist - Greylist milter for sendmail
Closes: 554239 573936
Changes:
 milter-greylist (4.3.5-1) unstable; urgency=low
 .
   * New upstream release
   * Switch to dpkg-source 3.0 (quilt) format
   * Add DEP-3 tags to all patches.
   * Update to Debian Policy 3.8.4 (no changes)
   * New patch:
     + patches/573936-dump_lex: Fixes parsing a dump with some awkward
       non-RFC822 email addresses. (Closes: #573936)
   * Updated patch:
     + patches/greylist.conf: Document what to do for Postfix use.
       (Closes: #554239)
Checksums-Sha1:
 7b2de8a46a084ac22d893541c98f4f6e9ecc5e8e 1742 milter-greylist_4.3.5-1.dsc
 9588a47d6d773373fe4c24391889729879a74f6e 218787 milter-greylist_4.3.5.orig.tar.gz
 a073b2469b7d2b888449d1b3f6ad6739c17bcb6e 10322 milter-greylist_4.3.5-1.debian.tar.gz
 982ba0ec9b2952685b91a61fcc0d3704f4b7342d 129464 milter-greylist_4.3.5-1_i386.deb
Checksums-Sha256:
 14f1d15a8827ae45332dd420c1dd78e6a71fdd0ba44c1c9a331135383acc748e 1742 milter-greylist_4.3.5-1.dsc
 16987d5d68315c61c767ebceba039b9c48f4e97a53a28f3e821d3c4db4009a55 218787 milter-greylist_4.3.5.orig.tar.gz
 1703e77d34f07e9aaa249e35ae4508cda7ec89172779b6853df60fb2fd7cb10a 10322 milter-greylist_4.3.5-1.debian.tar.gz
 e121107e2aba17c60cae8effbe941b107da2f79ff7d59bed5384ed1152b4e46f 129464 milter-greylist_4.3.5-1_i386.deb
Files:
 c835619928c6cbedd053911f5f8367aa 1742 mail extra milter-greylist_4.3.5-1.dsc
 66fc347ddda423d0047dc96f6e26db7c 218787 mail extra milter-greylist_4.3.5.orig.tar.gz
 b0ef4fbe5aade4220527c5ed4aa798e1 10322 mail extra milter-greylist_4.3.5-1.debian.tar.gz
 11dc8d4308715bd01d060707877b39c8 129464 mail extra milter-greylist_4.3.5-1_i386.deb
iQIVAwUBS55LRGA7gyZh+cpTAQi65RAAkWzYKmTg0o6QhQ1InowqoOlAUCaZBB7b
ZpWYwZaoHd68PUBUKFl34K3fsS59BsLY9sETZWHTH6Ms8Feo5Kh3zMV7X5WaQYl2
5PhCjKxwAROCb5XYTsbHbBHXbTng2yOzM6i2V8v9qGCkT5/d2h5ZqKnXi1bd8v9O
oUEnuuzZUdOVrsn+Ur2YihneupMP9V7xsK8NyvaBpHOywYOjt6VqIxqVOVSrVlNL
J6Cy4xTBgJhZcQ5TeZGoG0an/zi5w6hOgH+Zc5Wf8bnaeoRujf+lnj5hYDEdki70
T7jMlNI+BidTzyXJWpAParORiCA2rPfqSMMJH2fQach9mjnbaxTqkR8+sLWYxIsh
KzgRnTZMCgmZBfYlfznwv9eRZWUoh5n0tCIKeAE1finRW40XTOtSv6IfjGwAbTQJ
du5i83MnW8s70p0nwCtANAJiBws79vIEidPWuukToC+0aiOLZDQx3mRHkpPSrzjm
rFWezM0jwdXKALI+IROoeWYydM0iSR9AgDL/k5XfgAy+sLXOy8H49zZVIbboYqxy
uJZcVvAYlq4bh3AIPC3ojanExkDC+b4YYgs6R0wqMndYwiYtDjFaRTabyVDhpHOf
KkpEQh8mXLK/62cYNWucvitpFBOF54ZoQP/6E2GzX5OuitzcJBEEOwSRDwhS6C9Y
+7FXUHqYJ6A=
=BcsH
-----END PGP SIGNATURE-----

#554239#15
Date:
2010-03-15 21:47:58 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
milter-greylist, which is due to be installed in the Debian FTP archive:

milter-greylist_4.3.5-2.debian.tar.gz
  to main/m/milter-greylist/milter-greylist_4.3.5-2.debian.tar.gz
milter-greylist_4.3.5-2.dsc
  to main/m/milter-greylist/milter-greylist_4.3.5-2.dsc
milter-greylist_4.3.5-2_i386.deb
  to main/m/milter-greylist/milter-greylist_4.3.5-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 554239@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Martin <pm@debian.org> (supplier of updated milter-greylist package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
Format: 1.8
Date: Mon, 15 Mar 2010 21:10:19 +0000
Source: milter-greylist
Binary: milter-greylist
Architecture: source i386
Version: 4.3.5-2
Distribution: unstable
Urgency: low
Maintainer: Paul Martin <pm@debian.org>
Changed-By: Paul Martin <pm@debian.org>
Description:
 milter-greylist - Greylist milter for sendmail
Closes: 554239
Changes:
 milter-greylist (4.3.5-2) unstable; urgency=low
 .
   * Updated patches:
     + patches/greylist.conf: Make the init script parse the config file
       to find out which user it runs as.
     + patches/rc-debian.socket: ditto.
       This prevents the confusion of two files specifying what the socket
       file and user should be. Also removed from defaults. (Closes: 554239)
Checksums-Sha1:
 488373151187626b7dea584a038f6d9a299cceb7 1742 milter-greylist_4.3.5-2.dsc
 05aceeafe9ddee4cb874b15f09665201728cb37a 10393 milter-greylist_4.3.5-2.debian.tar.gz
 23d6c4ac2adad94dfbbe7a06a947b36a38011cf4 129626 milter-greylist_4.3.5-2_i386.deb
Checksums-Sha256:
 2e8c80e235e027f394eeb962a140230be7c1ed23dcf8ea093754aec0aa0760ce 1742 milter-greylist_4.3.5-2.dsc
 4b3284d0065a409965f957d0a3d29f115070bd3f91bb6ca214c9a2548edb327f 10393 milter-greylist_4.3.5-2.debian.tar.gz
 3a6ee467fc405ee40bd0a0164eee4490029afcba8f40d907f5e087b9dac99577 129626 milter-greylist_4.3.5-2_i386.deb
Files:
 4f0706eec2b7ef76d4b9cd239b4660de 1742 mail extra milter-greylist_4.3.5-2.dsc
 67f6f41415529bba7c5d0263784f9771 10393 mail extra milter-greylist_4.3.5-2.debian.tar.gz
 522da400d8754ace695746c571dbac68 129626 mail extra milter-greylist_4.3.5-2_i386.deb
iQIVAwUBS56mmWA7gyZh+cpTAQi9JA/+Izw8JgpU37INXaoSQIAB4H8dpNjzsdJD
5r+fqvS/PZykcPW1L0vub3driFwivNB71/EIMqnj7WS+g46eCZQK1XEsfpGHPKoB
rK7rTJbSw7BydnIGbS6ONonpqz/1hDtgXYu9snzyljGzhw98O/nz96Hvm7Rku6iO
0658AmYViafPYBvYRb64g7Dn4whD85fbjwsHqcL5+0REeAoMdKVtJEBPN5v9/YYy
tyIDndLMbUaoCIgROQh2lhHKCDre6czpQk9Lxq4x0IzCWDIbyNgrI67Q4NSXx6ji
TgnkGAmOzlX891EITK+jfRShDGmUJHZIe4nZYTtGVSnysmi+B60ttueWSZnL4arg
2XPTVWsesdDhbqqK/vVcS+2nku4pI9dyLd9T6t81pqdT9j/rDdlJWPfswd26D26J
6zfgI7w+GdhaBsA4d4m4OTq299zCdwAyeIEqB4nAnB1HHQca8v3kabo37czWAgRn
dkmbQgX0c0rs/bKSmLX/jDUzw0muaTBRQNEvnkoE4jZbSoLc3w81CumoJNxyugxf
y54JQM+bNO/dRJJVEyi2CikgqLv7Nvgf7BWzCyA7SYdjd0hAd3pEfKaZSlTZcPkU
Jt2/VN+WrjF8V2AP7k/sGC9R8PXHoMtC63gKi32JnMJaGrpbny6P9rycQyk9iamw
ui1+StRbjb4=
=z6mw
-----END PGP SIGNATURE-----

#554239#22
Date:
2010-03-17 02:06:01 UTC
From:
To:
reopen 554239
thanks

I think this says it all:

milter-greylist (4.3.5-3) unstable; urgency=low

  * Revert back to 4.3.5-1 code and put on a brown paper bag.
    The changes don't work.

#554239#27
Date:
2010-06-08 20:50:05 UTC
From:
To:
Hi Paul,

it seems like I have a working solution:

mkdir /var/spool/postfix/milter-greylist/
chmod 2755 /var/spool/postfix/milter-greylist/
chown greylist.postfix /var/spool/postfix/milter-greylist/

in /etc/milter-greylist/greylist.conf add a line:
socket "/var/spool/postfix/milter-greylist/milter-greylist.sock" 660

in /etc/default/milter-greylist add a line:
SOCKET="/var/spool/postfix/milter-greylist/milter-greylist.sock"

(maybe you should think about dropping /etc/default/milter-greylist because this duplicates all the setting from /etc/milter-greylist/greylist.conf)

Kind regards
Harald Jenny

#554239#32
Date:
2011-07-20 19:29:28 UTC
From:
To:
Hello,

I have attached a new patch which will solve the problem for the usage
of milter-greylist with postfix (with a chrooted smtpd(8)).