MUA Filters vs Procmail filters[was] RE: Mailing list procmailrecipe

William Hooper whooperhsd3 at earthlink.net
Thu Apr 8 13:08:19 UTC 2004


Ow Mun Heng said:
[snip]
> Actually, the reason for Maildir is cause I was thinking I can
> get procmail to just put the correct mails in the correct folder.
> But for this to happen, I found out also that I need to use IMAP
> and not POP3/POP3s.

I think you are confused.  procmail can use maildir or mbox.  Running IMAP
on the local machine then shows you all the folders.  You could just as
easily have your MUA use the local spool (assuming it understands
whichever format you chose to use).

[snip]
> Let me understand properly. Mail comes in, .forward processes it and
> forwards to procmail, procmail proceses the file for
> SPAM/Virus/X-Been-There/
> To/List-ID etc and puts it into (say Fedora-list)
> ~/evolution/local/Inbox/subfolder/Linux/subfolder/Fedora and for whatever
> that
> procmail does not capture, it's sent by default to ~/evolution/local/Inbox
>
> Did I get that right??

I'm not sure if it directly interacts with whatever format the evolution
uses.

> But that's presuming that the mails are received on the local Machine.
> (via POP from Server)

Via fetchmail (IMAP or POP3) or even Sendmail if you are acting as your
own MX.

> For this to happen also on the server, the server must run maildir format
> (and not mbox)

Procmail doesn't care which.

> and also IMAP protocol for user at local-machine

I'm confused, are you refering to the server (where you get the mails
from) or the local machines (where you are running Evolution)?

> to be able
> to connect to it and then he'll just have to transfer the emails to by
> hand
> to his local folder. Hmm...not an elegent solution. (for someone that
> don't
> exactly stores mails on the server)

Why would you have to transfer mails by hand?  Evolution can act as an
IMAP client.

Maybe a longer discription of (sort of) my setup is in order:

Server - my ISP's machine that I get mails from
MyMachine - my local Linux box

MyMachine uses fetchmail to retrieve messages from Server (via POP3). 
Procmail then processes them and stores them in the approriate folders (in
mbox format, but that is not important).  My client (generally
SquirrelMail) then connects to the IMAP server (reading the same mbox
format mail, but again, format is not important) running on MyMachine to
display my Mail and Folders.  If I choose to use Evolution, I just set it
up as an IMAP clinet pointing to the same IMAP server on MyMachine so I
get the same Mail and Folder display.

Does that help?


-- 
William Hooper





More information about the fedora-list mailing list