Szerző: Richard Lithvall Dátum: Címzett: exim-users Tárgy: [Exim] appendfile transport change in 4.20
from the Changelog: > 34. Changed (incompatibly, but hopefully not so it affects anyone) the
> appendfile transport in the case when it is called directly as a
> result of a .forward or a filter file requesting a delivery to a file.
> Previously, any settings of "file" or "directory" were ignored in this
> case. Now they are used. The path received from the router is in
> $address_file (as before) and can therefore be included in the
> expansion.
I suppose this is why my filter isn't working anymore... I'm too tired
and busy sorting my inbox right now to see what i need to do to make it
work again. Please help me...
Below is a address-test in filter-debug mode and my
maildir-transport-config.
Wbr,
Richard
# exim4 -bt -d-all+filter
Exim version 4.20 uid=0 gid=0 pid=28679 D=200
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (April 7, 2002)
Support for: IPv6 PAM Perl GnuTLS
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram
redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
configuration file is /var/lib/exim4/config.autogenerated
log selector = 06fd89d8
trusted user
admin user > rich-exim R: system_aliases for rich-exim@???
R: userforward for rich@???
Condition is false: error_message
Condition is false: $local_part_suffix is -catchall
Condition is true: $local_part_suffix is -exim
Filter: save message to: /home/rich/Maildir/.exim/
Filtering set up at least one significant delivery or other action.
No other deliveries will occur.
rich-exim@??? -> /home/rich/Maildir/.exim/
transport = maildir_home >
#####################
# maildir transport #
#####################
maildir_home:
debug_print = "T: maildir_home for $local_part@$domain"
driver = appendfile
maildir_format
create_directory
maildir_tag = ,S=$message_size
directory = $home/Maildir
return_path_add
delivery_date_add
envelope_to_add
mode = 0600
# The lines header is used by mutt and similar MUAs
headers_remove = "Lines"
headers_add = "Lines: $body_linecount\n"