[Dovecot] Work with auth socket

2010-06-29 Thread Неворотин Вадим
-- Forwarded message -- From: Неворотин Вадим nevoro...@gmail.com Date: 2010/6/29 Subject: Re: [Dovecot] Work with auth socket To: Steffen Kaiser skdove...@smail.inf.fh-brs.de Hmm, I have some problems with realization of authentication throw dovecot socket. I've wrote

Re: [Dovecot] Work with auth socket

2010-06-29 Thread Неворотин Вадим
Yes, but this module doesn't work with my dovecot)) So I've tried to manually debug it - and it really does not work and has an error somewhere. Dovecot 1.2.10 from Debian backports. 2010/6/29 Anton Dollmaier antondollma...@aditsystems.de Hi, I've wrote such script: use

[Dovecot] Work with auth socket

2010-06-24 Thread Неворотин Вадим
I need to use Dovecot auth socket from my perl script to validate user's passwords (for jabber server). Is there any information about how to communicate with dovecot auth socket?

[Dovecot] [Bug] Case sensitive usernames and variables

2010-05-05 Thread Неворотин Вадим
Today I've found a very irritating bug: I use mail_location = maildir:/var/mail/%u/ in my dovecot.conf. And if user type Username, username, USERname etc at login dovecot create a different Maildir's for one real user. But LDA works corretly and save all messages to lowercase username mailbox.

Re: [Dovecot] [Bug] Case sensitive usernames and variables

2010-05-05 Thread Неворотин Вадим
2010/5/5 Steffen Kaiser skdove...@smail.inf.fh-brs.de First: Is it a typo or did you replaced %%u by %Lu ? Note the different number of %'s. No, of course I try to replace %u with %Lu. And also %%u with %%Lu. It's not working, so I think it's a bug. Second: You can have passdb return

Re: [Dovecot] Problems with masteruser

2010-04-16 Thread Неворотин Вадим
at 20:53 +0400, Неворотин Вадим wrote: Well, the main idea of master users is to able to log in as normal user with master password. So IMAP client shoudn't know at all that it work with masteruser password. And IMAP process must be exactly the same. If you can find difference between login

Re: [Dovecot] Problems with masteruser

2010-04-16 Thread Неворотин Вадим
...@iki.fi On Fri, 2010-04-16 at 15:30 +0400, Неворотин Вадим wrote: Hmm[?] For what can I use masterusers, if I even can't read with masteruser user's mails from INBOX? And where can I read about masterusers in that way. I really can't understand for what there is masterusers

Re: [Dovecot] Problems with masteruser

2010-04-16 Thread Неворотин Вадим
masteruser is really good for me[?] 2010/4/16 Timo Sirainen t...@iki.fi On Fri, 2010-04-16 at 16:57 +0400, Неворотин Вадим wrote: I've add $ENV{'MASTER_USER'} = $ENV{'USER'}; to my postlogin-imap script, and it looks like that all is working, thank you!!! I'll test it next week, but as I

Re: [Dovecot] Problems with masteruser

2010-04-09 Thread Неворотин Вадим
in master users implementation. I see a big difference 2010/4/9 Eric Rostetter rostet...@mail.utexas.edu Quoting Неворотин Вадим nevoro...@gmail.com: It's look like a big bug. As I understang there shouldn't be any different between logging in with masteruser and normal log in. But in my system

[Dovecot] Problems with masteruser

2010-04-08 Thread Неворотин Вадим
I have very strange problem with masteruser. See two logs below: # telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Welcome to our post server! x login

Re: [Dovecot] Problems with masteruser

2010-04-08 Thread Неворотин Вадим
It's look like a big bug. As I understang there shouldn't be any different between logging in with masteruser and normal log in. But in my system I can't use masteruser at all due to IMAP errors. 2010/4/9 Eric Rostetter rostet...@mail.utexas.edu Quoting ? ? nevoro...@gmail.com: I

[Dovecot] Per-user flags for shared folders

2010-04-07 Thread Неворотин Вадим
As I see in 2.0 there willn't be ability to control which flags should be shared, and which should be per-user. But may be there is some plans to implement settings to control that? It'll be great if you can write in dovecot-shared file which flags should be per-user. It's very usefull for group

Re: [Dovecot] Manage mails from server

2010-04-07 Thread Неворотин Вадим
Hmm, PREAUTH is cool. But all Perl CPAN modules for IMAP can work only throw UNIX local sockets (or usual internet connection). May be there is an ability to create a socket when launchind 'dovecot --exec-mail imap' instead of working directly with STDIN/STDOUT?

Re: [Dovecot] Manage mails from server

2010-04-07 Thread Неворотин Вадим
Thanks! Master Users are very good solution for me. 2010/4/8 Timo Sirainen t...@iki.fi On Thu, 2010-04-08 at 01:38 +0400, Неворотин Вадим wrote: Hmm, PREAUTH is cool. But all Perl CPAN modules for IMAP can work only throw UNIX local sockets (or usual internet connection). May

[Dovecot] Manage mails from server

2010-04-02 Thread Неворотин Вадим
I've configure Dovecot with shared namespace and IMAP ACL's to make a group mailboxes. I use maildir mailboxes, and I add dovecot-shared file to each group mailbox. So each user with access to group mailbox has their own \Seen flag. And now I need automatically delete a mail from server after 2

[Dovecot] Managing IMAP ACL from script

2010-03-31 Thread Неворотин Вадим
I need to change ALC for mailboxes from a script on my server. As I understand now I can correctly change ACL only via telnet using IMAP commands. And moreover I need to know user's password for it. Is there any plans to add inheritance of ACL and ability to manage it directly from a server? And

[Dovecot] Shared folders

2010-03-16 Thread Неворотин Вадим
I need to create a shared folder (mailbox for group mailing list) with access of several accounts to it. But all peoples with access to this mailbox should be able to work with this folder absolutely in the same way, as with local mailbox. Each user should be able to delete emails and mark it as

Re: [Dovecot] Problem with allow_nets passdb parameter and Postfix

2010-02-18 Thread Неворотин Вадим
Well, I've asked this question in Postfix mail list and after discussion as I understand Postfix 2.7 send all necessary client information to Dovecot socket. But I haven't try this solution yet. 2010/2/18 Timo Sirainen t...@iki.fi On Mon, 2010-02-15 at 14:00 +0300, Неворотин Вадим wrote

[Dovecot] Problem with allow_nets passdb parameter and Postfix

2010-02-15 Thread Неворотин Вадим
I use Dovecot for SASL authentication from Postfix. In Postfix main.cf I have: smtpd_sasl_type = dovecot It works good, but now I need to allow users to connect by IMAP only from given IP adresses. I've added extra field allow_nets to passdb in Dovecot, and IMAP authentication works fine. But