Hi, I'm trying to use dovecot-lmtp so that I can filter messages with sieve, however it doesn't appear to be working. I followed the instructions on wiki2.dovecot.org. I'm running Debian Wheezy. I've got runit configured to execute postfix and dovecot, which may be the source of the problem (runit executes /usr/sbin/dovecot -F). I've got mail_debug turned on and there is nothing in the mail log about lmtp. Any help would be appreciated. -- Steven Hopps || shopps at pridetechdesign.com 424-888-0443 || http://www.pridetechdesign.com = Ask about my Security Tune-Up & 24/7 Server Monitoring! =
On 07/01/2015 02:28 PM, Steven Hopps wrote:> Hi, I'm trying to use dovecot-lmtp so that I can filter messages with > sieve, however it doesn't appear to be working. > > I followed the instructions on wiki2.dovecot.org. I'm running Debian > Wheezy. I've got runit configured to execute postfix and dovecot, which > may be the source of the problem (runit executes /usr/sbin/dovecot -F). > I've got mail_debug turned on and there is nothing in the mail log about > lmtp. > > Any help would be appreciated. >`postconf virtual_transport mailbox_transport`? `doveconf -n`? Regards, Pascal -- The trapper recommends today: c01dcafe.1518218 at localdomain.org
I tried copying virtual_transport to mailbox_transport and started
receiving user unknown and no such user errors. Current configuration
output follows:
virtual_transport = lmtp:unix:private/dovecot-lmtp
mailbox_transport
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.8
auth_mechanisms = plain login
mail_debug = yes
mail_location = maildir:~/Maildir
namespace inbox {
inbox = yes
location mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix }
passdb {
driver = pam
}
plugin {
sieve = file:~/sieve;active=~/Maildir/filters.sieve
}
protocols = lmtp imap
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
}
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
user = postfix
}
}
ssl_cert = </etc/ssl/certs/ssl-cert-snakeoil.pem
ssl_key = </etc/ssl/private/ssl-cert-snakeoil.key
userdb {
driver = passwd
}
protocol lmtp {
hostname = domain.com
mail_plugins = " sieve"
postmaster_address = postmaster at domain.com
}
Steven Hopps || shopps at pridetechdesign.com
424-888-0443 || http://www.pridetechdesign.com
= Ask about my Security Tune-Up & 24/7 Server Monitoring!
On 7/1/2015 12:17, Pascal Volk wrote:> On 07/01/2015 02:28 PM, Steven Hopps wrote:
>> Hi, I'm trying to use dovecot-lmtp so that I can filter messages
with
>> sieve, however it doesn't appear to be working.
>>
>> I followed the instructions on wiki2.dovecot.org. I'm running
Debian
>> Wheezy. I've got runit configured to execute postfix and dovecot,
which
>> may be the source of the problem (runit executes /usr/sbin/dovecot -F).
>> I've got mail_debug turned on and there is nothing in the mail log
about
>> lmtp.
>>
>> Any help would be appreciated.
>>
>
> `postconf virtual_transport mailbox_transport`?
> `doveconf -n`?
>
>
> Regards,
> Pascal
>
I apologize for the multiple emails, I forgot to mention that when I added a mailbox_transport line, suddenly the log started showing lmtp entries, however everything was bouncing (I did mention the bouncing.) When I removed that line, it works again, but now the log does not show any lmtp entries, same as before. I should point out that this email server has been functional for a long while. Steven Hopps || shopps at pridetechdesign.com 424-888-0443 || http://www.pridetechdesign.com = Ask about my Security Tune-Up & 24/7 Server Monitoring! On 7/1/2015 12:17, Pascal Volk wrote:> On 07/01/2015 02:28 PM, Steven Hopps wrote: >> Hi, I'm trying to use dovecot-lmtp so that I can filter messages with >> sieve, however it doesn't appear to be working. >> >> I followed the instructions on wiki2.dovecot.org. I'm running Debian >> Wheezy. I've got runit configured to execute postfix and dovecot, which >> may be the source of the problem (runit executes /usr/sbin/dovecot -F). >> I've got mail_debug turned on and there is nothing in the mail log about >> lmtp. >> >> Any help would be appreciated. >> > > `postconf virtual_transport mailbox_transport`? > `doveconf -n`? > > > Regards, > Pascal >
I have solved the issue, I had to add mailbox_transport to main.cf, and I had to add auth_username_format = %Ln to dovecot.conf to fix the "Unrecognized User" errors. It's now working! Steven Hopps || shopps at pridetechdesign.com 424-888-0443 || http://www.pridetechdesign.com = Ask about my Security Tune-Up & 24/7 Server Monitoring! On 7/1/2015 10:28, Steven Hopps wrote:> Hi, I'm trying to use dovecot-lmtp so that I can filter messages with > sieve, however it doesn't appear to be working. > > I followed the instructions on wiki2.dovecot.org. I'm running Debian > Wheezy. I've got runit configured to execute postfix and dovecot, which > may be the source of the problem (runit executes /usr/sbin/dovecot -F). > I've got mail_debug turned on and there is nothing in the mail log about > lmtp. > > Any help would be appreciated.