Re: [Exim] Procmail LDA

Pàgina inicial
Delete this message
Reply to this message
Autor: Andreas Metzler
Data:  
A: exim-users
Assumpte: Re: [Exim] Procmail LDA
On Tue, Mar 18, 2003 at 12:45:12PM -0500, Adam H. Pendleton wrote:
> I would like to use Procmail as my LDA, but I can find no definitive answer
> on how to set this up. The examples that I have seen all use "-d" for
> delivery, but I've heard that using "-d" causes procmail to generate non-
> RFC-compliant messages. So what, then, is the recommended method for
> setting up procmail as the LDA?


-d isn't necessary for exim, because it runs deliveries as the user in
question.

Debians exim4 packages use this:

# transport
procmail_pipe:
driver = pipe
path = "/bin:/usr/bin:/usr/local/bin"
command = "/usr/bin/procmail"
return_path_add
delivery_date_add
envelope_to_add

#router
procmail:
driver = accept
check_local_user
transport = procmail_pipe
require_files = ${local_part}:${home}/.procmailrc:+/usr/bin/procmail
no_verify
no_expn

           cu andreas