procmail
[Top] [All Lists]

Bug in procmail?

1999-09-30 16:32:28
Hello,
 is it correct that procmail requires fullpath to rcfile (if not one in
/etc/procmail)?

 Is it true that rcfile must preceed -m option? (see below in examples).

 Why is procmail "fixing" always the mbox format and leaves only first
From_. All other occurencies are fixed by prepending >. This is meantion
in manpage, it also says that is not done if the user is root. Hou can a
poor user disable this feature? Similar feature exists in formail, but it
seems I'm allowed to disable it at least. ;-) Anyway, it's not nice that
it requests UID=0.

 The reason is, that even I'm able to convert the mailbox to RFC 822 style
with your previous help (converting >From to From). The problem is, that
procmail leaves the first really fixed From, but other appearances just
"fixes" to >From.

 The reason I want to use -m option is that I just want to use procmail to
extract dates and write them down, I don't want it to send the whole
mailbox file to my /var/spool/username.

 Tested even latest release.

host# procmail VERBOSE=on date.rc < new.mbox
procmail: [27802] Thu Sep 30 23:06:27 1999
procmail: Couldn't read "//date.rc"
procmail: Locking "/var/mail/root.lock"
procmail: Assigning "LASTFOLDER=/var/mail/root"
procmail: Opening "/var/mail/root"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/mail/root.lock"
 Subject: 0.7
  Folder: /var/mail/root
812400
host#

host# procmail VERBOSE=on -m `pwd`\/date.rc < new.mbox
procmail: [27793] Thu Sep 30 23:03:53 1999
procmail: Couldn't read "//-m"
procmail: Rcfile: "/scratch/krb4/krb4.archive/date.rc"
procmail: Assigning "MAILDIR=/"
procmail: Assigning "PMSRC=/etc/procmail"
procmail: Assigning "LOGFILE=procmail.log"
procmail: Opening "procmail.log"
host#

host# procmail VERBOSE=on `pwd`\/date.rc -m < new.mbox
procmail: [27798] Thu Sep 30 23:04:24 1999
procmail: Rcfile: "/scratch/krb4/krb4.archive/date.rc"
procmail: Assigning "MAILDIR=/"
procmail: Assigning "PMSRC=/etc/procmail"
procmail: Assigning "LOGFILE=procmail.log"
procmail: Opening "procmail.log"
host#


--
Martin Mokrejs - PGP 5.0i key at: finger://mail.natur.cuni.cz/mmokrejs
<mmokrejs(_at_)natur(_dot_)cuni(_dot_)cz> Faculty of Science, The Charles 
University


<Prev in Thread] Current Thread [Next in Thread>