Re: [Dovecot] expire-tool segmentation fault

2009-05-20 Thread LEVAI Daniel
On Tuesday 19 May 2009 22.01.42 Timo Sirainen wrote: On Tue, 2009-05-19 at 21:53 +0200, LEVAI Daniel wrote: This won't really work. Instead when you ran the expire-tool, it said it dumped core, so run: gdb /usr/local/libexec/dovecot/expire-tool core bt full Okay thanks:)

Re: [Dovecot] FTS Plugin design

2009-05-20 Thread Rui Carneiro
Now, with attachment. /* Copyright (c) 2006-2009 Dovecot authors, see the included COPYING file */ #include lib.h #include buffer.h #include base64.h #include str.h #include unichar.h #include charset-utf8.h #include quoted-printable.h #include rfc822-parser.h #include rfc2231-parser.h #include

[Dovecot] using postfix+dovecot+squirrell+amavisd and spam folder per user

2009-05-20 Thread ESGLinux
Hi All, As I say in the subject I use postfix, dovecot with squirrellmail as webmail and amavisd as spam control, My problem is that all the spam I catch is send to /var/lib/amavis/virus but I want to send this mails to the spam folder of each user. This way the user can see the mails and

Re: [Dovecot] Dovecot is emptying Maildir folders

2009-05-20 Thread Alexander Johannes
Hello, On Tue, 19 May 2009 11:35:46 -0400, Timo Sirainen t...@iki.fi wrote: On May 19, 2009, at 10:41 AM, Alexander Johannes wrote: How can i debug this problem? Any advice is welcome. http://wiki.dovecot.org/Plugins/MailLog logs all expunges, so it should show what does it and when.

Re: [Dovecot] Dovecot is emptying Maildir folders

2009-05-20 Thread Alexander Johannes
Hello, On Tue, 19 May 2009 08:00:01 -0700, Roderick A. Anderson raand...@cyber-office.net wrote: Alexander Johannes wrote: Clients: Thunderbird, Mail.app both IMAP only As far as i can see, the problem is related to thunderbird (it happened again today 5 minutes after starting thunderbird).

Re: [Dovecot] mkdir no permission

2009-05-20 Thread Anna Obertacke
Hi, that is not the problem drwxr-x--x 20 annalein annalein 12288 2009-05-18 19:05 annalein /home/annalein is writable by annalein. Am 19.05.2009 um 21:46 schrieb Timo Sirainen: On Tue, 2009-05-19 at 11:07 +0200, Anna Obertacke wrote: May 19 10:00:38 ubuntu dovecot:

Re: [Dovecot] using postfix+dovecot+squirrell+amavisd and spam folder per user

2009-05-20 Thread ESGLinux
Hi Karel, Thank you very much for your answer, I´m going to investigate lda as you say In deed, I´m looking at my dovecot.conf and I realize I have this entry: protocol lda { postmaster_address = postmas...@dominio.com mail_plugins = quota log_path = /var/log/dovecot-deliver.log info_log_path

Re: [Dovecot] Dovecot is emptying Maildir folders

2009-05-20 Thread Charles Marcus
On 5/19/2009 11:00 AM, Roderick A. Anderson wrote: i have a annoying problem with dovecot after updating to 1.1.14. Dovecot seems to empty all cur/ and new/ Folders in the Maildir of a particular user several times a day (3 times so far). It leaves only unread messages in their place. All

Re: [Dovecot] Dovecot is emptying Maildir folders

2009-05-20 Thread Alexander Johannes
Hello, On Wed, 20 May 2009 06:18:30 -0400, Charles Marcus cmar...@media-brokers.com wrote: On 5/19/2009 11:00 AM, Roderick A. Anderson wrote: i have a annoying problem with dovecot after updating to 1.1.14. Dovecot seems to empty all cur/ and new/ Folders in the Maildir of a particular user

Re: [Dovecot] using postfix+dovecot+squirrell+amavisd and spam folder per user

2009-05-20 Thread ESGLinux
HI again, I cant get this work. I have followed these instructions: http://wiki.dovecot.org/LDA/Postfix Now I have this in my configuratio files: main.cf: virtual_transport = dovecot . master.cf: dovecot unix - n n - - pipe flags=DRhu

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-20 Thread Kenneth Gonsalves
On Wednesday 20 May 2009 01:20:37 you wrote: On Tue, 2009-05-19 at 13:35 +0530, Kenneth Gonsalves wrote: May 19 09:16:10 greenchilly dovecot: chdir(/home/vmail/example.com/john) failed with uid 5000: Permission denied .. I have looked at the archives and see that the problem has been

Re: [Dovecot] mkdir no permission

2009-05-20 Thread John Doe
From: Anna Obertacke a...@obertacke.de Am 19.05.2009 um 21:46 schrieb Timo Sirainen: On Tue, 2009-05-19 at 11:07 +0200, Anna Obertacke wrote: May 19 10:00:38 ubuntu dovecot: POP3(annalein): mkdir(/home/annalein/Maildir/cur) failed: Permission denied (euid=1000(annalein)

[Dovecot] [bug] dovecot 1.1.15: segfault after message move

2009-05-20 Thread Juergen Daubert
Hello, found the following in my error log: May 20 13:27:48 ser dovecot: imap-login: Login: user=juergen, method=PLAIN, rip=192.168.0.17, lip=192.168.0.90, TLS May 20 13:28:10 ser dovecot: Panic: IMAP(juergen): file imap-sync.c: line 439 (cmd_sync_delayed): assertion failed: (client-mailbox !=

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-20 Thread Kenneth Gonsalves
On Wednesday 20 May 2009 16:58:22 Kenneth Gonsalves wrote: no Anyway that chdir() syscall really failed with that error message. The reason for that is less clear then.. v1.1+ would give a much nicer error message here telling exactly what is wrong.. I have installed version 1.1.13,

Re: [Dovecot] Dovecot is emptying Maildir folders

2009-05-20 Thread Charles Marcus
On 5/20/2009 7:03 AM, Alexander Johannes wrote: Thunderbird also has what is called a 'Retention Policy' that you can set *on each folder* ('right-click-on-folder Properties Retention Policy') that overrides the per account global setting ('Tools Account Settings YourAccount Offline and

Re: [Dovecot] using postfix+dovecot+squirrell+amavisd and spam folder per user

2009-05-20 Thread Charles Marcus
On 5/20/2009, ESGLinux (esggru...@gmail.com) wrote: main.cf: virtual_transport = dovecot . Show postconf -n output instead... Did you reload postfix after making the change? -- Best regards, Charles

Re: [Dovecot] pop3 gives a permission denied error on chdir

2009-05-20 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 20 May 2009, Kenneth Gonsalves wrote: Well, there are lots of permission denied problems lately. Are you really absolutely sure that user with uid 5000 may chdir into /home/vmail/example.com/john ?? I mean, make sure su may set uid to

[Dovecot] Deleting everything left from lazy expunge

2009-05-20 Thread Romer Ventura
Hello, My storage is running low and i was wondering what would be the best and easy way of deleting everything within the deleted and expunged folders for every user...? My mail resides in: /srv/mail/vmail/MYDOMAIN.COM/users/Maildir/ Thanks..!

Re: [Dovecot] Deleting everything left from lazy expunge

2009-05-20 Thread J.P. Trosclair
Romer Ventura wrote: Hello, My storage is running low and i was wondering what would be the best and easy way of deleting everything within the deleted and expunged folders for every user...? My mail resides in: /srv/mail/vmail/MYDOMAIN.COM/users/Maildir/ Thanks..! You can probably

Re: [Dovecot] Migration questions...

2009-05-20 Thread Richard Hobbs
Hello again, people, I have been reading all of the emails sent back and forth recently, and reading many web pages, and I have a new draft of my migration plan. If anyone has the time and generosity to read through this latest plan for me and let me know if you spot any potential problems with

Re: [Dovecot] Deleting everything left from lazy expunge

2009-05-20 Thread Scott Silva
on 5-20-2009 7:26 AM J.P. Trosclair spake the following: Romer Ventura wrote: Hello, My storage is running low and i was wondering what would be the best and easy way of deleting everything within the deleted and expunged folders for every user...? My mail resides in:

Re: [Dovecot] using postfix+dovecot+squirrell+amavisd and spam folder per user

2009-05-20 Thread Karel Hendrych
Hi, I would suggest you to use dovecot LDA (local delivery agent) and sieve for mail sorting. Mail gets tagged by amavis/antispam and dovecot LDA (run by postfix) places the junk mail to right folder based on your sieve match on various headers. -- Karel ESGLinux wrote: Hi All, As I say in

Re: [Dovecot] using postfix+dovecot+squirrell+amavisd and spam folder per user

2009-05-20 Thread Karel Hendrych
Yes. It is valid for virtual domains and SQL. My dovecont.conf: protocol lda { postmaster_address = postmas...@somedomain.tld hostname = host.somedomain.tld #postfix SASL auth auth_socket_path = /var/run/dovecot/auth-master #plugins mail_plugins = cmusieve quota #change of default

Re: [Dovecot] %d does not expand to domain

2009-05-20 Thread RoyK
giuliano wrote: Hello, dovecot-1.1.7 on FreeBSD 7.1. Usernames have dot in them (like uname.example for a user in example.com). I see the same happen on Ubuntu Linux 8.04LTS, Dovecot 1.0.5. Config is given below. %u is expanded on the password_query, but not with the user_query,

Re: [Dovecot] maildir filename with eg. ,S=1000, omitted

2009-05-20 Thread Timo Sirainen
On Wed, 2009-05-20 at 14:56 +, Joseph LP wrote: While my maildir filenames have ,W=, they lack ,S=. I've grepped dovecot.conf, but I can find no option to address this. ,S= is added only when using quota plugin. It's not really useful otherwise. signature.asc Description: This is a

[Dovecot] Can expire-tool skip folders with expire time in future errors?

2009-05-20 Thread Ralph Seichter
Hi folks, when I run expire-tool, I often see messages like the following: # dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool Info: user/Trash: stop, expire time in future: Fri May 22 17:42:23 2009 the server's dovecot.conf contains the following line: expire = Trash 2 Junk 7

Re: [Dovecot] %d does not expand to domain

2009-05-20 Thread Timo Sirainen
On Wed, 2009-05-20 at 10:17 -0700, RoyK wrote: Timo Sirainen wrote: On Wed, 2009-05-20 at 08:55 -0700, RoyK wrote: I see the same happen on Ubuntu Linux 8.04LTS, Dovecot 1.0.5. Config is given below. %u is expanded on the password_query, but not with the user_query, according to the

Re: [Dovecot] %d does not expand to domain

2009-05-20 Thread RoyK
Timo Sirainen wrote: On Wed, 2009-05-20 at 08:55 -0700, RoyK wrote: I see the same happen on Ubuntu Linux 8.04LTS, Dovecot 1.0.5. Config is given below. %u is expanded on the password_query, but not with the user_query, according to the mysql query log. Show your password_query.

Re: [Dovecot] Problem with pam/krb5 auth on AIX 5.3

2009-05-20 Thread Timo Sirainen
On Wed, 2009-05-20 at 13:22 -0400, Jonathan Siegle wrote: I'm using pam to authenticate users against my krb5 realm. Here is the problem scenario: I guess pam_krb5 doesn't like it if the same process tries to authenticate multiple times. Use passdb pam { args = max_requests=1 }

Re: [Dovecot] Migration questions...

2009-05-20 Thread pod
Richard Hobbs richard.ho...@crl.toshiba.co.uk writes: 19. Once everything is working perfectly, send an email to the entire company instructing them what to do after the outage and arrange an outage and do the following steps as soon as the outage begins: a. Unplug DMZ switch from

[Dovecot] maildir filename with eg. ,S=1000, omitted

2009-05-20 Thread Joseph LP
Hello. I encountered the wiki entry on maildirs not long ago. In it, it is suggested that the use of ,S= and ,W= may improve performance as dovecot does not need to calculate size itself. While my

Re: [Dovecot] %d does not expand to domain

2009-05-20 Thread Timo Sirainen
On Wed, 2009-05-20 at 08:55 -0700, RoyK wrote: I see the same happen on Ubuntu Linux 8.04LTS, Dovecot 1.0.5. Config is given below. %u is expanded on the password_query, but not with the user_query, according to the mysql query log. Show your password_query. signature.asc Description: This

Re: [Dovecot] %d does not expand to domain

2009-05-20 Thread RoyK
RoyK wrote: These are the two queries being executed 181 Query SELECT username as user, password, domain FROM users WHERE username = 'test' and domain = 'mydomain.com' 181 Query SELECT 'maildir:/var/spool/dovecot//test' as mail, uid, gid, domain FROM users WHERE username =

Re: [Dovecot] using postfix+dovecot+squirrell+amavisd and spam folder per user

2009-05-20 Thread ESGLinux
2009/5/20 Charles Marcus cmar...@media-brokers.com On 5/20/2009, ESGLinux (esggru...@gmail.com) wrote: main.cf: virtual_transport = dovecot . Show postconf -n output instead... Here is,: # postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases

[Dovecot] Problem with pam/krb5 auth on AIX 5.3

2009-05-20 Thread Jonathan Siegle
I'm using pam to authenticate users against my krb5 realm. Here is the problem scenario: User test2 attempts to login and their password is not expired so dovecot says: 0 login test2 myfavoritepassword 0 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT

Re: [Dovecot] Problem with pam/krb5 auth on AIX 5.3

2009-05-20 Thread Jonathan Siegle
On May 20, 2009, at 1:38 PM, Timo Sirainen wrote: On Wed, 2009-05-20 at 13:22 -0400, Jonathan Siegle wrote: I'm using pam to authenticate users against my krb5 realm. Here is the problem scenario: I guess pam_krb5 doesn't like it if the same process tries to authenticate multiple times.

Re: [Dovecot] mkdir no permission

2009-05-20 Thread Timo Sirainen
That's strange. Dovecot anyway used access() system call to verify that the directory isn't writable. Some possibilities: 1. Did you enable SELinux / AppArmor or something similar that prevents Dovecot from accessing home directories? 2. Some filesystem ACL was set to the home directory that

Re: [Dovecot] Deleting everything left from lazy expunge

2009-05-20 Thread Romer Ventura
Max, suggested this: find -type d -name 'expunged' | xargs rm -rf works swimmingly... Thanks everyone. On May 20, 2009, at 8:50 AM, Romer Ventura wrote: Hello, My storage is running low and i was wondering what would be the best and easy way of deleting everything within the deleted and

[Dovecot] %d isn't expanded

2009-05-20 Thread Roy Sigurd Karlsbakk
Hi all I have a box running Debian Lenny 5.0.1 and Dovecot 1.0.15. The user query given below does not expand %d, making logins fail. The password query seems to work well, according to the mysql query log. Any ideas why this happens? Best regards roy user_query = SELECT

[Dovecot] IMAP Get Savedate plugin

2009-05-20 Thread Alaa Ibrahim
Hi, I want to add a feature to the fetch command in IMAP, by enabling it to return the save date, when I request the SAVEDATE parameter. I want to use this for my webmail application, so I can show the users the deleted date when they are viewing the Trash folder. I was able to put it directly

[Dovecot] compile error with patched dovecot-1.2.rc4

2009-05-20 Thread Carlos Xavier
Hi, I just downloaded the dovecot-1.2.rc4.tar.gz to do some tests. I coud compile it and generate the package with no trouble on my Slackware 12.2.0 Then as I wanted to try the patchs available at http://hg.dovecot.org/dovecot-1.2/# I downloaded them and applied at once. When I tried to

Re: [Dovecot] IMAP Get Savedate plugin

2009-05-20 Thread Timo Sirainen
On Thu, 2009-05-21 at 00:25 +, Alaa Ibrahim wrote: I want to add a feature to the fetch command in IMAP, by enabling it to return the save date, when I request the SAVEDATE parameter. I want to use this for my webmail application, so I can show the users the deleted date when they are

Re: [Dovecot] compile error with patched dovecot-1.2.rc4

2009-05-20 Thread Timo Sirainen
On Wed, 2009-05-20 at 23:53 -0300, Carlos Xavier wrote: Hi, I just downloaded the dovecot-1.2.rc4.tar.gz to do some tests. I coud compile it and generate the package with no trouble on my Slackware 12.2.0 Then as I wanted to try the patchs available at http://hg.dovecot.org/dovecot-1.2/#

Re: [Dovecot] compile error with patched dovecot-1.2.rc4

2009-05-20 Thread Carlos Xavier
From: Timo Sirainen t...@iki.fi Makefile had changed. You need to run autoreconf -i and configure to get it updated. Tank you very much for the way fast reply :-)

[Dovecot] Authenticating with /etc/passwd

2009-05-20 Thread June Qiu
I am trying to do authentication with /etc/passwd and something is not working right for me. Pls help! When i try to authenticate via pop3, I get: -ERR Authentication failed. In the logs, I get: May 21 11:14:07 Info: auth(default): client in: AUTH1 PLAIN service=pop3secured

Re: [Dovecot] Authenticating with /etc/passwd

2009-05-20 Thread Timo Sirainen
On Wed, 2009-05-20 at 20:16 -0700, June Qiu wrote: I am trying to do authentication with /etc/passwd and something is not working right for me. Pls help! .. May 21 11:14:07 Info: auth(default): passwd(test1,127.0.0.1): CRYPT(password) != 'x' /etc/passwd doesn't have passwords nowadays.

Re: [Dovecot] Authenticating with /etc/passwd

2009-05-20 Thread June Qiu
Solved. Thanks, Timo! --- On Thu, 5/21/09, Timo Sirainen t...@iki.fi wrote: From: Timo Sirainen t...@iki.fi Subject: Re: [Dovecot] Authenticating with /etc/passwd To: June Qiu qlj...@yahoo.com Cc: dovecot@dovecot.org Date: Thursday, May 21, 2009, 11:31 AM On Wed, 2009-05-20 at 20:16

Re: [Dovecot] IMAP Get Savedate plugin

2009-05-20 Thread Alaa Ibrahim
I'm trying to put it in a plugin, but when I call imap_fetch_handlers_register(), it works but all other fetch handlers get removed, my init is void savedate_plugin_init(void) { const struct imap_fetch_handler savedate_handler[1] = { { X-SAVEDATE, fetch_x_savedate_init } };