Problem bogofilter and cyrus

MisterM misterm at worldpilot.nl
Wed Apr 30 16:33:26 CEST 2003


Hello all,

I'm trying to install bogofilter on an debian distro with postfix and cyrus
als mail agent.
But every time when I try to sent a message I get the folowing error back:

Diagnostic-Code: X-Postfix; data format error. Command output: info: Message
has no header/body separator _

First I thougt that it was a problem between postfix and bogofilter, but
after I inspected the mail.info file I found out that Cyrus is responsible
for generating this error.


Part of the mail.info log:

Apr 29 10:05:24 easygate postfix/qmgr[30672]: D8354146BB:
from=<admin at michel.nlcom.nl>, size=1452, nrcpt=1 (queue active)
Apr 29 10:05:24 easygate postfix/smtpd[30780]: disconnect from
r233.intra.nlcom.nl[172.17.6.233]
Apr 29 10:06:05 easygate postfix/pipe[30784]: D8354146BB:
to=<info at michel.nlcom.nl>, relay=filter, delay=42, status=sent
(easygate.michel.nlcom.nl)
Apr 29 10:06:05 easygate postfix/pickup[30671]: 68E12146C7: uid=612
from=<admin at michel.nlcom.nl>
Apr 29 10:06:05 easygate postfix/cleanup[30782]: 68E12146C7:
message-id=<20030429080605.68E12146C7 at easygate.michel.nlcom.nl>
Apr 29 10:06:05 easygate postfix/qmgr[30672]: 68E12146C7:
from=<admin at michel.nlcom.nl>, size=293, nrcpt=1 (queue active)
Apr 29 10:06:15 easygate postfix/local[30830]: 68E12146C7:
to=<info at michel.nlcom.nl>, relay=local, delay=10, status=sent
("|/usr/local/StorageMailer/mail.local.sh info")
Apr 29 10:06:15 easygate postfix/pipe[30848]: 68E12146C7:
to=<info at michel.nlcom.nl>, relay=cyrus, delay=10, status=bounced (data
format error. Command output: info: Message has no header/body separator _ )

When I test the filter in the console it works fine. When I test the setup
without bogofilter it works fine to.


I use the folowing settings in the master.cf from postfix:

# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (50)
# ==========================================================================
#smtp     inet  n       -       -       -       -       smtpd
#smtp     inet  n       -       n       -       -       smtpd -o
content_filter=filter:dummy
smtp      inet  n       -       n       -       -       smtpd -o
content_filter=filter:


cyrus     unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m ${extension} ${user}


filter   unix  -       n       n       -       -       pipe
    user=filter argv=/usr/local/bin/filter.sh -f ${sender} -- ${recipient}



Thanx in advance for all your help

Greetz MisterM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bogofilter.org/pipermail/bogofilter/attachments/20030430/94e96c7b/attachment.html>


More information about the Bogofilter mailing list