<html><head></head><body dir="auto"
style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break:
after-white-space;"><meta http-equiv="Content-Type"
content="text/html; charset=utf-8"><div style="word-wrap:
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"
class="">I am stuck enabling LMTP so that I can use Sieve rules. I
have a postfix -> dovecot setup on Ubuntu. I am using virtual users with a
SQL backend for virtual_users, password maps, and maildir. <div
class=""><br class=""></div><div
class="">I have searched for a solution and implemented everything
I have read. </div><div class=""><br
class=""></div><div class="">I do not
understand why lmtp is trying to go to /var/run/dovecot/auth-userdb (file does
not exist). Everything works until I uncomment "<font
color="#000000" face="Menlo" class=""><span
style="font-size: 11px;" class="">virtual_transport =
lmtp:unix:private/dovecot-lmtp</span><span style="caret-color:
rgb(0, 0, 0); font-size: 11px;"
class="">”</span><span style="font-size: 11px;"
class=""> in
postfix/main.cf</span></font></div><div
class=""><font color="#000000" face="Menlo"
class=""><span style="font-size: 11px;"
class=""><br
class=""></span></font></div><div
class=""><font color="#000000" face="Menlo"
class=""><span style="font-size: 11px;"
class="">Anyone have a solution?
</span></font></div><div class=""><br
class=""></div><div class="">Here is the lmtp
error with surrounding messages</div><div class=""><br
class=""></div><div class=""><div
style="margin: 0px; font-stretch: normal; font-size: 11px; line-height:
normal; font-family: Menlo; color: rgb(0, 0, 0);"
class=""><span style="font-variant-ligatures:
no-common-ligatures" class="">Oct 4 00:37:29 mmp-mail
dovecot: lmtp(<a href="mailto:info@domain.com"
class="">info@domain.com</a>)<268290><UpizKIlReV8CGAQA9daSvw>:
Debug: auth-master: userdb lookup(<a href="mailto:info@domain.com"
class="">info@domain.com</a>): Started userdb
lookup</span></div><div style="margin: 0px; font-stretch:
normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0,
0, 0);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class="">Oct 4 00:37:29 mmp-mail
dovecot: lmtp(<a href="mailto:info@domain.com"
class="">info@domain.com</a>)<268290><UpizKIlReV8CGAQA9daSvw>:
Debug: auth-master: conn unix:/var/run/dovecot//auth-userdb:
Connecting</span></div><div style="margin: 0px;
font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;
color: rgb(0, 0, 0);" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">Oct 4 00:37:29 mmp-mail dovecot: lmtp(<a
href="mailto:info@domain.com"
class="">info@domain.com</a>)<268290><UpizKIlReV8CGAQA9daSvw>:
Error: auth-master: userdb lookup(<a href="mailto:info@domain.com"
class="">info@domain.com</a>):
connect(/var/run/dovecot//auth-userdb) failed: No such file or
directory</span></div><div style="margin: 0px; font-stretch:
normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0,
0, 0);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class="">Oct 4 00:37:29 mmp-mail
dovecot: lmtp(<a href="mailto:info@domain.com"
class="">info@domain.com</a>)<268290><UpizKIlReV8CGAQA9daSvw>:
Debug: auth-master: userdb lookup(<a href="mailto:info@domain.com"
class="">info@domain.com</a>): Userdb lookup
failed</span></div><div style="margin: 0px; font-stretch:
normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0,
0, 0);" class=""><span style="font-variant-ligatures:
no-common-ligatures" class="">Oct 4 00:37:29 mmp-mail
dovecot: lmtp(268290): Error: lmtp-server: conn unix:pid=268289,uid=129 [1]:
rcpt <a href="mailto:info@domain.com"
class="">info@domain.com</a>: Failed to lookup user <a
href="mailto:info@domain.com"
class="">info@domain.com</a>: Internal error occurred. Refer
to server log for more information.</span></div></div><div
class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br
class=""></span></div><div
class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br
class=""></span></div><div
class=""><span style="font-variant-ligatures:
no-common-ligatures" class="">I do see
"</span><span style="color: rgb(0, 0, 0); font-family: Menlo;
font-size: 11px; font-variant-ligatures: no-common-ligatures;"
class="">auth_socket_path = </span><span
style="font-family: Menlo; font-size: 11px; font-variant-ligatures:
no-common-ligatures; color: rgb(202, 51, 35);" class=""><b
class="">auth-u</b></span><span style="color:
rgb(0, 0, 0); font-family: Menlo; font-size: 11px; font-variant-ligatures:
no-common-ligatures;" class="">serdb” in doveconf
output</span></div><div class=""><span
style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px;
font-variant-ligatures: no-common-ligatures;" class=""><br
class=""></span></div><div
class=""><span style="color: rgb(0, 0, 0); font-family:
Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;"
class="">In 10-master.conf (</span><span
style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px;"
class="">-rw-r--r-- 1 root root</span><span
style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px;"
class=""> </span><span style="color: rgb(0, 0, 0);
font-family: Menlo; font-size: 11px;" class="">3784
Oct</span><span style="color: rgb(0, 0, 0); font-family: Menlo;
font-size: 11px;" class=""> </span><span
style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px;"
class="">4 00:26 10-master.conf)</span></div><div
class=""><span style="color: rgb(0, 0, 0); font-family:
Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;"
class=""><br
class=""></span></div><div
class=""><span style="color: rgb(0, 0, 0); font-family:
Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;"
class=""><div style="margin: 0px; font-stretch: normal;
line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">service auth {</span></div><div
style="margin: 0px; font-stretch: normal; line-height: normal; color:
rgb(50, 244, 241);" class=""><span style="color:
rgb(0, 0, 0);" class=""> </span><span
style="color: rgb(0, 0, 0);" class="">unix_listener
auth-userdb {</span></div><div style="margin: 0px;
font-stretch: normal; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class=""> path =
/var/spool/postfix/private/auth</span></div><div
style="margin: 0px; font-stretch: normal; line-height: normal;"
class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> mode =
0660</span></div><div style="margin: 0px; font-stretch:
normal; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class=""> user = postfix</span></div><div
style="margin: 0px; font-stretch: normal; line-height: normal;"
class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> group =
postfix</span></div><div style="margin: 0px; font-stretch:
normal; line-height: normal; color: rgb(50, 244, 241);"
class=""><span style="color: rgb(0, 0, 0);"
class=""> </span><span style="color: rgb(0, 0,
0);" class="">}</span></div><div
class=""><span style="font-variant-ligatures:
no-common-ligatures"
class="">}</span></div><div
class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br
class=""></span></div><div
class=""><span style="font-variant-ligatures:
no-common-ligatures" class="">In auth-sql-conf.ext
(</span>-rw-r--r-- 1 root root 785 Oct 3 22:39
auth-sql.conf.ext)</div><div class=""><span
style="font-variant-ligatures: no-common-ligatures"
class=""><br
class=""></span></div><div
class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><div style="margin: 0px;
font-stretch: normal; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">userdb {</span></div><div
style="margin: 0px; font-stretch: normal; line-height: normal;"
class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> driver =
sql</span></div><div style="margin: 0px; font-stretch:
normal; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class=""> args =
/etc/dovecot/dovecot-sql.conf.ext</span></div><div
style="margin: 0px; font-stretch: normal; line-height: normal;"
class=""><span style="font-variant-ligatures:
no-common-ligatures"
class="">}</span></div><div
class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br
class=""></span></div><div
class=""><span style="font-variant-ligatures:
no-common-ligatures" class="">In dovecot-sql.conf.ext
(</span>-rw-r----- 1 root dovecot 6086 Oct 3 22:37
dovecot-sql.conf.ext)</div><div class=""><span
style="font-variant-ligatures: no-common-ligatures"
class=""><br
class=""></span></div><div
class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><div style="margin: 0px;
font-stretch: normal; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">user_query = \</span></div><div
style="margin: 0px; font-stretch: normal; line-height: normal;"
class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""> SELECT email as user, 150 AS
uid, 150 AS gid 'maildir:/home/mail/'||maildir as mail
\</span></div><div style="margin: 0px; font-stretch: normal;
line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class=""> FROM virtual_mailbox_maps WHERE email =
'%u'</span></div><div class=""><span
style="font-variant-ligatures: no-common-ligatures"
class=""><br
class=""></span></div><div
class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br
class=""></span></div><div
class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br
class=""></span></div></span></div></span></div></span></div></div></body></html>