Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 17:08:55 +0100
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        bryan cassidy <bsdsys@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mutt + filters
Message-ID:  <20030123160855.GB86853@freepuppy.bellavista.cz>
In-Reply-To: <20030123151631.47717.qmail@web10704.mail.yahoo.com>
References:  <20030123151631.47717.qmail@web10704.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
# bsdsys@yahoo.com / 2003-01-23 07:16:31 -0800:
> I am using FreeBSD 4.7-Stable, and want to switch back
> to mutt. The only reason I stopped using mutt is
> because I couldn't figure out how to setup the filters
> so I installed sylpheed with no problems. I'm getting
> kinda tired of sylpheed and want to switch back to
> mutt. I really like using mutt but i NEED my filters.
> I'm not going to even install mutt this second unless
> I find a doc on how to do it on freebsd or someone
> tells me EXACTLY how they did it (don't want to waste
> my time) If someone could please tell me how to do
> this I would really appreciate it very much. I know
> it's alot to ask  but I just can't figure it out :-(
> lol. Please Cc: bsdsys@yahoo.com so I will get your
> replies (haven't got an e-mail client installed right
> now) Thanks in advance.

    > cd /usr/ports
    > su
    # for d in mail/getmail mail/mutt-devel mail/maildrop; do
    for> cd $d && make install clean && cd $OLDPWD
    for> done
    # ^D
    > mkdir ~/Mail
    > ln -s /var/mail/yourname ~/Mail/Spool
    > rehash
    
    create ~/.muttrc:

    mailboxes `find ~/Mail -type f -or -type l | xargs`

    create ~/.mailfilter:

    > touch ~/.mailfilter
    > chmod 600 ~/.mailfilter

    example content:

    if (/^list-id: <freebsd-questions\.FreeBSD\.ORG>/)
    {
        to "$HOME/Mail/freebsd-questions"
    }
    to "$HOME/Mail/Inbox"
 
    create ~/.getmailrc:

    [youraccount]
    server     = your.pop3.server
    username   = yourname
    password   = yourpassword
    postmaster = /usr/local/bin/maildrop

    try it out:

    > getmail

    and if all's ok, edit your crontab:

    > crontab -e

    */5 * * * *         /usr/local/bin/getmail


    is that EXACT enough?

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030123160855.GB86853>