Re: [Dovecot] IMAP connection timeout value?

2010-09-23 Thread Stan Hoeppner
Stan Hoeppner put forth on 9/24/2010 12:45 AM: > >> I have a server sitting behind hardware firewall which is configured >> to timeout all connections in 30 minutes. > > So we're having some ISP issues lately, meaning we have to reboot our cable modem like 2-3 times a day. An unfortuna

Re: [Dovecot] IMAP connection timeout value?

2010-09-23 Thread Stan Hoeppner
> I have a server sitting behind hardware firewall which is configured > to timeout all connections in 30 minutes. >>> So we're having some ISP issues lately, meaning we have to reboot our >>> cable modem like 2-3 times a day. An unfortunate side-effect I've >>> found is, once the users max out

Re: [Dovecot] IMAP connection timeout value?

2010-09-23 Thread Sherin George
Hello, I am also in a similar position. I have a server sitting behind hardware firewall which is configured to timeout all connections in 30 minutes. So, I would like to set dovecot to 30 minutes. Could some one please let me know whether it is possible or not, at least. Thanks in advance.

Re: [Dovecot] OT - quality managed switch : Was Re: Possible to split message store location?

2010-09-23 Thread Charles Marcus
On 9/23/2010 7:55 PM, Stan Hoeppner wrote: Charles Marcus put forth on 9/23/2010 6:57 AM: Stan - if you don't mind an OT question... I'll give it a shot. Thanks Stan - good comments and will take some time to digest...

Re: [Dovecot] Setting hierarchy separator

2010-09-23 Thread ksrini9
Thanks, Timo.  It worked fine after I added the lines you have below to my 10-mail.conf.   Srini --- On Thu, 9/23/10, Timo Sirainen wrote: From: Timo Sirainen Subject: Re: [Dovecot] Setting hierarchy separator To: ksri...@yahoo.com Cc: "Dovecot Mailing List" Date: Thursday, September 23, 201

Re: [Dovecot] OT - quality managed switch : Was Re: Possible to split message store location?

2010-09-23 Thread Stan Hoeppner
Charles Marcus put forth on 9/23/2010 6:57 AM: > Stan - if you don't mind an OT question... I'll give it a shot. > Given your obvious expertise in the Enterprise Storage arena (enjoyed > reading some of your past posts on the subject, though much of it was > over my head) - what would you recomm

Re: [Dovecot] Upgrading from 2.0.1 to 2.0.3

2010-09-23 Thread Timo Sirainen
On 24.9.2010, at 0.41, Jerrale G wrote: > What has changed in 2.0.3 to make dovecot start storing the inbox in a "com" > subdirectory of "u...@domain"directory in the inbox folder? Recompile + reinstall Pigeonhole.

[Dovecot] Upgrading from 2.0.1 to 2.0.3

2010-09-23 Thread Jerrale G
What has changed in 2.0.3 to make dovecot start storing the inbox in a "com" subdirectory of "u...@domain"directory in the inbox folder? I am guessing I need to add ":INBOX=/home/mail/%d/%n/mail/" to: mail_location = maildir:/home/mail/%d/%n/mail:CONTROL=/home/mail/control/%d/%n:INDEX=/home/mai

Re: [Dovecot] get MAIL_FETCH_UIDL_FILE_NAME after save a email

2010-09-23 Thread Alex Baule
I want only the basename, it's the uid without flags. Em 23/09/2010 17:56, "Timo Sirainen" escreveu: > On 23.9.2010, at 21.31, Alex Baule wrote: > >> I Try to get the name from the saved email, you said to me, to get this with >> the get_special, ok... thats work. >> >> I get the name with thi

Re: [Dovecot] Setting hierarchy separator

2010-09-23 Thread Timo Sirainen
On 23.9.2010, at 22.21, ksri...@yahoo.com wrote: > dsync(root): Fatal: Mail locations must use the same virtual mailbox > hierarchy separator (specify separator for the default namespace). > > My problem is that I do not know how to set separator in 10-mail.conf. I > would appreciate any poin

[Dovecot] Setting hierarchy separator

2010-09-23 Thread ksrini9
I am trying to convert my maildir mail store to dbox using dsync (using "dsync -u username convert dbox:/mailstore2/dbox").    I get the following error message:   dsync(root): Fatal: Mail locations must use the same virtual mailbox hierarchy separator (specify separator for the default namespac

[Dovecot] Solved: virtual_transport lmtp Error: User doesn't have home dir set

2010-09-23 Thread Bernd Schmelter
> On 23.9.2010, at 20.38, Bernd Schmelter wrote: > >> Sep 23 21:30:43 serv dovecot: lmtp(16061, b...@chefe.dyndns.org): Error: >> User b...@chefe.dyndns.org doesn't have home dir set, disabling >> duplicate >> database > > http://wiki2.dovecot.org/VirtualUsers/Home > >> What is dublicate database /

Re: [Dovecot] get MAIL_FETCH_UIDL_FILE_NAME after save a email

2010-09-23 Thread Timo Sirainen
On 23.9.2010, at 21.31, Alex Baule wrote: > I Try to get the name from the saved email, you said to me, to get this with > the get_special, ok... thats work. > > I get the name with this: > mail_get_special(t->save_ctx->dest_mail, MAIL_FETCH_UIDL_FILE_NAME, &fname); > > By i got some mistake...

[Dovecot] get MAIL_FETCH_UIDL_FILE_NAME after save a email

2010-09-23 Thread Alex Baule
Hi Timo... I Try to get the name from the saved email, you said to me, to get this with the get_special, ok... thats work. I get the name with this: mail_get_special(t->save_ctx->dest_mail, MAIL_FETCH_UIDL_FILE_NAME, &fname); By i got some mistake... when i save a email that exist in the same di

Re: [Dovecot] virtual_transport lmtp Error: User doesn't have home dir set

2010-09-23 Thread Timo Sirainen
On 23.9.2010, at 20.38, Bernd Schmelter wrote: > Sep 23 21:30:43 serv dovecot: lmtp(16061, b...@chefe.dyndns.org): Error: > User b...@chefe.dyndns.org doesn't have home dir set, disabling duplicate > database http://wiki2.dovecot.org/VirtualUsers/Home > What is dublicate database / It`s possible

Re: [Dovecot] Does Director only work with dovecot proxy?

2010-09-23 Thread Timo Sirainen
On 23.9.2010, at 21.05, Edward Carraro wrote: > I was reading "conf.d/10-director.conf" and it mentions Dovecot proxy. I've > been using perdition in the past for my pop/imap proxying needs > and wasn't sure if Director could also use perdition or if it only works > with Dovecots proxying. I supp

Re: [Dovecot] execvp /usr/local/libexec/dovecot/dovecot-lda: Permission denied

2010-09-23 Thread fakessh
Timo, can be expected to correct the wiki -- "be invented in a clumsy and happiness" author unknow On Thu, 23 Sep 2010 15:13:01 -0400, Edward Carraro wrote: > Thanks everyone! > > I changed it to "virtual_transport = lmtp:unix:private/dovecot-lmtp" in > main.cf and chowned the file "/var/spool

[Dovecot] Does Director only work with dovecot proxy?

2010-09-23 Thread Edward Carraro
I was reading "conf.d/10-director.conf" and it mentions Dovecot proxy. I've been using perdition in the past for my pop/imap proxying needs and wasn't sure if Director could also use perdition or if it only works with Dovecots proxying. Thanks!

[Dovecot] virtual_transport lmtp Error: User doesn't have home dir set

2010-09-23 Thread Bernd Schmelter
Hallo, Errormessage in log, but it delivers correct Sep 23 21:30:40 serv postfix/pickup[15974]: 8807F4E127: uid=0 from= Sep 23 21:30:40 serv postfix/cleanup[16049]: 8807F4E127: message-id=<20100923193040.8807f4e...@serv.chefe.dyndns.org> Sep 23 21:30:40 serv postfix/qmgr[15975]: 8807F4E127: from

Re: [Dovecot] execvp /usr/local/libexec/dovecot/dovecot-lda: Permission denied

2010-09-23 Thread Edward Carraro
Thanks everyone! I changed it to "virtual_transport = lmtp:unix:private/dovecot-lmtp" in main.cf and chowned the file "/var/spool/postfix/private/dovecot-lmtp" to "postfix:postfix" it is now delivering email On Thu, Sep 23, 2010 at 3:03 PM, Thomas Leuxner wrote: > Am 23.09.2010 um 20:44 schrieb

Re: [Dovecot] Creating 'trash' folder

2010-09-23 Thread Robert Schetterer
Am 23.09.2010 19:04, schrieb Timo Sirainen: On Thu, 2010-09-23 at 12:11 -0400, Jerry wrote: It suggest ".trash" for the name. In many Dovecot+maildir configurations it's not valid to have '.' character in mailbox names, because it's also a hierarchy separator. Especially as the first character

Re: [Dovecot] Creating 'trash' folder

2010-09-23 Thread Robert Schetterer
Am 23.09.2010 18:52, schrieb Jerry: On Thu, 23 Sep 2010 18:30:50 +0200 Robert Schetterer articulated: Am 23.09.2010 18:11, schrieb Jerry: This might well be OT; however, I thought I would ask anyway. Please keep in mind that the IMAP server is Dovecot. I have a friend who uses Becky Interne

Re: [Dovecot] execvp /usr/local/libexec/dovecot/dovecot-lda: Permission denied

2010-09-23 Thread Thomas Leuxner
Am 23.09.2010 um 20:44 schrieb Edward Carraro: > using "virtual_transport = lmtp:unix:dovecot-lmtp" in main.cf I get > > Sep 23 18:38:25 mybox postfix/lmtp[2175]: 7790032064F: to=< > u...@mytest.domain.com>, relay=none, delay=525, delays=525/0.02/0/0, > dsn=4.4.1, status=deferred (connect to mybo

Re: [Dovecot] execvp /usr/local/libexec/dovecot/dovecot-lda: Permission denied

2010-09-23 Thread e-frog
On 23.09.2010 20:44, wrote Edward Carraro: > using "virtual_transport = lmtp:unix:dovecot-lmtp" in main.cf I get I think with > unix_listener /var/spool/postfix/private/dovecot-lmtp in your dovecot -n output it should be virtual_transport = lmtp:unix:private/dovecot-lmtp

Re: [Dovecot] execvp /usr/local/libexec/dovecot/dovecot-lda: Permission denied

2010-09-23 Thread Edward Carraro
using "virtual_transport = lmtp:unix:dovecot-lmtp" in main.cf I get Sep 23 18:38:25 mybox postfix/lmtp[2175]: 7790032064F: to=< u...@mytest.domain.com>, relay=none, delay=525, delays=525/0.02/0/0, dsn=4.4.1, status=deferred (connect to mybox.domain.com[dovecot-lmtp]: No such file or directory) i

Re: [Dovecot] Plain-Text & CRAM-MD5

2010-09-23 Thread Timo Sirainen
On Thu, 2010-09-23 at 19:49 +0200, Leander S. wrote: > I'm currently running my auth against CRAM-MD5 only. > > So my question now is: Is it possible to run CRAM-MD5 as well as > Plain-Text auth together with Postfix if Postfix is using Dovecot's > SASL auth service? Yes. Just add login and pl

Re: [Dovecot] execvp /usr/local/libexec/dovecot/dovecot-lda: Permission denied

2010-09-23 Thread Timo Sirainen
On Thu, 2010-09-23 at 13:44 -0400, Edward Carraro wrote: > I'm trying to follow the instructions for configuring Dovecot LMTP with > postfix for virtual domains but whenever mail arrives, in /var/log/maillog, > I see > postfix/main.cf: > virtual_transport = dovecot To use LMTP you need to make Po

[Dovecot] Plain-Text & CRAM-MD5

2010-09-23 Thread Leander S.
Hi there, I'm currently running my auth against CRAM-MD5 only. But I face problems with customers who apparently have smart phones which ONLY support plain-text authentification ;( Bad - I know, but what should I do ... ;/ So my question now is: Is it possible to run CRAM-MD5 as well as P

[Dovecot] execvp /usr/local/libexec/dovecot/dovecot-lda: Permission denied

2010-09-23 Thread Edward Carraro
I'm trying to follow the instructions for configuring Dovecot LMTP with postfix for virtual domains but whenever mail arrives, in /var/log/maillog, I see Sep 23 16:01:20 mybox postfix/pipe[572]: 999C83206C6: to=< u...@mytest.domain.com>, relay=dovecot, delay=0.08, delays=0.04/0.01/0/0.03, dsn=4.3.

[Dovecot] Trouble creating shared virtual folders

2010-09-23 Thread Daniela Silva
Hi all, I've tried to contact Timo Sirainen by dovecot irc channel but since I couldn't I'm trying the mailinglist. I'm trying to create shared virtual folders, users should not be able either to create or delete a virtual folder. What is the best way to do this? I've tried to do this with

Re: [Dovecot] Creating 'trash' folder

2010-09-23 Thread Timo Sirainen
On Thu, 2010-09-23 at 12:11 -0400, Jerry wrote: > It suggest ".trash" for the name. In many Dovecot+maildir configurations it's not valid to have '.' character in mailbox names, because it's also a hierarchy separator. Especially as the first character it's not allowed.

Re: [Dovecot] recursive locks

2010-09-23 Thread Timo Sirainen
On Thu, 2010-09-23 at 11:46 -0500, Mike Abbott wrote: > How can a dovecot-2 plugin safely use file-locks or file-dotlocks when the > processes into which it plugs handle multiple connections? You can't really. That's why mbox fails at startup if client_limit>1. Generally the locks are dropped bef

Re: [Dovecot] Creating 'trash' folder

2010-09-23 Thread Jerry
On Thu, 23 Sep 2010 18:30:50 +0200 Robert Schetterer articulated: > Am 23.09.2010 18:11, schrieb Jerry: > > This might well be OT; however, I thought I would ask anyway. > > > > Please keep in mind that the IMAP server is Dovecot. > > > > I have a friend who uses Becky Internet Mail > > whatev

[Dovecot] recursive locks

2010-09-23 Thread Mike Abbott
How can a dovecot-2 plugin safely use file-locks or file-dotlocks when the processes into which it plugs handle multiple connections? (Via, e.g., service imap { client_limit = N service_count = 0 }) Dovecot's file-locks and file-dotlocks do not appear to support nesting/recursion. For insta

Re: [Dovecot] Creating 'trash' folder

2010-09-23 Thread Robert Schetterer
Am 23.09.2010 18:11, schrieb Jerry: > This might well be OT; however, I thought I would ask anyway. > > Please keep in mind that the IMAP server is Dovecot. > > I have a friend who uses Becky Internet Mail whatever this is > on a Windows system. There us an

Re: [Dovecot] Expunged GUID mismatch for UID error

2010-09-23 Thread Robert Schetterer
Am 23.09.2010 16:38, schrieb Timo Sirainen: > On Thu, 2010-09-23 at 14:35 +0200, Xavier Pons wrote: > >> Sep 23 14:24:51 imap1 dovecot: imap(user): Error: Mailbox Trash: >> Expunged GUID mismatch for UID 20193: 442b5ef0c3d3bf3cf4cb619944dce8e4 >> vs 0431b9bee05471199fabbc05af3a87a5 >> (with diff

[Dovecot] Creating 'trash' folder

2010-09-23 Thread Jerry
This might well be OT; however, I thought I would ask anyway. Please keep in mind that the IMAP server is Dovecot. I have a friend who uses Becky Internet Mail on a Windows system. There us an options under the configuration menu in Becky to create the trash f

Re: [Dovecot] Expunged GUID mismatch for UID error

2010-09-23 Thread Timo Sirainen
Nope, looks like I could reproduce it. Wonder why my first testing didn't find it .. oh well, I guess 2.0.4 has to be released sooner than I thought. http://hg.dovecot.org/dovecot-2.0/rev/c24206d083e8

Re: [Dovecot] service(imap-login): chiled ... killed with signal 11

2010-09-23 Thread Burckhard Schmidt
On 23.09.2010 15:56, Timo Sirainen wrote: On Thu, 2010-09-23 at 08:55 +0200, Burckhard Schmidt wrote: #1 0xfecd750c in free () from /lib/libc.so.1 No symbol table info available. #2 0xfefc145c in CRYPTO_free () from /opt/csw/lib/libcrypto.so.0.9.8 No symbol table info available. #3 0xff04a

Re: [Dovecot] Auth error

2010-09-23 Thread Timo Sirainen
On Thu, 2010-09-23 at 11:58 -0300, Thiago Henrique wrote: > I my tests, the authentication fails intermittently, and I could not > find what's wrong. Can anyone help me? doveconf -n output could be helpful. > Sep 22 16:31:20 box5 dovecot: auth: Error: Master requested auth for > nonexistent clien

Re: [Dovecot] dovecot+sieve redirect action signal 11 while user homedir not defined

2010-09-23 Thread Timo Sirainen
On Thu, 2010-09-23 at 15:33 +0100, Timo Sirainen wrote: > On Thu, 2010-09-23 at 15:00 +0200, Maciej Uhlig wrote: > > 2010-09-23T09:25:23+02:00 st1/192.168.10.201 dovecot: [ID 583609 > > mail.error] master: Error: service(lmtp): child 15524 killed with signal > > 11 (core not dumped) > > > > in c

[Dovecot] Auth error

2010-09-23 Thread Thiago Henrique
Hello, I'm testing Dovecot 2.0. I plan to use Dovecot 2.0 with thousands of domains per server. My user base is under virtual MySQL. I my tests, the authentication fails intermittently, and I could not find what's wrong. Can anyone help me? ##

Re: [Dovecot] Expunged GUID mismatch for UID error

2010-09-23 Thread Timo Sirainen
On Thu, 2010-09-23 at 14:35 +0200, Xavier Pons wrote: > Sep 23 14:24:51 imap1 dovecot: imap(user): Error: Mailbox Trash: > Expunged GUID mismatch for UID 20193: 442b5ef0c3d3bf3cf4cb619944dce8e4 > vs 0431b9bee05471199fabbc05af3a87a5 > (with different GUIDs, and UIDs) > > and the mails are not ex

Re: [Dovecot] Fixed mailbox id?

2010-09-23 Thread Timo Sirainen
On Thu, 2010-09-23 at 07:43 +0200, Dieter Knopf wrote: > I have many Sieve rules and searching for a way to "track" > renamings/moving of mailboxes (folders) on my IMAP server. > Is there a unique ID for every folder available? I don't think there, > i found no ID inside my folders :( v2.0 has m

Re: [Dovecot] dovecot+sieve redirect action signal 11 while user homedir not defined

2010-09-23 Thread Timo Sirainen
On Thu, 2010-09-23 at 15:00 +0200, Maciej Uhlig wrote: > 2010-09-23T09:25:23+02:00 st1/192.168.10.201 dovecot: [ID 583609 > mail.error] master: Error: service(lmtp): child 15524 killed with signal > 11 (core not dumped) > > in case user home directory is (erroneously) undefined. I can't reprodu

Re: [Dovecot] Sieve force SSL

2010-09-23 Thread Timo Sirainen
On Thu, 2010-09-23 at 15:17 +0200, Lukas Haase wrote: > So back to sieve: If I set disable_plaintext_auth=yes and ssl=required > then nothing should change for my IMAPS port because it is TLS per > definition. And for managesieve it means that it should be protected the > same way IMAP with STAR

Re: [Dovecot] service(imap-login): chiled ... killed with signal 11

2010-09-23 Thread Timo Sirainen
On Thu, 2010-09-23 at 08:55 +0200, Burckhard Schmidt wrote: > #1 0xfecd750c in free () from /lib/libc.so.1 > No symbol table info available. > #2 0xfefc145c in CRYPTO_free () from /opt/csw/lib/libcrypto.so.0.9.8 > No symbol table info available. > #3 0xff04a13c in sk_free () from /opt/csw/lib/l

Re: [Dovecot] Sieve force SSL

2010-09-23 Thread Lukas Haase
Hi, Am 23.09.2010 14:58, schrieb Timo Sirainen: On Thu, 2010-09-23 at 12:16 +0200, Lukas Haase wrote: I have activated only imaps and managesieve. As sieve is running on a different port/protocol: Can I make sure that sieve can ONLY be used with SSL/TLS? http://wiki.dovecot.org/SSL Thank

[Dovecot] dovecot+sieve redirect action signal 11 while user homedir not defined

2010-09-23 Thread Maciej Uhlig
Hi, while executing simple sieve script: require ["fileinto", "envelope"]; if header :contains "subject" "test" { redirect "u...@domain"; } we got: 2010-09-23T09:25:23+02:00 st1/192.168.10.201 dovecot: [ID 583609 mail.error] master: Error: service(lmtp): child 15524 killed with signal 11 (cor

Re: [Dovecot] Sieve force SSL

2010-09-23 Thread Timo Sirainen
On Thu, 2010-09-23 at 12:16 +0200, Lukas Haase wrote: > I have activated only imaps and managesieve. > > As sieve is running on a different port/protocol: Can I make sure that > sieve can ONLY be used with SSL/TLS? http://wiki.dovecot.org/SSL

[Dovecot] Expunged GUID mismatch for UID error

2010-09-23 Thread Xavier Pons
Hi, we have upgraded from v2.0.1 to v2.0.3 yesterday, trying to solve the "dovecot-uidlist: Duplicate file entry" errors. Now, at the moment, we don't get these errors, but when I try to expunge mails from my trash folder I get a lot of errors: Sep 23 14:24:51 imap1 dovecot: imap(user): Error

Re: [Dovecot] Dovecot LDA, virtual users, multiple uids: No luck

2010-09-23 Thread Toni Mueller
Hi, On Mon, 20.09.2010 at 15:19:54 +0100, Timo Sirainen wrote: > On Sat, 2010-09-18 at 19:59 +0200, Toni Mueller wrote: > > I'm trying to get Dovecot's deliver to create and use mailboxen with > > one uid per user. Reading the wiki, I decided to go with the sudo > > attempt, but I'm stuck becaus

[Dovecot] OT - quality managed switch : Was Re: Possible to split message store location?

2010-09-23 Thread Charles Marcus
On 2010-09-23 3:08 AM, Stan Hoeppner wrote: > Given it's 2010, I'm assuming your NAS device has at least 2 GigE > ports and you are doing link aggregation/port bonding with the > quality managed switch it's connected to Stan - if you don't mind an OT question... Given your obvious expertise in t

Re: [Dovecot] Sieve error on Quota full (Dovecot 2.0.3)

2010-09-23 Thread Charles Marcus
On 2010-09-22 8:53 PM, Cassidy Larson wrote: > I haven't tried the quota_full_tempfail yet, because a lot of these > are just accounts that haven't been used forever and have gotten > full of spam and I dont know if I'd prefer tempfailing them to just > bouncing. Why waste the resources at all

Re: [Dovecot] Can't delete certain messages

2010-09-23 Thread Charles Marcus
On 2010-09-22 5:03 PM, Stan Hoeppner wrote: > IIRC, by default, Thunderbird only performs expunge and trash folder > emptying upon exit (though it's configurable with a check box), By default neither of these are checked, but yes, there are two checkbox options, one to Expunge the Inbox on exit,

[Dovecot] Sieve force SSL

2010-09-23 Thread Lukas Haase
Hi, I have activated only imaps and managesieve. As sieve is running on a different port/protocol: Can I make sure that sieve can ONLY be used with SSL/TLS? As the credentials are transmitted I only offer services with SSL (IMAPS, SMTP over SSL, ...). For sieve I am not sure about this. If

Re: [Dovecot] Possible to split message store location?

2010-09-23 Thread Stan Hoeppner
Edward Carraro put forth on 9/22/2010 10:03 PM: > We have a few dovecot servers all pointing to the same mail location (an NFS > mount on a NAS drive). > > This could lead to a possible bottleneck eventually and we were wondering if > it's possible to have dovecot > direct x number of users to one