[exim] exim+procmail+crm114

Page principale
Supprimer ce message
Répondre à ce message
Auteur: sysadmin
Date:  
À: exim-users
Sujet: [exim] exim+procmail+crm114
Hi,


I have a exim with virtual domains and setup it to route mail to procmail:

From exim wiki:

Router:

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


Transport:

procmail_pipe:
debug_print = "T: procmail_pipe for $local_part@$domain"
driver = pipe
path = "/bin:/usr/bin:/usr/local/bin"
command = "/usr/bin/procmail"
return_path_add
delivery_date_add
envelope_to_add


On $HOME there is a .procmailrc:


PATH=/usr/local/bin:/usr/bin:/bin
DEFAULT=$HOME/Maildir

## uncomment the next line if you would like logging
LOGFILE=$HOME/procmail.log
## uncomment the next two lines if you want really verbose logging
VERBOSE=yes
LOGABSTRACT=all


:0fw: .msgid.lock
| /usr/bin/crm -u /home/marlon mailfilter.crm


:0:
* ^X-CRM114-Status: SPAM.*
${DEFAULT}/.spam/


exim+procmail is not working as well, procmail do not process incoming mail.

there is a order for procmail router and transport on exim.conf?


Regards,

Marlon