Re: Question about procmail and exim4
On 2009-02-05_17:32:08, Kumar Appaiah wrote:
> On Thu, Feb 05, 2009 at 10:20:35AM -0700, Paul E Condon wrote:
> > 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?
> >
> > And, as always, where should I have looked to find this in the
> > documentation?
>
> In /etc/exim4/exim4.conf.template, I have the following blurb.
>
> #####################################################
> ### router/700_exim4-config_procmail
> #####################################################
>
> procmail:
> debug_print = "R: procmail for $local_part@$domain"
> driver = accept
> domains = +local_domains
> check_local_user
> transport = procmail_pipe
> # emulate OR with "if exists"-expansion
> require_files = ${local_part}:\
> ${if exists{/etc/procmailrc}\
> {/etc/procmailrc}{${home}/.procmailrc}}:\
> +/usr/bin/procmail
> no_verify
> no_expn
>
> In short, I think procmail is called (by default) on all your
> mails. The default action for procmail (if you don't have a
> procmailrc) is to put the mail in /var/mail/<username>, and if you do
> have a procmailrc, it is used by procmail.
>
> Someone who understands exim better may be able to acknowledge or
> correct the above statement.
>
> Thanks.
>
> Kumar
> --
> Kumar Appaiah
Thanks, Kumar.
It puzzled me. My system was, and is, working. I know I am actually
using procmail, because I see the results of making changes in my
.procmailrc but ... the procmail man page said I have to use .forward
to do this --- not quite true, just one way of doing it.
--
Paul E Condon
pecondon@mesanetworks.net
Reply to: