Re: [Dovecot] Public folders and groups

2012-10-25 Thread Jan Phillip Greimann
I didn't know ADs well, but...can't you simply add the Field? In LDAP it should be possible, if you use MS AD, i dunno. Am 25.10.2012 22:49, schrieb b m:> No AD doesn't have such a field, but I could use some unused field to > get what I want. Let's say set "Attribute1" to "group1". The proble

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Stan Hoeppner
On 10/25/2012 10:54 PM, Ben Morrow wrote: > At 7PM -0500 on 25/10/12 you (Stan Hoeppner) wrote: >> On 10/25/2012 4:24 PM, Ben Morrow wrote: >>> At 1PM -0500 on 25/10/12 you (Stan Hoeppner) wrote: Switch Postfix to use the Dovecot Local Deliver Agent (LDA) in place of the Postfix lo

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Ben Morrow
At 1AM +0300 on 26/10/12 you (Robert JR) wrote: > On 2012-10-26 00:15, Ben Morrow wrote: > > > As Stan said earlier, this is a Postfix question. The rule for [Looking back at the thread it wasn't Stan, it was Dennis Guhl. Sorry about that.] > > dotlocking is that you must create the .lock *befo

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Ben Morrow
At 7PM -0500 on 25/10/12 you (Stan Hoeppner) wrote: > On 10/25/2012 4:24 PM, Ben Morrow wrote: > > At 1PM -0500 on 25/10/12 you (Stan Hoeppner) wrote: > >> > >> Switch Postfix to use the Dovecot Local Deliver Agent (LDA) in place of > >> the Postfix local/virtual delivery agent. Using Dovecot LD

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Stan Hoeppner
On 10/25/2012 1:23 PM, Stan Hoeppner wrote: > I forgot to mention one very important feature of Dovecot LDA: > > New messages delivered by Postfix are indexed by LDA as they are written > to the mailbox, flags updated at this time, etc. Thus when a mailbox is > opened in an IMAP MUA, new message

Re: [Dovecot] Changing password for users

2012-10-25 Thread Simon Brereton
On Oct 25, 2012 7:20 PM, "Mike John" wrote: >> >> Hello, >> >> I am using dovecot (2.0.9) and using virtual users using >> >> passdb { >> args = /etc/dovecot/dovecotpasswd >> driver = passwd-file >> } >> >> How can i make my virtual users change their passwords using web >> interface ? >> >> My us

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Stan Hoeppner
On 10/25/2012 4:24 PM, Ben Morrow wrote: > At 1PM -0500 on 25/10/12 you (Stan Hoeppner) wrote: >> >> Yes, actually I did, but I missed one part of it because I assumed you >> had Dovecot setup properly. >> >> It doesn't matter if the mbox locks are write or read or both. Locks >> are the problem,

Re: [Dovecot] Changing password for users

2012-10-25 Thread Mike John
Hello, I am using dovecot (2.0.9) and using virtual users using passdb { args = /etc/dovecot/dovecotpasswd driver = passwd-file } How can i make my virtual users change their passwords using web interface ? My users already uses squirrelmail to access their mail. is there a program to add to s

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Robert JR
On 2012-10-26 00:15, Ben Morrow wrote: At 10AM +0300 on 25/10/12 you (Robert JR) wrote: Stan, sorry but you didnot understand my question at all, dovecot in this case is reading the mailbox file while user downloading the mail and not WRITING. only postfix write when a mail arrives and DOVEC

Re: [Dovecot] Changing password for users

2012-10-25 Thread Jeffrey Ross
On 10/25/2012 03:21 PM, Mike John wrote: Hello, I am using dovecot (2.0.9) and using virtual users using passdb { args = /etc/dovecot/dovecotpasswd driver = passwd-file } How can i make my virtual users change their passwords using web interface ? My users already uses squirrelmail to a

Re: [Dovecot] Snarf plugin

2012-10-25 Thread Jeffrey Ross
Just thought I'd follow up on my original post, I got the snarf plugin to work properly with some help from Jonathan at PSU (need to give credit where credit is due) For anybody else looking for the configuration here is the relevant output from dovecot -n # 2.1.10: //etc/dovecot/dovecot.con

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Stan Hoeppner
On 10/25/2012 2:42 PM, Robert JR wrote: > Thanks again Stan, you are very helpfull, i will start learning how to > configure LDA, but hopefully i can also have an answer from Timo about > why this issue happened.. i am sure he is aware of it and can explain it.. Probably not. You describe a dot

Re: [Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread Bradley Rintoul
Cool. Thanks for the input. Can you tell me briefly why you'd choose getmail? Thanks again. B. RIntoul From: /dev/rob0 To: dovecot@dovecot.org Sent: Thu, October 25, 2012 1:11:13 PM Subject: Re: [Dovecot] Creating Maildir and populating with emails via ext

Re: [Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread Bradley Rintoul
I didn't actually write code to create Maildir files from scratch, technically. I used 15-20 lines of Python to do that and to actually fetch the mail in addition... Mailbox consolidation isn't the only thing which this project I'm working on requires, but it's a big part of it. :) Anyway,

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Ben Morrow
At 1PM -0500 on 25/10/12 you (Stan Hoeppner) wrote: > > Yes, actually I did, but I missed one part of it because I assumed you > had Dovecot setup properly. > > It doesn't matter if the mbox locks are write or read or both. Locks > are the problem, period, because you have two daemons fighting

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Ben Morrow
At 10AM +0300 on 25/10/12 you (Robert JR) wrote: > > Stan, sorry but you didnot understand my question at all, dovecot in > this case is reading the mailbox file while user downloading the mail > and not WRITING. only postfix write when a mail arrives and DOVECOT > only read the mail. And even if

Re: [Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread Stan Hoeppner
On 10/25/2012 2:13 PM, Bradley Rintoul wrote: > Let's say someone has an account with Yahoo, for example. My Python code is > > fetching email from the user's Yahoo! account and placing it into the > Dovecot > Maildir storage for a particular user. Now when the user retrieves their > ma

Re: [Dovecot] Public folders and groups

2012-10-25 Thread b m
No AD doesn't have such a field, but I could use some unused field to get what I want. Let's say set "Attribute1" to "group1". The problem is how to get that info. I guess I have to edit dovecot-ldap.conf and put in user_attrs something like that ",=acl_groups=Attribute1". Any suggestions?

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Robert JR
On 2012-10-25 23:18, Stan Hoeppner wrote: On 10/25/2012 12:38 PM, Robert JR wrote: On 2012-10-25 21:23, Stan Hoeppner wrote: On 10/25/2012 1:00 PM, Stan Hoeppner wrote: Switch Postfix to use the Dovecot Local Deliver Agent (LDA) in place of the Postfix local/virtual delivery agent. Using D

[Dovecot] Changing password for users

2012-10-25 Thread Mike John
Hello, I am using dovecot (2.0.9) and using virtual users using passdb { args = /etc/dovecot/dovecotpasswd driver = passwd-file } How can i make my virtual users change their passwords using web interface ? My users already uses squirrelmail to access their mail. is there a program to a

Re: [Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread Steve Litt
On Thu, 25 Oct 2012 12:13:34 -0700 (PDT), Bradley Rintoul said: > This could be good. I'd never looked into the LDA - I will study up > on it. > > Someone else was helping out here and I thought I'd shed some more > light on what I'm doing here... > > Let's say someone has an account with Yahoo

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Stan Hoeppner
On 10/25/2012 12:38 PM, Robert JR wrote: > On 2012-10-25 21:23, Stan Hoeppner wrote: > >> On 10/25/2012 1:00 PM, Stan Hoeppner wrote: >> >>> Switch Postfix to use the Dovecot Local Deliver Agent (LDA) in place of >>> the Postfix local/virtual delivery agent. Using Dovecot LDA eliminates >>> the fi

Re: [Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread /dev/rob0
> From: Tom Hendrikx > I'm intrigued by this. Why are you using some self-baked(?) python > script to fetch the mail in stead of using ready-made components > like fetchmail? > > Unless there's a special reason not to, try using the LDA (and > fetchmail/getmail for that matter). > > This sound

Re: [Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread Bradley Rintoul
I am brand new to this whole "email" thing. I am looking at this article right now: http://www.tuxradar.com/content/get-started-fetchmail-procmail-and-dovecot Thanks for the input! From: Tom Hendrikx To: dovecot@dovecot.org Sent: Thu, October 25, 2012 12:41

Re: [Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread Robert Schetterer
Am 25.10.2012 21:13, schrieb Bradley Rintoul: > This could be good. I'd never looked into the LDA - I will study up on it. > > Someone else was helping out here and I thought I'd shed some more light on > what > I'm doing here... > > Let's say someone has an account with Yahoo, for example.

Re: [Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread Tom Hendrikx
On 25/10/12 21:13, Bradley Rintoul wrote: > This could be good. I'd never looked into the LDA - I will study up on it. > > Someone else was helping out here and I thought I'd shed some more light on > what > I'm doing here... > > Let's say someone has an account with Yahoo, for example. My P

[Dovecot] Dovecot sends BYE while fetching X-GM-MSGID

2012-10-25 Thread Loshkovskyi Andrii
Hello everyone, While using the following set of commands, I am having the error as below: FETCH 7 (X-GM-MSGID) A15 FETCH 7 (X-GM-MSGID) A15 BAD Error in IMAP command FETCH: Unknown parameter X-GM-MSGID Can I somehow disable such errors so that Dovecot won't send BYE on X-GM-MSGID but just proc

Re: [Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread Steve Litt
On Thu, 25 Oct 2012 15:31:38 -0400, Steve Litt said: > On Thu, 25 Oct 2012 20:06:17 +0200, Sven Hartge said: > > How about injecting the mails into the LDA. It will take care of > > proper delivery without the need for your programm to know the > > internal workings of dovecot. > > What is an LDA

Re: [Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread Steve Litt
On Thu, 25 Oct 2012 20:06:17 +0200, Sven Hartge said: > Bradley Rintoul wrote: > > > I'm using Dovecot to provide IMAP services for Thunderbird clients. > > The user's mail is stored in Maildir format and the individual > > emails which the user "receives" are actually downloaded and put > > into

Re: [Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread Bradley Rintoul
This could be good. I'd never looked into the LDA - I will study up on it. Someone else was helping out here and I thought I'd shed some more light on what I'm doing here... Let's say someone has an account with Yahoo, for example. My Python code is fetching email from the user's Yahoo! ac

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Robert JR
On 2012-10-25 21:23, Stan Hoeppner wrote: On 10/25/2012 1:00 PM, Stan Hoeppner wrote: Switch Postfix to use the Dovecot Local Deliver Agent (LDA) in place of the Postfix local/virtual delivery agent. Using Dovecot LDA eliminates the file locking issue. Thus it also increases throughput as lo

Re: [Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread Stan Hoeppner
On 10/25/2012 1:01 PM, Bradley Rintoul wrote: > the individual emails which the user > "receives" are actually downloaded and put into the Maildir "repository" > using a > Python email client (POP3 client). Tell us more about this. This doesn't sound like 'normal' email being fetched from an

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Stan Hoeppner
On 10/25/2012 1:00 PM, Stan Hoeppner wrote: > Switch Postfix to use the Dovecot Local Deliver Agent (LDA) in place of > the Postfix local/virtual delivery agent. Using Dovecot LDA eliminates > the file locking issue. Thus it also increases throughput as lock > latency is eliminated. It also ena

Re: [Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread Sven Hartge
Bradley Rintoul wrote: > I'm using Dovecot to provide IMAP services for Thunderbird clients. > The user's mail is stored in Maildir format and the individual emails > which the user "receives" are actually downloaded and put into the > Maildir "repository" using a Python email client (POP3 client

[Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread Bradley Rintoul
Hello: I'm using Dovecot to provide IMAP services for Thunderbird clients. The user's mail is stored in Maildir format and the individual emails which the user "receives" are actually downloaded and put into the Maildir "repository" using a Python email client (POP3 client). I am trying to

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Stan Hoeppner
On 10/25/2012 2:23 AM, Robert JR wrote: > On 2012-10-25 06:57, Stan Hoeppner wrote: > >> On 10/24/2012 3:04 PM, Robert JR wrote: >> >>> I have a question regarding mailbox locking and hope any one can help >>> me to better understanding the locking of mbox My Postfix lock option >>> is fcntl dotlo

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Robert JR
On 2012-10-25 17:28, /dev/rob0 wrote: On Thu, Oct 25, 2012 at 10:23:29AM +0300, Robert JR wrote: Stan, sorry but you didnot understand my question at all, dovecot in this case is reading the mailbox file while user downloading the mail and not WRITING. only postfix write when a mail arrives

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread /dev/rob0
On Thu, Oct 25, 2012 at 10:23:29AM +0300, Robert JR wrote: > Stan, sorry but you didnot understand my question at all, dovecot > in this case is reading the mailbox file while user downloading the > mail and not WRITING. only postfix write when a mail arrives and > DOVECOT only read the mail. An

Re: [Dovecot] Small issue with "submission host"

2012-10-25 Thread Thomas Leuxner
On Thu, Oct 25, 2012 at 03:09:47PM +0200, Raphael Ordinas wrote: > When sending mail to MTA (in case of sieve filter forwarding for > example), dovecot pass a RCPT TO command just after the EHLO. He's > missing the MAIL FROM command. > Therefore, my MTA show me a warning like this : "improper comma

[Dovecot] Small issue with "submission host"

2012-10-25 Thread Raphael Ordinas
Hi everyone, I'm facing a small issue with the lda/lmtp "submission_host" feature in dovecot 2.0.14. When sending mail to MTA (in case of sieve filter forwarding for example), dovecot pass a RCPT TO command just after the EHLO. He's missing the MAIL FROM command. Therefore, my MTA show me a

Re: [Dovecot] Public folders and groups

2012-10-25 Thread Jan Phillip Greimann
Am 25.10.2012 00:13, schrieb b m: Currently I have dovecot working with Active Directory authentication and public folders with acl. In acl I have the users I want to access the public folders. It'll be easier for me to use one group instead of 50 users but I can't get it to work. From where do

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Robert JR
On 2012-10-25 11:56, Dennis Guhl wrote: On Thu, Oct 25, 2012 at 10:23:29AM +0300, Robert JR wrote: [..] should happen. My question is postfix locking option is = FCNTL, DOTLOCK , and dovecot = FCNTL, if postfix find a file already FCNTL, why it dotlock the file 5 secs then remove the dotlock

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Dennis Guhl
On Thu, Oct 25, 2012 at 10:23:29AM +0300, Robert JR wrote: [..] > should happen. My question is postfix locking option is = FCNTL, > DOTLOCK , and dovecot = FCNTL, if postfix find a file already FCNTL, > why it dotlock the file 5 secs then remove the dotlock and say > resource unaviable? why in t

Re: [Dovecot] Locking /var/mail/user issue with postfix and dovecot

2012-10-25 Thread Robert JR
On 2012-10-25 06:57, Stan Hoeppner wrote: On 10/24/2012 3:04 PM, Robert JR wrote: I have a question regarding mailbox locking and hope any one can help me to better understanding the locking of mbox My Postfix lock option is fcntl dotlock mailbox_delivery_lock = fcntl, dotlock virtual_mailbo

Re: [Dovecot] Problem with sieve. dovecot 2.0.17

2012-10-25 Thread Eliezer Croitoru
On 10/23/2012 9:40 PM, Stephan Bosch wrote: Also, could you provide your full configuration as output from `dovecot -n` ? Regards, Stephan. Thanks Stephan, I just upgraded from 2.0.17 to 2.1.9 and ph 0.3.1 (gentoo) and it seems to work as expected and dont leave any traces in the INBOX with