Would the LOGFILE statement go into the .procmailrc recipe? Also, I have MIMEDefang (calling SpamAssassin and ClamAV virus scanner). Here are some of the headers that get added to all of our mail.
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang) X-Spam-Status: No, hits=-1.6 required=6.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,KNOWN_MAILING_LIST,MONTH_TRIAL, NO_REAL_NAME,QUOTED_EMAIL_TEXT,SPAM_PHRASE_00_01, USER_AGENT_PINE version=2.43 X-Spam-Level: X-UIDL: Ao~!!'Y~!!c2M"!'7^"! It seems to me LMTPD is rejecting the messages because of header problems. Though I can not find any logging lmtpd does. I next tried disabling MIMEDefang, took it out of my sendmail.mc remade sendmail.cf, and I still can not get LMTPD to deliver a message into the message store. Are there any know issues between cyrus and mimedefang? I really don't want Cyrus doing any validation for me. I simply want it to deliver the [EMAIL PROTECTED]@#$_ messages into the mailstores.. is there a way to turn off all of the message/header validation checks? I'm really pulling my hair out over this. This _should_ be that difficult. I'm must have done something fundamentally wrong in my installation. Any help would be greatly appreciated. Thanks, Jim -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave O Sent: Thursday, February 20, 2003 6:59 PM To: James Miller Cc: [EMAIL PROTECTED] Subject: RE: deliver problems One thing you can try is to log what procmail does with a directive like this: LOGFILE=/var/log/mail/procmail.log which might give you some useful information. You could also try delivering the mail to a standard mbox file and examining it to see if theres any other bogus headers that might be causing cyrus to choke. Good luck. Dave On Thu, 20 Feb 2003, James Miller wrote: > Thank you for the suggestion. I added the formail line to the .procmailrc, > but I still am not getting an of the messages delivered to the mailbox. I'm > not even seeing procmail even calling /usr/cyrus/deliver in my mail logs (we > use procmail for alot of other things -- mainly spam checking). I'm sure > I'm missing something stupid. Is there anything else that I could be > missing? > > > Thanks again =) > Jim > > > -----Original Message----- > From: Dave O [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 20, 2003 4:22 PM > To: James Miller > Subject: Re: deliver problems > > > > Hi, I just answered another guy a few days ago with the same exact > problem. Put this at the top of your procmailrc: > > :0hfw > | /usr/bin/formail -I 'From ' > > the problem is the "From ..." header added by your MTA. > > Dave > > On Thu, 20 Feb 2003, James Miller wrote: > > > Hi all, > > > > I'm having trouble using /usr/cyrus/deliver for delivering mail to > > mailstore. And am hoping someone else has run into this problem before. > > I'm sure it's something stupid on my part. While testing, I'm using > > procmail to deliver new messages. Here's the .procmailrc receipt I'm > using: > > ---------------------- > > LOGNAME = $1 > > EXTENSION = $2 > > > > :0 w > > * EXTENSION ?? . > > | /usr/cyrus/bin/deliver -a "$LOGNAME" -e -q -m "$EXTENSTION" -- > "$LOGNAME" > > > > # If no Extension we try this > > :0 wE > > | /usr/cyrus/bin/deliver -a "$LOGNAME" -e -q -- "$LOGNAME" > > > > # Whichever one we tried, failed > > EXITCODE = $? > > HOST > > ----------------------- > > > > When I send a message it gets bounced back with the following errors: > > ------------------------ > > The original message was received at Thu, 20 Feb 2003 11:44:13 -0600 > > from NTAdmin.simutronics.com [198.83.204.82] > > > > ----- The following addresses had permanent fatal errors ----- > > "|/usr/cyrus/bin/deliver -m user.admin admin" > > (reason: Data format error) > > (expanded from: <[EMAIL PROTECTED]>) > > > > ----- Transcript of session follows ----- > > admin+user.admin: Message contains invalid header > > 501 5.6.0 Data format error > > ------------------------ > > The original message was received at Thu, 20 Feb 2003 11:40:21 -0600 > > from NTAdmin.simutronics.com [198.83.204.82] > > > > ----- The following addresses had permanent fatal errors ----- > > "|/usr/cyrus/bin/deliver -m user.admin admin > > (reason: Data format error) > > (expanded from: <[EMAIL PROTECTED]>) > > > > ----- Transcript of session follows ----- > > 553 5.0.0 "|/usr/cyrus/bin/deliver -m user.admin admin... Unbalanced '"' > > admin+user.admin: Message contains invalid header > > 501 5.6.0 Data format error > > ------------------------ > > > > > > > > > > >