deliver problems
Dave O
cxreg at pobox.com
Thu Feb 20 19:59:21 EST 2003
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:cxreg at pobox.com]
> 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: <admin at simutronics.com>)
> >
> > ----- 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: <admin at simutronics.com>)
> >
> > ----- 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
> > ------------------------
> >
> >
> >
> >
>
>
>
More information about the Info-cyrus
mailing list