auf meinem Debian Wheezy mit Exim4 und Courier-IMAP habe ich Greylistd wie folgt installiert:
Code: Select all
root@host:~# apt-get install greylistd
root@host:~# greylistd-setup-exim4 add -netmask=24
Adding greylistd support to Exim 4 configuration files
/etc/exim4/exim4.conf.template : OK
/etc/exim4/exim4.conf.template : OK
...conf.d/acl/30_exim4-config_check_rcpt: OK
...conf.d/acl/40_exim4-config_check_data: OK
[ ok ] Reloading exim4 configuration files: exim4.
Code: Select all
root@host:~# greylist stats
Statistics since Thu Oct 9 07:39:37 2014 (1 day and 12 hours ago)
------------------------------------------------------------------
0 items, matching 0 requests, are currently whitelisted
0 items, matching 0 requests, are currently blacklisted
0 items, matching 0 requests, are currently greylisted
Code: Select all
root@host:~# tail -f /var/log/exim4/mainlog
2014-10-10 21:34:26 1XcfxK-0002kx-2g <= emailcheck-robot@ct.de H=(web.heise.de) [193.99.144.71] P=esmtps X=TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128 S=2114 id=E1XcfxG-0006Vh-0N.octo10@web.heise.de
2014-10-10 21:34:26 1XcfxK-0002kx-2g => root <root@mydomain.com> R=vdomain T=vmail
2014-10-10 21:34:26 1XcfxK-0002kx-2g Completed
2014-10-10 21:34:28 1XcfxM-0002ky-G8 <= emailcheck-robot@ct.de H=(web.heise.de) [193.99.144.71] P=esmtps X=TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128 S=2114 id=E1XcfxI-0001Ns-9i.octo16@web.heise.de
2014-10-10 21:34:28 1XcfxM-0002ky-G8 => root <root@mydomain.com> R=vdomain T=vmail
2014-10-10 21:34:28 1XcfxM-0002ky-G8 Completed
Code: Select all
root@host:~# greylist list
error: Cannot read from '/var/lib/greylistd/triplets': No such file or directory
Gruß
Jochen