On Sat, 27 Sep 2003, mess-mate wrote:
<snip> > Thanks, I've installed fetchmail, mailfilter, procmail, sendmail and mutt. > Fetchmail download the mails from my ISP = ok, and put it in /var/mail/messmate. That is your mail spool file. Thats were it goes. > I've created $HOME/Mail to put from procmail ? my mails. > How do I retrieve the mails from /var/mail/messmate to put them > in ~/Mail ? > Thought it's automatically :( > mess-mate > you need to create a /home/messmate/.procmailrc here is mine: ------------------------------------------------- PATH=/usr/local/bin:/usr/bin:/bin MAILDIR=$HOME/mail #where sorted mail goes DEFAULT=$HOME/mbox #completely optional - mailbox of last resort LOGFILE=$MAILDIR/from #recommended # this FIRST makes a backup copy # for debugging :0 c $MAILDIR/backup # put mail from nylxs-announce into mbox called # nylxs-announce :0 * ^To:[EMAIL PROTECTED] $MAILDIR/nylxs-announce # :0 * ^From:[EMAIL PROTECTED] $MAILDIR/oetrends # :0 * ^From:[EMAIL PROTECTED] $MAILDIR/dice # hints for SWEN # checking email body (B) :0 B * ^Content-Type: application/X-msdownload $MAILDIR/virus # :0 B * ^Content-Type: audio/X-midi $MAILDIR/virus # :0 B * ^Content-Type: audio/X-wav $MAILDIR/virus # SPAM checking :0 B * ^.*penis $MAILDIR/spam # :0 B * ^.*cumulative path $MAILDIR/virus # :0 B * ^.*nigeria $MAILDIR/spam # :0 B * ^.*viagra $MAILDIR/spam :0 B * ^.*mortgage $MAILDIR/spam ---------------------------------- PLEASE NOTE: if you make a directory, it will save as mail-dir if you dont make a directory, it will save as an mbox. Above is --------------- :0 B * ^.*mortgage $MAILDIR/spam --------------- if I create the directory /home/kevin/mail/spam, each message will be saved in the directory /home/kevin/mail/spam as a single mail-dir file. If I DO NOT create any directory /home/kevin/mail/spam, it will create an mbox FILE /home/kevin/mail/spam that will contain all messages. -Kevin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]