Package: postfix
Version: 2.5.5-1.1
Severity: normal

Hi,

I've been trying to rewrite 'From:' addresses with the pattern 
<u...@[ip_address]>
with <[email protected]>. I've found that this does work as expected, meaning 
that
the 'Return-Path:' header is correctly rewrited with the new email address:
| canonical_classes = envelope_sender
| canonical_maps = pcre:/etc/postfix/canonical_maps

or 

| sender_canonical_classes = envelope_sender
| sender_canonical_maps = pcre:/etc/postfix/sender_canonical_maps


But the 'header_sender' directive has no effect on the "From:" headers with any 
of
these configurations:
| canonical_classes = header_sender
| canonical_maps = pcre:/etc/postfix/canonical_maps

or 

| sender_canonical_classes = header_sender
| sender_canonical_maps = pcre:/etc/postfix/sender_canonical_maps

Also, using the default values for the canonical_classes and 
sender_canonical_classes
will replace only the "Return-Path:" header.

A simple description by example between these two you can find here:
http://www.mail-archive.com/[email protected]/msg03063.html


This is not a problem with 'postfix' in squeeze (v2.7.1-1). Maybe you can
help to identify the bug and if the fix is not intrussive it could be
backported for the next Lenny point release (5.0.7?).

Thanks


-- System Information:
Debian Release: 5.0.6
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages postfix depends on:
ii  adduser           3.110                  add and remove users and groups
ii  debconf [debconf- 1.5.24                 Debian configuration management sy
ii  dpkg              1.14.29+b1             Debian package management system
ii  libc6             2.7-18lenny4           GNU C Library: Shared libraries
ii  libdb4.6          4.6.21-11              Berkeley v4.6 Database Libraries [
ii  libsasl2-2        2.1.22.dfsg1-23+lenny1 Cyrus SASL - authentication abstra
ii  libssl0.9.8       0.9.8g-15+lenny8       SSL shared libraries
ii  lsb-base          3.2-20                 Linux Standard Base 3.2 init scrip
ii  netbase           4.34                   Basic TCP/IP networking system
ii  ssl-cert          1.0.23                 simple debconf wrapper for OpenSSL

postfix recommends no packages.

Versions of packages postfix suggests:
ii  bsd-mailx [mail-re 8.1.2-0.20071201cvs-3 A simple mail user agent
pn  libsasl2-modules   <none>                (no description available)
pn  postfix-cdb        <none>                (no description available)
pn  postfix-ldap       <none>                (no description available)
pn  postfix-mysql      <none>                (no description available)
ii  postfix-pcre       2.5.5-1.1             PCRE map support for Postfix
pn  postfix-pgsql      <none>                (no description available)
pn  procmail           <none>                (no description available)
pn  resolvconf         <none>                (no description available)
pn  sasl2-bin          <none>                (no description available)
pn  ufw                <none>                (no description available)

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to