Re: [Exim] EXIM and PROCMAIL

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jim Knoble
Date:  
À: exim list
Sujet: Re: [Exim] EXIM and PROCMAIL
Circa 2002-Mar-27 15:05:26 +0000 dixit Drav Sloan:

: Peter Forst wrote:
: > how can I make EXIM work with procmail ?
:
: Transport:
:
: procmail_pipe:
:    driver = pipe
:    command = /usr/bin/procmail


You might wish this to be:

     command = "/usr/bin/procmail -d ${local_part}"


You'll also want at least:

     return_fail_output = false
     return_output = false


and potentially also:

     # Add useful headers
     delivery_date_add = true
     envelope_to_add = true


     # Keep someone's broken procmailrc from filling up your logs
     log_defer_output = false
     log_fail_output = false
     log_output = false


     # Keep procmail from making group- or world-writeable files
     umask = 0022


     # Use this only if you have group-writeable mailboxes;
     # for mailboxes in a sticky directory, remove it.
     group = mail


:
: Director:
:
: procmail:
:    driver = localuser
:    require_files = ${local_part}:${home}/.procmailrc
:    transport = procmail_pipe
:
: This means procmail pipe transport will be used whenever ~/.procmailrc
: appears for that user.


--
jim knoble | jmknoble@??? | http://www.pobox.com/~jmknoble/
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)