Bug#824888: Exim procmail transport missing options for local parts (ie plus addressing)
On Sat, May 21, 2016 at 08:15:46AM -0600, Brandon Peterson wrote: > My mistake, I forgot that I customized the 900_exim4-config_local_user > router years ago, I was thinking yesterday that it had been part of the > standard Debian configuration. I would recommend using something other than _exim4-config_ in the file name to clearly distinguish local files from distribution files. Greetings Marc -- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany| lose things."Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421
Bug#824888: Exim procmail transport missing options for local parts (ie plus addressing)
Hi Andreas, My mistake, I forgot that I customized the 900_exim4-config_local_user router years ago, I was thinking yesterday that it had been part of the standard Debian configuration. If you wanted to make that part of the standard then it would need to be added there as well - then you can put the appropriate lines in exim4.conf.localmacros, ie "ROUTER_LOCAL_SUFFIX_MATCH = +*" and "ROUTER_LOCAL_SUFFIX_OPTIONAL = true". Sorry for the trouble. Cheers, Brandon On Sat, May 21, 2016 at 4:02 AM, Andreas Metzler wrote: > On 2016-05-20 Brandon Peterson wrote: > > 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. > [...] > > "similar options"? The Debian configuration does not set > local_part_suffix* options on any router. > > cu Andreas > -- > `What a good friend you are to him, Dr. Maturin. His other friends are > so grateful to you.' > `I sew his ears on from time to time, sure' >
Bug#824888: Exim procmail transport missing options for local parts (ie plus addressing)
On 2016-05-20 Brandon Peterson wrote: > 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. [...] "similar options"? The Debian configuration does not set local_part_suffix* options on any router. cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'
Bug#824888: Exim procmail transport missing options for local parts (ie plus addressing)
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