Package: qpsmtpd
Version: 0.30-5
Severity: normal
Tags: patch

The queue/postfix plugin does not set any flags when dropping mail into
the cleanup socket:
  $strm->print_attr('flags' => '0000');
This prevents the use of (for example)
 virtual_alias_domains = mydomain1.com, mydomain2.org
 virtual_alias_maps = hash:/etc/postfix/virtual
Setting this to CLEANUP_FLAG_MAP_OK (from
$postfix_src/src/global/cleanup_user.h) fixes this behaviour.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.31-ow1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages qpsmtpd depends on:
ii  adduser                       3.63       Add and remove users and groups
ii  debconf [debconf-2.0]         1.4.30.13  Debian configuration management sy
ii  libdigest-hmac-perl           1.01-3     create standard message integrity 
ii  libmail-spf-query-perl        1.997-2    Query SPF (Sender Permitted From) 
ii  libmailtools-perl             1.62-1     Manipulate email in perl programs
ii  libnet-dns-perl               0.48-1     Perform DNS queries from a Perl sc
ii  libnet-perl                   1:1.19-1   Implementation of Internet protoco
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl]    5.8.4-8    Core Perl modules

-- debconf information excluded
--- Qpsmtpd/Postfix.pm.orig     2005-07-06 16:24:53.000000000 +0200
+++ Qpsmtpd/Postfix.pm  2005-10-16 19:38:54.000000000 +0200
@@ -162,7 +162,7 @@
   my %at = $strm->get_attr;
   my $qid = $at{queue_id};
   print STDERR "qid=$qid\n";
-  $strm->print_attr('flags' => '0000');
+  $strm->print_attr('flags' => '0032');
   $strm->print_rec_time();
   $strm->print_rec('REC_TYPE_FROM', $transaction->sender->address|| "");
   for (map { $_->address } $transaction->recipients) {

Reply via email to