Package: postfix-tls
Version: 2.1.5-9
Severity: normal

On installation I had the following in master.cf, as per the 
postfix-anomy-spamassassin howto:

# only used by postfix-tls
#tlsmgr   fifo  -       -       n       300     1       tlsmgr
#smtps    inet  n       -       n       -       -       smtpd -o 
smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#587      inet  n       -       n       -       -       smtpd -o 
smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
filter    unix  -       n       n       -       -       pipe flags=Rq 
user=spamfilter argv=/usr/local/anomy/filter.sh -f ${sender} -- ${recipient}

The postfix-tls installation resulted in this observed behavior:

# only used by postfix-tls
#tlsmgr   fifo  -       -       n       300     1       tlsmgr
#smtps    inet  n       -       n       -       -       smtpd -o 
smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#587      inet  n       -       n       -       -       smtpd -o 
smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
filter    unix  -       n       n       -       -       pipe flags=Rq 
user=spamfilter argv=/usr/local/anomy/filter.sh -f ${sender} -- 
${recipient}trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify

This caused mail to bounce, of course, since the trace line was being appended 
to the pipe.  Obviously the intended behavior was:

# only used by postfix-tls
#tlsmgr   fifo  -       -       n       300     1       tlsmgr
#smtps    inet  n       -       n       -       -       smtpd -o 
smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#587      inet  n       -       n       -       -       smtpd -o 
smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
filter    unix  -       n       n       -       -       pipe flags=Rq 
user=spamfilter argv=/usr/local/anomy/filter.sh -f ${sender} -- ${recipient}
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify

So it was a case of not ensuring a leading linefeed before the 'trace' line in 
master.cf


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8leew
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages postfix-tls depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-18    Berkeley v4.2 Database Libraries [
ii  libgdbm3                    1.8.3-2      GNU dbm database routines (runtime
ii  libsasl2                    2.1.19-1.5   Authentication abstraction library
ii  libssl0.9.7                 0.9.7e-2     SSL shared libraries
ii  postfix                     2.1.5-9      A high-performance mail transport 

-- no debconf information


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

Reply via email to