TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:5689] GUI email apps



"Mark A. Bentley" wrote:
> 
> You can put a line like this in your .forward:
> 
>      "|/opt/local/bin/procmail # bentlema"
> 
> Then sendmail will call procmail before writing anything to your mail spool
> file.  The rules in your .procmailrc file will determine where the mail is
> written.

Ahh, okay, so when you add that to .forward, you circumvent the
mail spool entirely?  So if I create my .procmailrc and set up
.forward, procmail will get triggered automatically each time I
run fetchmail (is it sendmail that deals with .forward?)?  And
this will dump everything directly into my mailbox in $HOME (or
wherever procmail directs it)?  It sounds like my mail would
follow the path below; is this correct?

 fetchmail->sendmail->procmail->mailbox

> If your site is using procmail as its local delivery agent, you shouldn't
> need a .forward to do this at all.  Just create the .procmailrc with the
> appropriate recipes, and configure your mail reader to look at your
> filtered mail folders (wherever you put them...)

Is this the sendmail.cf solution?

Thanks, Mark!

John