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 [EMAIL PROTECTED]"
  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 [EMAIL PROTECTED]"
  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



-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to