pleroma.debian.social

pleroma.debian.social

New blog post: procmail versus exim filters https://jmtd.net/log/procmail_versus_exim_filters/ #email

@jmtd I use Dovecot's sieve for sorting.

@mart_brooks thanks; it seems to be the best implementation

@jmtd i think exim filters can do what you want though it might require changes to your exim.conf

for your killfile, i think you need to use fancy string expansions eg foranyaddress ${readfile{/path/to/killfile}{,}}

@jmtd for pipes, the behaviour is configured on the pipe transport that is named in the redirect router that handles the .forward file

in the default config file there’s a userforward: router with pipe_transport = address_pipe

https://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_default_configuration_file.html

the pipe transport has lots of options controlling what to do when the command behaves in certain ways https://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_pipe_transport.html

@jmtd for calendar years you can use something like ${substr{0}{4}{$tod_log}}

@jmtd hmm yeah the filtering and header rewriting is not really doable in a filter, needs hacks in exim.conf

@fanf if that form of string expansion can work in user filters (I will go and confirm) then that opens the door to a lot more options, thanks!
replies
0
announces
0
likes
1