Jon Daley
2007-Aug-23  10:02 UTC
[Logcheck-devel] Bug#439207: postgrey: multiple recipients generates slightly different whitelisted message
Package: logcheck
Version: 1.2.57
Severity: normal
Tags: patch
In ignore.d.server/postgrey, 
change:
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postgrey(\[[0-9]+\])?: action=.+, reason=.+,
(delay=.+, )?client_name=.+,
client_address=.+, sender=.*, recipient=.+
to:
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postgrey(\[[0-9]+\])?: ([0-9A-F]+:
)?action=.+, reason=.+, (delay=.+, )?client_name=.+,
client_address=.+, sender=.*, recipient=.+
The reason is for when a greylisted message has multiple recipients (and
possibly only when destination_recipient_limit is set to
1 in postfix, I didn't check whether that makes a difference) the second
whitelisted message is slightly different than the
first.
Thanks.
-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set
to C)
Shell: /bin/sh linked to /bin/bash
Versions of packages logcheck depends on:
ii  adduser          3.104                   add and remove users and groups
ii  cron             3.0pl1-100              management of regular background p
ii  debconf          1.5.14                  Debian configuration management sy
ii  grep             2.5.1.ds2-6             GNU grep, egrep and fgrep
ii  lockfile-progs   0.1.10                  Programs for locking and unlocking
ii  logtail          1.2.57                  Print log file lines that have not
ii  mailx            1:8.1.2-0.20070424cvs-1 A simple mail user agent
ii  postfix [mail-tr 2.4.3-1                 High-performance mail transport ag
ii  sysklogd [system 1.5-1                   System Logging Daemon
Versions of packages logcheck recommends:
ii  logcheck-database             1.2.57     database of system log rules for t
-- debconf-show failed
