Re: [Dovecot] dovecot 1.2 plugin virtual and shared namespace with thunderbird

2009-05-11 Thread Robert Schetterer
Robert Schetterer schrieb: > Robert Schetterer schrieb: >> Robert Schetterer schrieb: >>> Timo Sirainen schrieb: On Wed, 2009-04-29 at 20:59 +0200, Robert Schetterer wrote: > no ,without virtual setup all works ok > i.e normal private namespace and shared namespace > > it works

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-11 Thread Lou Duchez
Bill Landry wrote: Timo Sirainen wrote: On Mon, 2009-05-11 at 17:15 -0400, Lou Duchez wrote: Re: the "dovecot: " at the beginning of the line in the log. I should mention that other applications encounter a similar issue with Fail2Ban -- for example, if you're running Asterisk, you ha

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-11 Thread Bill Landry
Timo Sirainen wrote: > On Mon, 2009-05-11 at 17:15 -0400, Lou Duchez wrote: >> Re: the "dovecot: " at the beginning of the line in the log. I should >> mention that other applications encounter a similar issue with Fail2Ban >> -- for example, if you're running Asterisk, you have to alter the log

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-11 Thread Timo Sirainen
On Mon, 2009-05-11 at 17:15 -0400, Lou Duchez wrote: > Re: the "dovecot: " at the beginning of the line in the log. I should > mention that other applications encounter a similar issue with Fail2Ban > -- for example, if you're running Asterisk, you have to alter the log > format such that the t

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-11 Thread Lou Duchez
Re: the "dovecot: " at the beginning of the line in the log. I should mention that other applications encounter a similar issue with Fail2Ban -- for example, if you're running Asterisk, you have to alter the log format such that the timestamp is at the beginning of the line: http://www.voip-i

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Flavio Costa
Hopefully this fix will be included =) Glad you helped me with this issue, this was really a show stopper for me to implement the quotas in my enviroment. I'm going to dig into this little problematic flag and find out if it has any possible side effect. Maybe quota-tools guys can provide us some

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Timo Sirainen
On Mon, 2009-05-11 at 17:57 -0300, Flavio Costa wrote: > Guess what?! Changing that 'if' worked as charm. > Both Thunderbird and Roundcube show quota perfectly! > > Now a question, what's does this patch do? Disables checking "quota is active" flag. > What active-check means? I've no idea real

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Flavio Costa
Guess what?! Changing that 'if' worked as charm. Both Thunderbird and Roundcube show quota perfectly! Now a question, what's does this patch do? What active-check means? Of course that's not the proper patch, since we are only faking a 'true' condition there, maybe removing that if completely. An

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-11 Thread Steve
Original-Nachricht > Datum: Mon, 11 May 2009 15:56:45 -0400 > Von: Lou Duchez > An: dovecot@dovecot.org > Betreff: [Dovecot] Fail2Ban and the Dovecot log > Hi, > Hello > Is there any way to disable the "dovecot: " at the beginning of each > line of the log? Fail2Ban respon

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Flavio Costa
Building dovecot with your small patch, I'll provide feedback soon. On Mon, May 11, 2009 at 3:37 PM, Timo Sirainen wrote: > On Mon, 2009-05-11 at 15:30 -0300, Flavio Costa wrote: > > I don't know what active-check means, unfortunatelly. > > If there's anything I could do in order to diagnose wha

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-11 Thread Bill Landry
Bill Landry wrote: > Lou Duchez wrote: > >> Is there any way to disable the "dovecot: " at the beginning of each >> line of the log? Fail2Ban responds poorly to it. I know there are a >> number of sites with "failregex" strings for Fail2Ban and Dovecot, but >> I've tried them all, and they don't

Re: [Dovecot] Fail2Ban and the Dovecot log

2009-05-11 Thread Bill Landry
Lou Duchez wrote: > Is there any way to disable the "dovecot: " at the beginning of each > line of the log? Fail2Ban responds poorly to it. I know there are a > number of sites with "failregex" strings for Fail2Ban and Dovecot, but > I've tried them all, and they don't work, at least with the la

[Dovecot] Fail2Ban and the Dovecot log

2009-05-11 Thread Lou Duchez
Hi, Is there any way to disable the "dovecot: " at the beginning of each line of the log? Fail2Ban responds poorly to it. I know there are a number of sites with "failregex" strings for Fail2Ban and Dovecot, but I've tried them all, and they don't work, at least with the latest Fail2ban and

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Timo Sirainen
On Mon, 2009-05-11 at 15:30 -0300, Flavio Costa wrote: > I don't know what active-check means, unfortunatelly. > If there's anything I could do in order to diagnose what's going on (a patch > maybe?) My previous mail suggested trying if this helps: Interestingly enough I don't see rq_active being

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Flavio Costa
I don't know what active-check means, unfortunatelly. If there's anything I could do in order to diagnose what's going on (a patch maybe?) On Mon, May 11, 2009 at 3:26 PM, Flavio Costa wrote: > I have accidentaly reply only to Timo, so I'm forwarding to discussion back > to the list. Sorry! > >

[Dovecot] Quota over NFS

2009-05-11 Thread Flavio Costa
I have accidentaly reply only to Timo, so I'm forwarding to discussion back to the list. Sorry! -- Forwarded message -- From: Timo Sirainen Date: Mon, May 11, 2009 at 3:12 PM Subject: Re: [Dovecot] Quota over NFS To: Flavio Costa On Mon, 2009-05-11 at 15:03 -0300, Flavio Costa

[Dovecot] Only specifying lda in protocols?

2009-05-11 Thread Brandon Lamb
protocols = lda Should this give me fatal errors when trying to do a dovecot -n I get # 1.2.rc3: /etc/dovecot/dovecot.conf Error: Invalid protocols given in configuration file Fatal: Invalid configuration in /etc/dovecot/dovecot.conf Dovecot starts and functions fine though

Re: [Dovecot] Dovecot 1.0.7 domain variable

2009-05-11 Thread Elliott Barrere
On Mon, May 11, 2009 at 12:31:19PM -0400, Timo Sirainen wrote: > On Sun, 2009-05-10 at 22:17 -0700, elli...@n.localhost wrote: > > > but from debug output I see the domain is blank: > > > > dovecot: May 10 20:49:25 Info: IMAP(elliott): maildir: > > data=/var/mail/vhosts//elliott > > > > I've se

Re: [Dovecot] Dovecot 1.0.7 domain variable

2009-05-11 Thread Timo Sirainen
On Sun, 2009-05-10 at 22:17 -0700, elli...@n.localhost wrote: > but from debug output I see the domain is blank: > > dovecot: May 10 20:49:25 Info: IMAP(elliott): maildir: > data=/var/mail/vhosts//elliott > > I've set elli...@n.0o0.bz as my username in Outlook so it is sending the > domain (an

Re: [Dovecot] Overwriting user Quota

2009-05-11 Thread Timo Sirainen
On Thu, 2009-05-07 at 11:36 +0200, Thomas Krause wrote: > user_query = SELECT CONCAT('/vmail/', maildir) AS home, \ > CONCAT('maildir:/vmail/', maildir) as mail, \ > CONCAT('*:bytes=', quota) AS quota_rule \ > FROM mailbox WHERE username = '%u' AND active = '1' Looks correct. My guess is that u

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Timo Sirainen
On Mon, 2009-05-11 at 12:21 -0400, Timo Sirainen wrote: > > May 6 13:06:46 SERVER_NAME dovecot: IMAP(USER_LOGGED): quota-fs: > > host=home.domain, path=/home, uid=1191 > > May 6 13:06:46 SERVER_NAME dovecot: IMAP(USER_LOGGED): quota-fs: uid=1191, > > value=0, limit=0, active=0 > > Dovecot succ

Re: [Dovecot] Quota over NFS

2009-05-11 Thread Timo Sirainen
On Wed, 2009-05-06 at 13:23 -0300, Flavio Costa wrote: > But through IMAP, if I issue : > > > C: 1 GETQUOTAROOT INBOX > > S: * QUOTAROOT INBOX "" > > S: 1 OK Getquota complete > > > > There's no: > > > * QUOTA "" (STORAGE 10 512) That's because: > May 6 13:06:46 SERVER_NAME dovecot: IMAP(USER_

Re: [Dovecot] dovecot weird bug

2009-05-11 Thread Timo Sirainen
On Sun, 2009-05-10 at 16:58 -0300, Fernando Bertasso wrote: > When I send an email from Squirrelmail and compress it, dovecot exits with > no errors (there are no coredumps or seg fault - dovecot just exits). I can't think of how that's possible.. > Here is a copy of the message (uncompressed - o

Re: [Dovecot] NTLM configuration

2009-05-11 Thread Cédric Laruelle
I figured out what the problem was. I had to setup samba with "winbind use default domain = true" and I had a firewall rule blocking winbind to samba discussion (for some reason, the discussion appears to be on the internet network adapter and not on the local network adapter ...). Thanks again

Re: [Dovecot] NTLM configuration

2009-05-11 Thread Timo Sirainen
On Mon, 2009-05-11 at 11:47 +0200, Cédric Laruelle wrote: > dovecot: May 11 11:40:35 Info: auth(default): winbind(?,192.168.0.254): user > not authenticated: NT_STATUS_NO_SUCH_USER .. > It says the user does not exist, but I use the same user as the one in > command line with ntlm_auth. > Actuall

Re: [Dovecot] Migration questions...

2009-05-11 Thread Timo Sirainen
On Mon, 2009-05-11 at 15:05 +, Richard Hobbs wrote: > Hi All, > > We are soon to migrate our mail server from one piece of hardware to > another and we would like to take this opportunity to optimize things. > As a result, we would like to replace "uw-imapd" and "qpopper" with > "dovecot". The

[Dovecot] Dovecot 1.0.7 domain variable

2009-05-11 Thread elliott
Hi all, Thanks in advance for any help! I'm trying to configure Dovecot to pull emails from Postfix virtual mailbox domain Maildirs under /var/mail/vhosts//. I've set mail_location as such in dovecot.conf: mail_location = maildir:/var/mail/vhosts/%d/%n but from debug output I see the domain

Re: [Dovecot] Migration questions...

2009-05-11 Thread Richard Hobbs
Hello, Apologies for replying to my own email so soon, but I've had other thoughts as well... Our server is going to have 4 hard disks. These can be configured into 2 RAID 1 (mirror) arrays, a single RAID 5 array, or a single RAID 0+1 array. Previously, we thought that two RAID 1 arrays would be

[Dovecot] Migration questions...

2009-05-11 Thread Richard Hobbs
Hi All, We are soon to migrate our mail server from one piece of hardware to another and we would like to take this opportunity to optimize things. As a result, we would like to replace "uw-imapd" and "qpopper" with "dovecot". The version we will be installing is 1.1.13-2, as this is what is avail

[Dovecot] Sieve & Regex

2009-05-11 Thread Peregrino "Pipino" Tuc
Hi all I'm trying to create a new sieve rule. What I would like to do is catch "From" addresses that are equal to the rightpart (hostname) of a message-id. For example: Message-ID: <000d01c9d23a$941a7db0$6400a...@upwabm> From: "Leanne Crabtree" I would like to catch this mail, because it has "

[Dovecot] dovecot weird bug

2009-05-11 Thread Fernando Bertasso
I found the bug, there are two errors: 1) Squirrelmail is wrongly formating multipart/alternative messages. Look here: --=_20090510163738_24160 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 8bit a *<-- HERE* --=_20090510163738_24160-- All other clients ins

Re: [Dovecot] Filesystem quota not working (was: Re: Quota over NFS)

2009-05-11 Thread Matthias Saou
Matthias Saou wrote : > FWIW, I seem to have a similar issue with 1.1.14 and system quotas on > the /home filesystem (different ext3 partition, no NFS) : > > . OK Logged in. > . getquotaroot INBOX > * QUOTAROOT "INBOX" > . OK Getquotaroot completed. > > I've tried with all of the following optio

Re: [Dovecot] Dovecot not accepting connections

2009-05-11 Thread Charles Marcus
On 5/10/2009, Jim (j...@themailshack.com) wrote: > Just wrapping up this thread, it was a firewall issue after all, > unbeknownst to me, the mail server box itself had a firewall running, > separate from the main firewall box protecting my LAN. For some > reason at boot time the local firewall was

[Dovecot] Filesystem quota not working (was: Re: Quota over NFS)

2009-05-11 Thread Matthias Saou
geoffroy desvernay wrote : > > The thing is that if the user has exceeded it's quota the LDA detects it and > > I get a response from postmaster warning me that the INBOX is full. > > But through IMAP, if I issue : > > > >> C: 1 GETQUOTAROOT INBOX > >> S: * QUOTAROOT INBOX "" > >> S: 1 OK Getquot

Re: [Dovecot] NTLM configuration

2009-05-11 Thread Cédric Laruelle
Actually, I found the winbind problem : I was using samba 3.0.28 which is bugged on using winbind on a samba PDC. I upgraded to 3.0.33 and now winbind is working correctly, meaning I can authenticate a user using ntlm_auth --username=xxx and I have "NT_STATUS_OK: Success (0x0)". However, it is s

Re: [Dovecot] NTLM configuration

2009-05-11 Thread Cédric Laruelle
No, I haven't. The problem is I find nowhere explanations on how to configure winbind to authenticate against samba. All configurations I found were to configure it on AD. In samba docs, I found "Winbind is targeted at organizations that have an existing NT-based domain infrastructure into which

Re: [Dovecot] NTLM configuration

2009-05-11 Thread Rob Coward
Have you confirmed winbind is configured and working correctly ? "user not authenticated: NT_STATUS_NO_LOGON_SERVERS" suggests to me that you havent got a working winbind setup. Rob On Mon, 2009-05-11 at 10:01 +0200, Cédric Laruelle wrote: > Hi again everybody ! > > > > I’m still stuck with

[Dovecot] NTLM configuration

2009-05-11 Thread Cédric Laruelle
Hi again everybody ! I’m still stuck with the dovecot ntlm authentication… I configured dovecot to use winbind, and I would like winbind to authenticate against samba (samba, winbind and dovecot are running on the same box). Here is the log I have (192.168.0.1 is the server box, 192.168.0.254