First off, I have googled the subject to death, and have searched
procmail.org and zmailer.org, and cannot find the magic combination to get
this to work. Relevant details:
zmailer version: 2.99.53pre1-3
cyrus IMAP version: 1.6.19
procmail version: 3.22
server: Redhat Linux i386 6.2
I know, the zmailer and cyrus versions are very old, but I can't change
that right now. Without procmail, it works just fine. When I try and throw
procmail into the mix, I cannot get it to deliver the mail. Here is my
/etc/procmailrc:
LOGFILE="/var/log/procmail/procmail.log"
DELIVERMAIL="/usr/cyrus/bin/deliver"
USER="tlichti"
IMAP="$DELIVERMAIL -a $USER -q -m user.$USER"
:0
| $IMAP
:0w
{
EXITCODE=$?
HOST
}
I am forcing $USER at the top, since I couldn't figure out how to get that
variable. I do need to figure that out, since I am not the only one
getting mail...anyway, some more relevant details:
/etc/zmailer/sm.conf:
procm sSPfn /usr/bin/procmail procmail -a $h -d $u
/etc/zmailer/scheduler.conf:
local/*
interval=5m
idlemax=9m
expiry=1d
maxchannel=15
maxring=5
# Do MIME text/plain; Quoted-Printable -> text/plain; 8BIT
# conversion on flight!
#command="mailbox -8"
# Or with CYRUS server the following might do:
#command="sm -8c $channel cyrus"
# Or with PROCMAIL as the local delivery agent:
command="sm -8c $channel procm"
When I send a message to tlichti, the /var/log/maillog looks good:
Mar 7 16:49:30 webmail sm[20375]: S314625AbTCGVtU: to=<tlichti>,
delay=00:00:10, xdelay=00:00:00, mailer=local, stat=ok3
but /var/log/procmail/procmail.log shows this:
From tom(_at_)redpepperracing(_dot_)com Fri Mar 7 16:49:30 2003
Subject: blah
Folder: /usr/cyrus/bin/deliver -a tlichti -q -m user.tlichti 652
user.tlichti: Message contains invalid header
So, what am I missing/doing wrong?
If anyone can help me out here, I would be eternally grateful!
Thanks
Tom
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.437 / Virus Database: 245 - Release Date: 1/6/2003
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail