nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] [NEWBIE]: fetchmail/procmail and inc

2007-01-13 11:24:14
Hi Ralph,

Fetchmail is used to retrieve my mails. It then passes them to
procmail which stores them into my mail spool.

procmail can also store into MH folders, e.g. ~/mail/inbox, IIRC,
removing the need for the inc stage.

Hum, but then, how "MH" knows about new messages ? I think I am
missing something. Does inc just store messages and nothing else
or does it do some other stuff (such as updating a "database of
new mails") ?
 
Since fetchmail can do more complex fetching than inc, likewise procmail
can do more complex filtering than slocal I suggest you leave them to do
the work they're already doing and either have procmail put stuff in
your inbox or create ~/bin/inc that kicks off fetchmail and then runs
/usr/bin/mh/inc.

Problem is I am not sure how procmail and mh can cooperate. Do
you have any procmail examples ?

Once again, thank you for clarifying things to me :)

Regards,

Xavier Maillard


_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>