Subject: postgrey: improve documentation for exim integration
Date: Thu, 13 May 2010 19:15:59 +0200
Package: postgrey
Version: 1.31-3.2
Severity: wishlist
Hi,
It would be nice to have README.exim explain things a bit more
straightforwardly. Basically, I had to do this on my system:
1. create a file /etc/exim4/postgrey_acl_smtp_rcpt containing the following
# use postgrey to to greylisting
defer log_message = greylisted host $sender_host_address
set acl_m0 = request=smtpd_access_policy\nprotocol_state=RCPT\nprotocol_name=${uc:$received_protocol}\nhelo_name=$sender_helo_name\nclient_address=$sender_host_address\nclient_name=$sender_host_name\nsender=$sender_address\nrecipient=$local_part@$___domain\ninstance=$sender_host_address/$sender_address/$local_part@$___domain\n\n
set acl_m0 = ${sg{${readsocket{/var/run/postgrey}{$acl_m0}{5s}{}{action=DUNNO}}}{action=}{}}
message = ${sg{$acl_m0}{^\\w+\\s*}{}}
condition = ${if eq{${uc:${substr{0}{5}{$acl_m0}}}}{DEFER}{true}{false}}
warn message = ${sg{$acl_m0}{^\\w+\\s*}{}}
condition = ${if eq{${uc:${substr{0}{7}{$acl_m0}}}}{PREPEND}{true}{false}}
2. add CHECK_RCPT_LOCAL_ACL_FILE=/etc/exim4/postgrey_acl_smtp_rcpt to
/etc/exim4/conf.d/main/000_localmacros
3. change /etc/default/postgrey to have the following options:
POSTGREY_OPTS="--unix=/var/run/postgrey --exim"
4. Restart postgrey and exim4.
Just my 4¢,
cheers, piem
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Acknowledgement sent
to Antonio Radici <[email protected]>:
Extra info received and forwarded to list.
(Tue, 04 Jan 2011 13:24:09 GMT) (full text, mbox, link).
Subject: Re: Bug#581565: postgrey: improve documentation for exim integration
Date: Tue, 4 Jan 2011 13:21:22 +0000
tag 581565 +confirmed pending
thanks
Hi Paul,
thanks for your bug report, the exim user experience can definitely
being improved, this will be fixed in the next upload (1.33-2).
Cheers
Antonio
Acknowledgement sent
to Roger Lynn <[email protected]>:
Extra info received and forwarded to list. Copy sent to Antonio Radici <[email protected]>.
(Wed, 21 Dec 2011 00:18:04 GMT) (full text, mbox, link).
Subject: Re: improve documentation for exim integration
Date: Tue, 20 Dec 2011 23:52:59 +0000
Package: postgrey
Version: 1.32-6.1
Severity: normal
On Tue, 4 Jan 2011 13:21:22 +0000, Antonio Radici <[email protected]> wrote:
> thanks for your bug report, the exim user experience can definitely
> being improved, this will be fixed in the next upload (1.33-2).
Was this change ever applied to the package?
Thanks,
Roger
-- System Information:
Debian Release: 6.0.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable'), (150, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages postgrey depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii libberkeleydb-perl 0.42-1~squeeze1 use Berkeley DB 4 databases from P
ii libnet-dns-perl 0.66-2 Perform DNS queries from a Perl sc
ii libnet-server-perl 0.97-1 An extensible, general perl server
ii perl 5.10.1-17squeeze2 Larry Wall's Practical Extraction
ii ucf 3.0025+nmu1 Update Configuration File: preserv
Versions of packages postgrey recommends:
ii exim4 4.72-6+squeeze2 metapackage to ease Exim MTA (v4)
ii libdigest-sha1-perl 2.13-1 NIST SHA-1 message digest algorith
pn libnet-rblclient-perl <none> (no description available)
ii libparse-syslog-perl 1.10-1 Perl module for parsing syslog ent
postgrey suggests no packages.
-- debconf information:
postgrey/1.32-3_changeport:
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.