When using sieve filters with the Postfix mta I lose bounced and rejected 
mail. I created a test account which rejects all mail. The mail is 
delivered using the "cyrus" transport from Postfix, which pipes to the 
cyrus deliver prg. The maillog shows that the mail has been delivered with 
status=sent.

However the mail is not filed in the INBOX (as was expected because of the 
reject command in the sieve script). No bounce or reject message is 
generated.

What is going wrong?

----------------------------------------------------
Sieve script (.sieve file in /home/fs-fsc)
----------------------------------------------------
require "reject";

reject "dont want email from you";

----------------------------------------------------
Mail log
----------------------------------------------------
Oct 19 12:38:28 zoe postfix/pipe[1572]: 778973D09: 
to=<[EMAIL PROTECTED]>, rela
y=cyrus, delay=4, status=sent (zoe.sbs-online.com)


----------------------------------------------------
Postfix master.cf
----------------------------------------------------
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (50)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
pickup    fifo  n       n       n       60      1       pickup
cleanup   unix  -       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       n       300     1       nqmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
smtp      unix  -       -       n       -       -       smtp
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
local     unix  -       n       n       -       -       local
lmtp      unix  -       -       n       -       -       lmtp
cyrus     unix  -       n       n       -       -       pipe
    flags=R user=cyrus argv=/usr/local/cyrus/bin/deliver -e -m ${extension} 
${user}
uucp      unix  -       n       n       -       -       pipe
    flags=F user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail 
($recipient)
ifmail    unix  -       n       n       -       -       pipe
    flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
    flags=F. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop 
$recipient

Reply via email to