Package: exim4-config
Version: 4.80-7+deb7u1

When I try to use procmail to filter messages using a local_parts_suffix it 
never works. It should have similar options to the local_user section to enable 
local parts processing. When I change 
/etc/exim4/conf.d/router/700_exim4-config_procmail to the below and regenerate 
the template it works.

Thanks,
Brandon


procmail:
  debug_print = "R: procmail for $local_part@$domain"
  driver = accept
  domains = +local_domains
  check_local_user

  .ifdef ROUTER_LOCAL_SUFFIX_MATCH
  local_part_suffix = ROUTER_LOCAL_SUFFIX_MATCH
  .ifdef ROUTER_LOCAL_SUFFIX_OPTIONAL
  local_part_suffix_optional
  .endif
  .endif

  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

Reply via email to