procmail
[Top] [All Lists]

Possible formail problem?

1998-08-08 12:36:14

Hi all,

I've discovered that biff will not work when formail (or any other
program such as cat) is used to send the mail to a file.  For example,

:0:
* ^(Apparently-)?(To:|Cc:).*mjm
$DEFAULT

will send mail to the $DEFAULT mailbox, and create a log entry 
procmail: Notified comsat: "mjm(_at_)67865-/var/mail/mjm"

However, if the following is used


:0:
* ^(Apparently-)?(To:|Cc:).*mjm
| $FORMAIL -A"X-Sorted: Default Mail" >> $DEFAULT

biff will notify the terminal with the first message in the default mail
folder (/var/mail/$USER, in this case), not using any offset or anything.
It creates the following Log entry:

procmail: Notified comsat: "mjm(_at_)- $FORMAIL -A"X-Sorted: Default" 
$DEFAULT"

Notice how the offset and the mailbox location are not printed.  Is there
any way to get around this while still using formail process the mail?


Thanks,
Mark Miller
mjm(_at_)bnet(_dot_)org

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