Milan Koudelka - Internet Mall
2008-May-14 11:06 UTC
[Dovecot] homedir override problem, MS AD + WINBIND + PAM + SIEVE
Hello,
i installed my Dovecot with authetification in MS AD throught WINBIND
and PAM. Works fine.
So I have virtual users with UID, GID from MS AD.
I set maildir path as mail_location = maildir:/var/spool/mail/%n/
Then i want to make some vacation system. I install sieve and use
dovecot LDA.
In postfix main.cf I have
mailbox_command = /usr/libexec/dovecot/deliver
Setup of lda in dovecot.conf
protocol lda {
postmaster_address = postmaster at mail-server.cz
log_path = /var/log/dovecot-deliver.log
info_log_path = /var/log/dovecot-deliver.log
mail_plugins = cmusieve
}
Sieve user-scripts doesn't work without this:
plugin {
sieve = /var/spool/mail/%n/.dovecot.sieve
}
With this settings, LDA and sieve works OK. I can use user-scrips to
forward mail by subject or something like this.
Vacation rules works too. But it isn't create .dovecot.lda-dupes in user
home directory that contains e-mail addresses that was replied. So
vacation is sent always.
I have this error in dovecot-deliver.log
deliver(mkoudelka): May 14 12:24:19 Error:
open(/home/MALL/mkoudelka/.temp.cz-dc1-s-018.mall.cz.11302.7e2cc05a1e1df1a7)
failed: No such file or directory
I tried to override home directory by set this:
userdb passwd {
args = home=/var/spool/mail/%n
}
But there isnt't any change.
Can you please, help how to set correct home for sieve ?
MALL is domain of user mkoudelka.
Thank you
--
Milan Koudelka
Linux & Network Administrator
Internet Mall, a.s.
Internet Mall - obchody, kter? si obl?b?te.
http://www.MALL.cz
----------------------
Neprehlednete sirokou nabidku benzinovych a elektrickych sekacek. Vyberte si z
desitek modelu za akcni ceny na Sekacky.cz. Sezona prave zacina.
http://www.sekacky.cz/rotacni-sekacky/
----------------------
Timo Sirainen
2008-May-15 04:49 UTC
[Dovecot] homedir override problem, MS AD + WINBIND + PAM + SIEVE
On Wed, 2008-05-14 at 13:06 +0200, Milan Koudelka - Internet Mall wrote:> I tried to override home directory by set this: > > userdb passwd { > args = home=/var/spool/mail/%n > }What Dovecot version? This works only with v1.1. Also it'd be better if home directory wasn't the same as mail directory (http://wiki.dovecot.org/VirtualUsers#homedirs). -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080515/32471a61/attachment-0002.bin>
Milan Koudelka - Internet Mall
2008-May-15 08:01 UTC
[Dovecot] homedir override problem, MS AD + WINBIND + PAM + SIEVE
It's 1.0.13. Ok, i maybe it isn't goog idead to have same directory for maildir and home directory. But I used it only for sieve (and crashes :-)). Because I don't know how to change path of home. I periodically create symlinks from /var/spool/mail/ to /home/MALL/. So now it's working, but it's incorrect solution :-) Milan Koudelka Linux & Network Administrator Internet Mall, a.s. Internet Mall - obchody, kter? si obl?b?te. http://www.MALL.cz Timo Sirainen napsal(a):> On Wed, 2008-05-14 at 13:06 +0200, Milan Koudelka - Internet Mall wrote: > > >> I tried to override home directory by set this: >> >> userdb passwd { >> args = home=/var/spool/mail/%n >> } >> > > What Dovecot version? This works only with v1.1. Also it'd be better if > home directory wasn't the same as mail directory > (http://wiki.dovecot.org/VirtualUsers#homedirs). > >---------------------- Pocasi venku laka ke sportovani. Co takhle zkusit koleckove brusle? Ty nejzadanejsi modely mame skladem s 20% slevou: http://www.bartsport.cz/koleckove-brusle/ ----------------------