[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about procmail and exim4



Paul E Condon <pecondon@mesanetworks.net>:
>  I am running fetchmail, exim4, and procmail on a standard Lenny
>  installation. It all seems to be working as intended but I noticed
>  something while reading procmail documentation about which I am
>  puzzled:
> 
>  The documentation says that to get an MTA (exim4?) to forward email to
>  procmail for processing, I need to have a .forward file in ~/ and that
>  it needs a certain magic string in it.  But I don't have a .forward
>  file in my home directory, and it _is_ working, so how is the link-up
>  established in Debian?

This is on etch, but otherwise the same.  I'm not sure how you have it
all setup.  procmail has been the default system Mail Delivery Agent
on Linux for a while.  Whether you also have a personal procmail setup
which incoming mail triggers is another thing.  I do call it
personally and I have a ~/.forward:

|/usr/bin/procmail

At the least, make yourself a minimal ~/.procmailrc with:

PMDIR        = ${HOME}/procmail
MAILDIR      = ${HOME}/Mail
DEFAULT      = ${MAILDIR}/00.mbox
LOGFILE      = ${PMDIR}/log
LOGABSTRACT  = yes
VERBOSE      = yes

(you'll have to mkdir procmail).  That should produce a log showing if
it's doing anything.

I would "man procmail", procmailrc, procmailex.  


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://blinkynet.net/comp/uip5.html      Linux Counter #80292
- -    http://www.faqs.org/rfcs/rfc1855.html    Please, don't Cc: me.


Reply to: