[Dovecot] sieve under lmtp using wrong homedir ?

Frank Post Frank.Post at pallas.com
Wed Jan 11 17:35:42 EET 2012


Hi,

i have a problem with dovecot-2.0.15.

All is working well except lmtp. Sieve scripts are correctly saved under 
/var/vmail/test.com/test/sieve, but under lmtp sieve will use 
/var/vmail//testuser/
Uid testuser has mail=test at test.com configured in ldap. 

As i could see in the debug logs, there is a difference between the auth 
"master out" lines, but why ?

working if managesieve stores scripts:
Jan 11 15:02:42 auth: Debug: master in: REQUEST 3533701121      23001   1  
    7ec31d3c65cb934785e8eb0f33a182ae
Jan 11 15:02:42 auth: Debug: ldap(test at test.com,10.234.201.4): result: 
mail(user)=test at test.com
Jan 11 15:02:42 auth: Debug: master out: USER   3533701121 test at test.com 
home=/var/vmail/test.com/test   uid=5000        gid=5000
Jan 11 15:02:42 managesieve(test at test.com): Debug: Effective uid=5000, 
gid=5000, home=/var/vmail/test.com/test

but under lmtp not:
Jan 11 14:39:53 auth: Debug: master in: USER    1       testuser 
service=lmtp    lip=10.234.201.9        rip=10.234.201.4
Jan 11 14:39:53 auth: Debug: auth(testuser,10.234.201.4): username changed 
testuser -> test at test.com
Jan 11 14:39:53 auth: Debug: ldap(test at test.com,10.234.201.4): result: 
mail(user)=test at test.com
Jan 11 14:39:53 auth: Debug: master out: USER   1       test at test.com 
home=/var/vmail//testuser  uid=5000        gid=5000
Jan 11 14:39:53 lmtp(8499): Debug: auth input: test at test.com 
home=/var/vmail//testuser uid=5000 gid=5000
Jan 11 14:39:53 lmtp(8499): Debug: changed username to test at test.com
Jan 11 14:39:53 lmtp(8499, test at test.com): Debug: Effective uid=5000, 
gid=5000, home=/var/vmail//testuser
Jan 11 14:39:53 lmtp(8499, test at test.com): Debug: Quota root: name=User 
quota backend=maildir args=
Jan 11 14:39:53 lmtp(8499, test at test.com): Debug: Quota rule: root=User 
quota mailbox=* bytes=2147483648 messages=0
Jan 11 14:39:53 lmtp(8499, test at test.com): Debug: Quota warning: 
bytes=1932735283 (90%) messages=0 reverse=no command=quota-warning 90 
test at test.com
Jan 11 14:39:53 lmtp(8499, test at test.com): Debug: maildir++: 
root=/var/vmail/test.com/test/Maildir, 
index=/var/dovecot/indexes/test.com/test, control=, 
inbox=/var/vmail/test.com/test/Maildir, alt=
Jan 11 14:39:53 lmtp(8499, test at test.com): Debug: trash: No trash setting 
- plugin disabled
Jan 11 14:39:53 lmtp(8499, test at test.com): Debug: sieve: include: 
sieve_global_dir is not set; it is currently not possible to include 
`:global' scripts.
Jan 11 14:39:53 lmtp(8499, test at test.com): Debug: pla8CymRDU8zIQAAFrfQGQ: 
sieve: user's script path /var/vmail//testuser/.dovecot.sieve doesn't 
exist (using global script path in stead)
Jan 11 14:39:53 lmtp(8499, test at test.com): Debug: pla8CymRDU8zIQAAFrfQGQ: 
sieve: user has no valid personal script
Jan 11 14:39:53 lmtp(8499, test at test.com): Debug: pla8CymRDU8zIQAAFrfQGQ: 
sieve: no scripts to execute: reverting to default delivery.
Jan 11 14:39:53 lmtp(8499, test at test.com): Debug: Namespace : Using 
permissions from /var/vmail/test.com/test/Maildir: mode=0700 gid=-1


Thanks, for your help.

Frank

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot-front.conf
Type: application/octet-stream
Size: 4126 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20120111/99b1292b/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot-back.conf
Type: application/octet-stream
Size: 3394 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20120111/99b1292b/attachment-0003.obj>


More information about the dovecot mailing list