KURAAKU Deibiddo <[EMAIL PROTECTED]> writes:

> i'm using TMDA with qmail, and was hoping to be able to use biff (a mail 
> notification command) in conjunction with this.  so far, i've found that i can 
> put:
>
> | qbiff /home/mordeth/Mailbox
> | preline /opt/tmda/bin/tmda-filter /home/mordeth/Mailbox

The tmda-filter program does not take a destination mailbox on the
command line.  Place it on a separate line after tmda-filter is run:

| qbiff /home/mordeth/Mailbox
| preline /opt/tmda/bin/tmda-filter
/home/mordeth/Mailbox

However, a message may not make it through tmda-filter; if a
confirmation is sent, the message is stored in a pending queue
awaiting the sender's reply.  That means that many of the biff
notifications will be spurious.

> or:
>
> | preline /opt/tmda/bin/tmda-filter /home/mordeth/Mailbox | qbiff 
> /home/mordeth/Mailbox

tmda-filter also does not pass incoming messages through to standard
output; therefore, qbiff gets nothing on its standard input in this
configuration.   Probably the best way to arrange your dot-qmail files
is this:

| preline /opt/tmda/bin/tmda-filter
| qbiff /home/mordeth/Mailbox
/home/mordeth/Mailbox

This will not trigger biff until a message makes it through
tmda-filter successfully and is about to be delivered to your mailbox.
Thus, you won't see biff notifications for incoming junk or
confirmation replies (from senders).  Only original messages will
cause a biff notification and only once they have been confirmed or
successfully matched against your filter.


Tim

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to