BTW, this is my /etc/procmailrc, in case it is helpful:
SHELL=/bin/sh
MAILDIR=/usr/cyrus
LOGFILE=$HOME/.procmail.log
VERBOSE=yes
# Place any antispam or other universal filters here. Don't
# write to files or pipe to programs unless you are ABSOLUTELY
# SURE you know what you are doing!
# :0 Bfh:$HOME/.procmail.lock
# * H ?? !^Lines:
# * -1^0
# * 1^1 ^.*$
# | /usr/bin/formail -A "Lines: $="
# this enables automated procmail recipe creation for users;
# roll your own tool to allow creation of procmail recipes on a
# per-user
# basis and place them there, but don't let users edit their own
# recipes
# INCLUDERC=/var/cyrus/procmailrcs/$1
# make sure EXITCODE is clear: then it will take the value of the TRAP
# return
EXITCODE=""
TRAP="/usr/cyrus/bin/deliver -e -m $2 -- $1"
# Procmail voodoo. The TRAP handles the mail delivery. We have to
# prevent procmail from attempting a second delivery.
#
# in one line, kill procmail:
HOST=acadia
The single filter recipe is intended to add a 'Lines:' header if it
doesn't already exist, and nothing more. When it is commented out, as
it is now, things work fine. When I uncomment it, things crap out as
below.
Thanks again.
On 06/15/01 03:26 AM, Louis LeBlanc sat at the `puter and typed:
> Hmm. I am using 3.14, but I am not using maildir. I am using imap.
> Either way, like I said, procmail works fine if the 'Lines' header
> recipe is commented out. Here is what I find in the ~/.procmail.log:
>
> procmail: [3167] Fri Jun 15 02:58:30 2001
> procmail: Match on ! "^Lines:"
> procmail: Score: -1 -1 ""
> procmail: Score: 30 29 "^.*$"
> procmail: Locking "/home/leblanc/.procmail.lock"
> procmail: Executing "/usr/bin/formail,-A,Lines: 29"
> procmail: Unlocking "/home/leblanc/.procmail.lock"
> procmail: Assigning "EXITCODE="
> procmail: Assigning "TRAP=/usr/cyrus/bin/deliver -e -m -- leblanc"
> procmail: Assigning "HOST=acadia"
> procmail: Locking "/var/spool/mail/leblanc.lock"
> procmail: Error while writing to "/var/spool/mail/_fx,WIbK7.acadia"
> procmail: Lock failure on "/var/spool/mail/leblanc.lock"
> procmail: Assigning "LASTFOLDER=/var/spool/mail/leblanc"
> procmail: Opening "/var/spool/mail/leblanc"
> procmail: Error while writing to "/var/spool/mail/leblanc"
> From [EMAIL PROTECTED] Fri Jun 15 02:58:30 2001
> Subject: test
> Folder: **Bounced** 0
> procmail: Executing "/usr/cyrus/bin/deliver,-e,-m,--,leblanc"
> leblanc: Message contains invalid header
>
> This is wierd. What is /var/spool/mail/leblanc supposed to be? I am
> using cyrus imap, and all mail is stored in a separate mail partition.
> Is there something else I am missing here?
>
> I apologise for taking this thread so far off topic, but
> http://www.procmail.org is currently unavailable. I have no other
> resources handy. Perhaps this weekend I can do a search if nobody can
> give me the answer by then.
>
> Thanks again!
> Lou
>
>
> On 06/14/01 11:20 PM, Igor Pruchanskiy sat at the `puter and typed:
> > What version of procmail are you using ?
> > I am using procmail-3.15, which is the only version that does not need to
> > be patched to use Maildir. Also make sure that it finds formail. Try
> > giving in the full path and see what procmail log file has to say about
> > this.
> >
> > amorphis:~$ grep LOG .procmailrc
> > LOGFILE = $HOME/.procmail.log
> >
> > P.S. If you are using procmail-3.15 make sure you have / at the end of the
> > mailbox path, otherways it will make it mbox instead of Maildir
> >
> > Here is my .procmailrc
> > http://amorphis.linuxinside.com/procmailrc
> >
> > igor
> >
> > On Fri 15 Jun 2001, Louis LeBlanc wrote:
> > > Hey, thanks for this, but I am having a problem with it.
> > > I entered the lines you gave exactly to my /etc/procmailrc, and I have
> > > reconfigured sendmail.cf to use procmail as the delivery agent.
> > > Unfortunately, I get the following:
> > > sendmail[2826]: BAA02824: BAA02826: DSN: Data format error
> > > If I remove the recipe you gave, I get no problem. Are these all
> > > spaces, or are there tabs within?
> > >
> > > Any ideas? I appreciate any help.
> > >
> > > Lou
> > >
> > > On 05/30/01 09:17 AM, Igor Pruchanskiy sat at the `puter and typed:
> > > > add to your .procmailrc
> > > >
> > > > :0 Bfh
> > > > * H ?? !^Lines:
> > > > * -1^0
> > > > * 1^1 ^.*$
> > > > | formail -A "Lines: $="
> > > >
> > >
> > > --
> > > Louis LeBlanc
> > > Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> > > [EMAIL PROTECTED]
> > > http://acadia.ne.mediaone.net ?©??
> > >
> >
> > --
> > <?php $company = 'WebSideStory, Inc.'; $contact_info = array(
> > 'addr1'=>'10182 Telesis Ct., 6th Floor','addr2'=>'San Diego, CA, 92121',
> > 'p'=>'858.546.1182 x464','f'=>'858.546.0480','e'=>'[EMAIL PROTECTED]');
> > while(list($k,$v)=each($contact_info)) { echo "$v<br>\n"; } ?>
> >
>
> --
> Louis LeBlanc
> Fully Funded Hobbyist, KeySlapper Extrordinaire :)
> [EMAIL PROTECTED]
> http://acadia.ne.mediaone.net ΤΏΤ¬
--
Louis LeBlanc
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
[EMAIL PROTECTED]
http://acadia.ne.mediaone.net ΤΏΤ¬