Am 22.03.2010 um 10:42 schrieb Timo Sirainen:
--exec-mail is no longer needed. If you want for example start a imap session, just enter the command: /usr/local/libexec/dovecot/imap And you will see:
- PREAUTH [CAPABILITY IMAP4rev1 … Logged in as $USER
Right. Although now that you mentioned it .. Maybe there should be -u parameter also for imap/pop3/etc which also does a userdb lookup so that it'll then be identical to actually logging in.
Let's say I trigger an ACL change by manually setting an administrative user (a permission). Doing so the 'dovecot-acl' file gets owned by the system user who triggered the change, in this case 'root'. Is this intended, as it will break the files OS permissions?
printf "1 setacl Public/Mailing-Lists/Mutt-Users tlx@leuxner.net +k\n" | USER=tlx@leuxner.net /usr/lib/dovecot/imap
- PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA ACL RIGHTS=texk] Logged in as tlx@leuxner.net 1 OK Setacl complete. Info: Connection closed bytes=60/354 [21:30] root spectre:/var/vmail/public/Mailing-Lists/Mutt-Users# l total 256 drwx--S--- 2 vmail vmail 147456 2010-03-22 19:30 cur -rw------- 1 root vmail 59 2010-03-22 21:30 dovecot-acl -rw------- 1 vmail vmail 101 2010-03-22 18:46 dovecot-keywords -rw------- 1 vmail vmail 0 2010-03-21 22:18 dovecot-shared -rw------- 1 vmail vmail 88120 2010-03-22 19:27 dovecot-uidlist drwx--S--- 2 vmail vmail 4096 2010-03-22 19:30 new drwx--S--- 2 vmail vmail 4096 2010-03-22 19:27 tmp
Regards Thomas