Hi,
On Sat, Aug 19, 2000 at 03:50:18PM +0300, Mikko H?nninen wrote:
> Alex Farber <[EMAIL PROTECTED]> wrote on Sat, 19 Aug 2000:
> > how do
> > I sort messages from different mailing lists in different
> > "mailboxes". I would like to set it up the same way, like
> > it is done in Netscape: if "To:" or "Cc:" contains
> > [EMAIL PROTECTED], then put the message not in the "Inbox",
> > but into the "apache" file.
>
> You can't really do this with Mutt. A better solution is to have
> something like procmail or maildrop filter the emails at delivery
> time. If you're using POP to download your emails, then you can't
> make Mutt's built-in, very limited POP support to pass the mails
> to procmail -- therefore it is recommended that you should use
> fetchmail to download the emails. It's better to use for this
> purpose anyway...
thanks for your reply. I have read the "man fetchmail" (some
parts where hard to understand there) and still don't know, how
to separate my incoming mail into several files which I could
poll with mutt. Like the messages addressed to [EMAIL PROTECTED]
should be appended to /home/alex/Mail/openbsd and the messages
to [EMAIL PROTECTED] to the file /home/alex/Mail/modperl. And
the rest should go to /var/mail/alex (or should I better use the
file /home/alex/Mail/inbox ?).
Could someone please provide me an example?
Here is what I have tried sofar (.fetchmailrc):
set postmaster "alex"
set bouncemail
set properties ""
poll mail with proto POP3
user alex there with password XXX is alex here
And .muttrc:
lists [EMAIL PROTECTED] [EMAIL PROTECTED]
mailboxes ! =modperl =openbsd
save-hook [EMAIL PROTECTED] +modperl
save-hook [EMAIL PROTECTED] +openbsd
If save-hook isn't for separating incoming messages, what
is its purpose in mutt then?
Thank you
Alex