On Tue, 6 Apr 1999 [EMAIL PROTECTED] wrote:
> I wrote into my $HOME/.procmailrc file , the filtering rules for sorting my
> mails. But it seems that mails are not being sorted at all. Of course
> procmail is up and fine on the sys. Do i need to explicitly call procmail
> for sorting my mails? I dont think this is true. So how do i sort the mails
> is the question?

        Mail can be delivered to send mail, or other MDA (Mail Delivery
Agent).  This way doesn't count if procmail is up and running.  Give more
details about how your mail getts on your system.  If you use fetchmail to
get mail from your ISP than all it's as simple as putting 

mda "procmail -d $U"

        in your .fetchmailrc file.  Where $U is the name of the regular
user who getts the mail (I hope you won't use root to read/write mail).
        In the worst case, you can run something like

$ formail < /var/spool/mail/$USERNAME procmail

        And that line will run procmail.  formail will just give procmail
message by message the contents of the system mailbox.  At this point it
can be usefull to use as inbox a mailfolder in $HOME/mail instead of the
system mailbox.  This way mail won't get sorted more times.  To do that,
let's say you'll use $HOME/mail/in as inbox.  So your $HOME/.procmailrc
will end with

:0
in

        That's all for now.

        Raider
--
                ``Liberate tu-temet ex inferis''

Reply via email to