Ah. I misunderstood the nature of your problem. Here is my entire
/etc/procmailrc file, which you may be able to get some help from.
I have added some comments to aid in comprehension.
#################################################################
PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
SHELL=/bin/sh
MAILDIR=/usr/cyrus
LOGFILE=$HOME/.procmail.log
DEFAULT=$HOME/
VERBOSE=yes
# LOGNAME is the mailbox username
LOGNAME = $1
# EXTENSION is the users folder that this message will be delivered to
# ie. leblanc+procmail(_at_)acadia(_dot_)ne(_dot_)mediaone(_dot_)net will be
delivered to
# leblancs procmail folder
EXTENSION = $2
# 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!
# 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 unless you trust them to be intelligent
# I am pretty much the only user accessing this, so I would only have
# myself to blame.
INCLUDERC=/home/$1/.procmailrc
# Add a Lines: header so mutt knows how big the message is.
:0 Bfhw
* H ?? !^Lines:
* 1^1 ^.*$
* -1^0 ($)($)^^
| /usr/bin/formail -Y -f -A "Lines: $="
# If a folder name was given, put it in that folder via deliver
:0 w
* EXTENSION ?? .
| /usr/cyrus/bin/deliver -e -q -m "$EXTENSION" -- "$LOGNAME"
# Only if there was no extension do we try this
:0 wE
| /usr/cyrus/bin/deliver -e -q -- "$LOGNAME"
# This is confusing, but the following lines are correct. For some
# reason the HOST var needs to be unset to tell procmail not to do any
# more processing for a CYRUS delivery.
# Whichever one we tried, failed
EXITCODE = $?
HOST
#################################################################
In my ~/.procmailrc, I have my own spammish filters (mail I get
regularly, but don't want to). Otherwise, the above does just right
for me.
HTH
Lou
On 06/28/01 04:51 PM, Konstantin Kletschke sat at the `puter and typed:
Hi!
no, my (for example) last line in .procmailrc is like:
:0
| /usr/sbin/cyrdeliver -q -e -a konsti -m
user.konsti
no formail. the deliver-program of the cyrus package ist pissed-off
from the "From "-line procmail produces when invoked by konsti.
i am asking for an option procmail not inserting this line or a | sed
blabla | | /usr/sbin/cyrdeliver -q -e -a konsti -m
with blabla doing a similair job (you see, my sed knowledge is :-()
in spite of that i looked into the manpage of formail, and
| formail -I "From " | /usr/sbin/cyrdeliver -q -e -a konsti -m
seems to do the job...
KONSTI
--
Louis LeBlanc
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
leblanc(_at_)acadia(_dot_)ne(_dot_)mediaone(_dot_)net
http://acadia.ne.mediaone.net Ô¿Ô¬
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail