Author: Michal G Date: To: exim-users Subject: [exim] LMTP deliver to subfolders
Today LDA was replaced with LMTP. It is working good but I have one problem: I can't deliver messages marked as spam to Spam folder. With LDA-deliver I was using:
exim.conf
#Transports
driver = pipe
delivery_date_add
envelope_to_add
return_path_add
log_output
return_fail_output
command = /usr/bin/sudo /usr/lib64/dovecot/deliver -d $local_part -f $sender_address -a $original_local_part -e -m Spam
user = mail
Now I use:
exim.conf
#Transports
driver = lmtp
delivery_date_add
envelope_to_add
return_path_add
current_directory = /tmp
socket = /var/run/dovecot/lmtp
batch_max = 10
user = mail
On dovecot and exim wiki there is no information about how deliver messages to INBOX subfolders. I don't believe that sieve filters are the only way to resolve the problem.