Re: [Dovecot] Duplicate Messages, Different X-UIDs?
On Mon, 18 Feb 2008, Joe Allesi -X (joallesi - Coyote Creek Consulting at Cisco) wrote: We're running into an issue where sendmail is only receiving one e-mail, but after a client accesses the message via IMAP and moves it to another IMAP folder, the message duplicates but each message has different X-UID headers. Has anyone ever seen this type of anomaly before? Is it a bad IMAP client, or a known bug? Running 1.0.7 Thanks! I've seen that happen with Kmail. Tell the client to run far away from Kmail if that's the case. (Or at least stay away from dIMAP = disconnected IMAP.) Otherwise, don't know. Do you know what client it is? Best, Ben
[Dovecot] 1.1b16: (buffer_set_used_size): assertion failed: (used_size <= buf->alloc)
I haven't seen this before 1.1b16, it happened to two users today while they were searching using fts. Feb 18 16:41:36 hill dovecot: IMAP(username): file buffer.c: line 288 (buffer_set_used_size): assertion failed: (used_size <= buf->alloc) Feb 18 16:41:36 hill dovecot: child 53560 (imap) killed with signal 6 I can probably narrow it down to an example mail if needed. GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Core was generated by `imap'. Program terminated with signal 6, Aborted. Reading symbols from /usr/local/lib/libiconv.so.3...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/local/lib/dovecot/imap/lib01_acl_plugin.so...done. Loaded symbols for /usr/local/lib/dovecot/imap/lib01_acl_plugin.so Reading symbols from /usr/local/lib/dovecot/imap/lib20_fts_plugin.so...done. Loaded symbols for /usr/local/lib/dovecot/imap/lib20_fts_plugin.so Reading symbols from /usr/local/lib/dovecot/imap/lib21_fts_squat_plugin.so...done. Loaded symbols for /usr/local/lib/dovecot/imap/lib21_fts_squat_plugin.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x109d64ac in kill () from /lib/libc.so.6 (gdb) bt full #0 0x109d64ac in kill () from /lib/libc.so.6 No symbol table info available. #1 0x109d533d in abort () from /lib/libc.so.6 No symbol table info available. #2 0x004a9e89 in i_internal_fatal_handler (type=LOG_TYPE_PANIC, status=0, fmt=0x4d7760 "file %s: line %d (%s): assertion failed: (%s)", args=0x7fffbd90) at failures.c:415 backtrace = 0x7fffbd80 "�\177" #3 0x004a948b in i_panic (format=0x4d7760 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:187 args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffbe80, reg_save_area = 0x7fffbdc0}} #4 0x004a826a in buffer_set_used_size (_buf=0x64e740, used_size=18446744073709543512) at buffer.c:288 buf = (struct real_buffer *) 0x64e740 __PRETTY_FUNCTION__ = "buffer_set_used_size" #5 0x004a6fd9 in charset_to_utf8_try (t=0x60e2b0, src=0xd5b000 "\n��\n\n\n \n�\n�\n\n\n \n�� ��\n�\n�\n�"..., src_size=0x7fffdf30, dest=0x64e740, result=0x7fffdf4c) at charset-iconv.c:107 ic_srcbuf = 0xd5b03d "�\n�\n\n\n \n�� ��\n�\n�\n\n\n \n�� ��\n���"... tmpbuf = "\n�\234\213�\217\213��\201\n\n\n�\200\200�\200\200 ��\223�\202��\203��\212\212\211��\207���\220�\210���\226\n�\225\214�\220\204�\234��\232\204�\227��\200\231��\214�\202��\230��\220��\203��\210�his incoming email as possible spam. The original message\nhas been attached to this so you can view it (if it i"... ic_destbuf = 0x7fffbf38 "his incoming email as possible spam. The original message\nhas been attached to this so you can view it (if it isn't spam) or label\nsimilar future email. If you have any questions, see\nThe administra"... srcleft = 420 destleft = 8104 dtcase = true ret = true #6 0x004a70f8 in charset_to_utf8 (t=0x60e2b0, src=0xd5b000 "\n��\n\n\n \n�\n�\n\n\n \n�� ��\n�\n�\n�"..., src_size=0x7fffdfa0, dest=0x64e740) at charset-iconv.c:136 result = CHARSET_RET_INVALID_INPUT pos = 0 used = 1284 size = 481 ret = false #7 0x004a535c in message_decode_body (ctx=0x89e900, input=0x7fffe040, output=0x7fffe020) at message-decoder.c:349 new_buf = "9��" data = ( const unsigned char *) 0xd5b000 "\n��\n\n\n \n�\n�\n\n\n \n�� ��\n�\n�\n�"... pos = 481 size = 481 skip = 0 ret = 1 __PRETTY_FUNCTION__ = "message_decode_body" #8 0x004a549d in message_decoder_decode_next_block (ctx=0x89e900, input=0x7fffe040, output=0x7fffe020) at message-decoder.c:381 No locals. #9 0x10c2692b in fts_build_mail (ctx=0x661400, uid=144) at fts-storage.c:138 input = (struct istream *) 0x687650 parser = (struct message_parser_ctx *) 0xcd3848 decoder = (struct message_decoder_context *) 0x89e900 raw_blo
[Dovecot] warning: connect to transport dovecot: No such file or directory
I have installed postfix, dovecot, mysql as per: http://wiki.dovecot.org/HowTo/DovecotLDAPostfixAdminMySQL ..on Debian Etch. I thought mailboxes were created by postfixadmin or postfix but I only get an error: warning: connect to transport dovecot: No such file or directory ..in the postfix log. No /var/vmail/example.com is created. After creating the domain directory and user directory, applying correct ownership, still it made no difference. I checked my main.cf: virtual_mailbox_base = /var/vmail Any clues? Thanks! David Koski [EMAIL PROTECTED]
[Dovecot] Duplicate Messages, Different X-UIDs?
We're running into an issue where sendmail is only receiving one e-mail, but after a client accesses the message via IMAP and moves it to another IMAP folder, the message duplicates but each message has different X-UID headers. Has anyone ever seen this type of anomaly before? Is it a bad IMAP client, or a known bug? Running 1.0.7 Thanks!
Re: [Dovecot] Passwordless Login Auth
On Mon, 18 Feb 2008, JL wrote: I have Dovecot 1.0.5 running imaps successfully with Postfix on Ubuntu. Authorization is by SASL. Currently, my mail client (mutt) requests a password to access my folders. I would like to configure Dovecot so that a user logged into the localhost (i.e., already authenticated) does not receive the password prompt. Remote logins should of course demand the authentication, but if I'm logged into the server via SSH, for example, I'd like to be able to run mutt without the password prompt. Is this a viable proposition? Does your IMAP client support just talking to the IMAP server on a pipe? Alpine/PINE does, and that's what I use. Just tell it to talk to the program "/usr/sbin/dovecot --exec-mail imap" as the IMAP server, and you'll be preauthenticated. The only issue with this approach is that dovecot.conf needs to be readable by the users will execute it directly. -- Asheesh. -- The most important early product on the way to developing a good product is an imperfect version.
[Dovecot] Passwordless Login Auth
I have Dovecot 1.0.5 running imaps successfully with Postfix on Ubuntu. Authorization is by SASL. Currently, my mail client (mutt) requests a password to access my folders. I would like to configure Dovecot so that a user logged into the localhost (i.e., already authenticated) does not receive the password prompt. Remote logins should of course demand the authentication, but if I'm logged into the server via SSH, for example, I'd like to be able to run mutt without the password prompt. Is this a viable proposition? Here is a relevant snippet from dovecot.conf: auth default { mechanisms = plain login passdb pam { } userdb passwd { } socket listen { client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } } } TIA -- JL <[EMAIL PROTECTED]>
Re: [Dovecot] Scheduled folder purging
On 2/18/2008, Bruce Bodger ([EMAIL PROTECTED]) wrote: Guess we'll need some clarification from Timo, Charles, because the 1.1.beta16 dovecot-example.conf states... # The actual expunging is done in a nightly cronjob, # which you must set up: # dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool #expire = Trash 7 Spam 30 #expire_dict = db:/var/lib/dovecot/expire.db Ok, sound slike I was wrong... it would be nice of it didn't require a cronjob, though... P.S. One more thing... He sure doesn't help things by using the word "expunge" in a paragraph that defines the expire plugin. I'd much prefer the definition read something like this: Well... expunge is indeed the correct term for deleting messages from a maiildir using IMAP, and dovecot is primarily an IMAP server... ;) But I see your point too. -- Best regards, Charles
Re: [Dovecot] Scheduled folder purging
On Feb 18, 2008, at 4:01 PM, Charles Marcus wrote: The cron job is only for v 1.0.x systems. The expire plugin only works on 1.1+ Agreed As far as I can tell, the expire plugin does not require a cron job to do its thing... Guess we'll need some clarification from Timo, Charles, because the 1.1.beta16 dovecot-example.conf states... # Expire plugin. Mails are expunged from mailboxes after being there the # configurable time. The first expiration date for each mailbox is stored in # a dictionary so it can be quickly determined which mailboxes contain # expired mails. The actual expunging is done in a nightly cronjob, which # you must set up: # dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool #expire = Trash 7 Spam 30 #expire_dict = db:/var/lib/dovecot/expire.db Also, the above instructions are also a tad confusing. It seems like the plugin runs at a system level so how to define mailboxes at the user level? (what should that "expire" line be?) P.S. One more thing... He sure doesn't help things by using the word "expunge" in a paragraph that defines the expire plugin. I'd much prefer the definition read something like this: # Expire plugin. Mails are MARKED FOR DELETION from mailboxes after being there the # configurable time. The first expiration date for each mailbox is stored in # a dictionary so it can be quickly determined which mailboxes contain # expired mails. The actual DELETION is done in a nightly cronjob, which # you must set up: :-) B. Bodger New York, NY
Re: [Dovecot] Strange Error
On Mon, 18 Feb 2008, Davi Bariani Boin wrote: Hello Everybody, I´m trying to make a work with procmail and deliver on Fedora 7. Part of flow are the following: - procmail get the mail from Sendmail - procmail ask to deliver/dovecot if have any retriction (sizer mailbox, etc) - procmail put the mail on inbox user. I had include the following line in the promail config: | "/usr/libexec/dovecot/deliver -m $DEFAULT" and the procmail log shows me the following : procmail: Assigning "MAILDIR=/home/admin/mail" procmail: Assigning "INCLUDERC=/home/admin/Procmail/rc.spam-mail" procmail: Couldn't determine implicit lockfile from "/usr/libexec/dovecot/deliver" procmail: Locking ".lock" procmail: Executing "/usr/libexec/dovecot/deliver,-m,/var/spool/mail/admin" procmail: Non-zero exitcode (75) from "/usr/libexec/dovecot/deliver" This is the interesting part. Why did Dovecot Deliver return 75? -- Asheesh. -- Your business will go through a period of considerable expansion.
[Dovecot] Strange Error
Hello Everybody, I´m trying to make a work with procmail and deliver on Fedora 7. Part of flow are the following: - procmail get the mail from Sendmail - procmail ask to deliver/dovecot if have any retriction (sizer mailbox, etc) - procmail put the mail on inbox user. I had include the following line in the promail config: | "/usr/libexec/dovecot/deliver -m $DEFAULT" and the procmail log shows me the following : procmail: Assigning "MAILDIR=/home/admin/mail" procmail: Assigning "INCLUDERC=/home/admin/Procmail/rc.spam-mail" procmail: Couldn't determine implicit lockfile from "/usr/libexec/dovecot/deliver" procmail: Locking ".lock" procmail: Executing "/usr/libexec/dovecot/deliver,-m,/var/spool/mail/admin" procmail: Non-zero exitcode (75) from "/usr/libexec/dovecot/deliver" procmail: Assigning "LASTFOLDER=/usr/libexec/dovecot/deliver -m /var/spool/mail/admin" procmail: Unlocking ".lock" procmail: Skipped "* ^X-Spam-Status:.*Yes" procmail: Skipped "spam" procmail: Skipped "-mail" procmail: Locking "/var/spool/mail/admin.lock" procmail: Assigning "LASTFOLDER=/var/spool/mail/admin" procmail: Opening "/var/spool/mail/admin" procmail: Acquiring kernel-lock procmail: Unlocking "/var/spool/mail/admin.lock" procmail: Notified comsat: "[EMAIL PROTECTED]:/var/spool/mail/admin" From [EMAIL PROTECTED] Mon Feb 18 17:52:38 2008 Subject: Fw: te22 Folder: /var/spool/mail/admin3425 What happen afertall? Any clue will be very apreciated -- Esta mensagem foi verificada pelo sistema de antivírus e acredita-se estar livre de perigo. begin:vcard fn:Davi Bariani Boin n:Bariani Boin;Davi org;quoted-printable:Konsultex Inform=C3=A1tica email;internet:[EMAIL PROTECTED] title;quoted-printable:T=C3=A9cnico tel;work:(11) 3773-9009 tel;cell:(11) 8115-0469 note;quoted-printable:(11) 3773-9009=0D=0A= (11) 8115-0469 version:2.1 end:vcard
Re: [Dovecot] Scheduled folder purging
On 2/18/2008, Bruce Bodger ([EMAIL PROTECTED]) wrote: Excuse me but somebody, maybe me?, is confusing the expire plugin with the lazy_expunge plugin. From reading the fine documentation, it appears that... 1. There is no expunge plugin, only a lazy_expunge plugin Well. that is correct, that earlier reference to an 'expunge' plugin was apparently just a typo... 2. The lazy_expunge plugin runs "by itself" but requires a nightly cron job if you want to delete old mail. 3. There is an expire plugin which I believe the original poster was asking about 4. The expire plugin requires a nightly cron job to call /usr/libexec/dovecot/expire-tool to do its thing The cron job is only for v 1.0.x systems. The expire plugin only works on 1.1+ As far as I can tell, the expire plugin does not require a cron job to do its thing... -- Best regards, Charles
Re: [Dovecot] Scheduled folder purging
On Feb 18, 2008, at 12:52 PM, Benjamin R. Haskell wrote: On Mon, 18 Feb 2008, Charles Marcus wrote: Marc Perkel, on 2/18/2008 11:28 AM, said the following: I'm looking for a way to empty user's trash folder. Can message deletion or folder purging be scheduled? It would be a nice feature in Dovecot to have it be able to remove messages older than say 3 days from Trash automatically. V 1.1 already can (see Expire plug-in), but I'm not sure if this only happens at use3r log in or not... http://wiki.dovecot.org/Plugins/Expire Said I: (in the thread "Deleting messages from MailDir") Does the expunge plugin work without the user logging in, though? Timo responded: Yes. That's exactly what it does. It keeps user/mailbox <-> oldest_msg mapping in a Berkeley DB. In a nightly (or whatever) run it then uses the database to open only those mailboxes that have messages to be expunged. Excuse me but somebody, maybe me?, is confusing the expire plugin with the lazy_expunge plugin. From reading the fine documentation, it appears that... 1. There is no expunge plugin, only a lazy_expunge plugin 2. The lazy_expunge plugin runs "by itself" but requires a nightly cron job if you want to delete old mail. 3. There is an expire plugin which I believe the original poster was asking about 4. The expire plugin requires a nightly cron job to call /usr/libexec/ dovecot/expire-tool to do its thing B. Bodger New York, NY
Re: [Dovecot] mail server management
On Mon, Feb 18, 2008 at 12:35:01PM -0500, Paul A wrote: > Hi, this is sort of off topic but I'm using dovecot with postfix on centos 5 > and I have multiple virtual domains and I want to be able to have virtual > admin's add/remove mappings/users for their own domains. > I have looked around and haven't found many solutions just wondering what > everyone is using for virtual mail management. we use http://panda-admin.sf.net It is a postfix+postgres+dovecot system with php frontend. Pro: cool ;-) Con: need more documentation, it is in italian only Bye -- - |Marco Nenciarini| Debian/GNU Linux Developer - Plug Member | | [EMAIL PROTECTED] | http://www.prato.linux.it/~mnencia | - Key fingerprint = FED9 69C7 9E67 21F5 7D95 5270 6864 730D F095 E5E4 signature.asc Description: Digital signature
Re: [Dovecot] mail server management
On 18/02/2008, "Fábio M. Catunda" <[EMAIL PROTECTED]> wrote: > Paul, > > BDBs are generated from clear-text files, so, it's pretty simple to put > this information in a SQL DB... I believe that you will not find a > script to do that. > > I like postfixadmin a lot, it worse the effort to migrate! Indeed. You'll find that most installations of PAdmin require a little bit of work since all systems are unique. As Fábio says, it should be straightforward to get this to work in a BDB setup. Most of PostfixAdmin queries are based on the functions in one file of the pa setup - functions.inc.php. It's just a case of updating the syntax. Let us know how you get on. Kind regards, Ronald. -- Ronald MacDonald http://www.rmacd.com/ 0777 235 1655
Re: [Dovecot] mail server management
Paul, BDBs are generated from clear-text files, so, it's pretty simple to put this information in a SQL DB... I believe that you will not find a script to do that. I like postfixadmin a lot, it worse the effort to migrate! Good luck, Catunda! Paul A escreveu: Thanks Fabio, I have looked at it and so far the only issue I see is converting the Berkley DB hash file to the appropriate mysql table. I'm hoping there is a script somewhere on the web. Thanks, Paul P.A > -Original Message- P.A > From: [EMAIL PROTECTED] [mailto:dovecot- P.A > [EMAIL PROTECTED] On Behalf Of "Fábio M. Catunda" P.A > Sent: Monday, February 18, 2008 1:22 PM P.A > To: dovecot@dovecot.org P.A > Subject: Re: [Dovecot] mail server management P.A > P.A > Hi Paul, P.A > P.A > Postfixadmin can do that for you: P.A > http://sourceforge.net/projects/postfixadmin/ P.A > P.A > P.A > P.A > Paul A escreveu: P.A > > Hi, this is sort of off topic but I'm using dovecot with postfix on P.A > centos 5 P.A > > and I have multiple virtual domains and I want to be able to have P.A > virtual P.A > > admin's add/remove mappings/users for their own domains. P.A > > I have looked around and haven't found many solutions just wondering P.A > what P.A > > everyone is using for virtual mail management. P.A > > P.A > > P.A > > TIA, Paul P.A > > P.A > >
Re: [Dovecot] mail server management
Thanks Fabio, I have looked at it and so far the only issue I see is converting the Berkley DB hash file to the appropriate mysql table. I'm hoping there is a script somewhere on the web. Thanks, Paul P.A > -Original Message- P.A > From: [EMAIL PROTECTED] [mailto:dovecot- P.A > [EMAIL PROTECTED] On Behalf Of "Fábio M. Catunda" P.A > Sent: Monday, February 18, 2008 1:22 PM P.A > To: dovecot@dovecot.org P.A > Subject: Re: [Dovecot] mail server management P.A > P.A > Hi Paul, P.A > P.A > Postfixadmin can do that for you: P.A > http://sourceforge.net/projects/postfixadmin/ P.A > P.A > P.A > P.A > Paul A escreveu: P.A > > Hi, this is sort of off topic but I'm using dovecot with postfix on P.A > centos 5 P.A > > and I have multiple virtual domains and I want to be able to have P.A > virtual P.A > > admin's add/remove mappings/users for their own domains. P.A > > I have looked around and haven't found many solutions just wondering P.A > what P.A > > everyone is using for virtual mail management. P.A > > P.A > > P.A > > TIA, Paul P.A > > P.A > >
Re: [Dovecot] 1.0.10 - Cached message offset lost
On 17.02.2008 14:47, Timo Sirainen wrote: On Sun, 2008-02-17 at 00:06 +0300, Anton Yuzhaninov wrote: After upgrading from dovecot-1.0.7 to dovecot-1.0.10 any time when I delete message in logs appeared messages like: Feb 16 23:54:05 mail-chaos dovecot: IMAP(citrin): Cached message offset lost for seq 2 in mbox file /spool/mail/citrin.ru/citrin/Trash This happens only when quota is used. But looks like reverting the mbox changes done to 1.0.8 helped: http://hg.dovecot.org/dovecot-1.0/rev/75060c30fbd6 Thanks, with mbox-mail.c rev. 75060c30fbd6 this messages disappeared from logs. -- WBR, Anton Yuzhaninov
Re: [Dovecot] mail server management
Hi Paul, Postfixadmin can do that for you: http://sourceforge.net/projects/postfixadmin/ Paul A escreveu: Hi, this is sort of off topic but I'm using dovecot with postfix on centos 5 and I have multiple virtual domains and I want to be able to have virtual admin's add/remove mappings/users for their own domains. I have looked around and haven't found many solutions just wondering what everyone is using for virtual mail management. TIA, Paul
Re: [Dovecot] Scheduled folder purging
Benjamin R. Haskell, on 2/18/2008 12:52 PM, said the following: Said I: (in the thread "Deleting messages from MailDir") Does the expunge plugin work without the user logging in, though? Timo responded: Yes. That's exactly what it does. It keeps user/mailbox <-> oldest_msg mapping in a Berkeley DB. In a nightly (or whatever) run it then uses the database to open only those mailboxes that have messages to be expunged. Cool, missed that one, thanks Benjamin... :) -- Best regards, Charles
Re: [Dovecot] Scheduled folder purging
On Mon, 18 Feb 2008, Charles Marcus wrote: Marc Perkel, on 2/18/2008 11:28 AM, said the following: I'm looking for a way to empty user's trash folder. Can message deletion or folder purging be scheduled? It would be a nice feature in Dovecot to have it be able to remove messages older than say 3 days from Trash automatically. V 1.1 already can (see Expire plug-in), but I'm not sure if this only happens at use3r log in or not... http://wiki.dovecot.org/Plugins/Expire Said I: (in the thread "Deleting messages from MailDir") Does the expunge plugin work without the user logging in, though? Timo responded: Yes. That's exactly what it does. It keeps user/mailbox <-> oldest_msg mapping in a Berkeley DB. In a nightly (or whatever) run it then uses the database to open only those mailboxes that have messages to be expunged. Best, Ben
[Dovecot] mail server management
Hi, this is sort of off topic but I'm using dovecot with postfix on centos 5 and I have multiple virtual domains and I want to be able to have virtual admin's add/remove mappings/users for their own domains. I have looked around and haven't found many solutions just wondering what everyone is using for virtual mail management. TIA, Paul
[Dovecot] dovecot 1.0.10
Hi everyone, I'm trying to get dovecot to authenticate against LDAP. And it's a first time to run both dovecot (at all) and OpenLDAP (at all). Versions are below. Dovecot: 1.0.10 OpenLDAP 2.3.40 Dovecot cannot bind to the dn. This may be due to the fact that all google-able documentation doesn't give good examples or anyhting to hint. I'd prefer to use the rootdn by slapd.conf, but if I have to use a entry in the LDAP database, I will do that. I've tried the rootdn, password, overriding password with the same hash as in the slapd.conf via {SSHA} and nothing works. I then tried to create a uid (and dn) within the LDAP database, and it can't bind to that either. Long story short, I would very much appreciate a working example with OpenLDAP v2.3x and Dovecot 1.0x, on a FreeBSD 6.x host. If it makes any difference (I don't think it does), the mailserver is going to be located within a jail, which has given some problems to some software that are looking for a specific /dev entry or being able to customize that entry (permissions, links, etc). Thank you all for excellent software, and I really hope I can get this working. I'd like to point the finger at dovecot not being able to read userPassword but since no debugging information can be extracted, I have to assume. A working example as I have asked for above would probably help me alot. thanks! --Tim If opportunity doesn't knock, build a door. "I can" is a way of life. More and Bigger is not always Better. The road to success is always uphill. Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Re: [Dovecot] Scheduled folder purging
Marc Perkel, on 2/18/2008 11:28 AM, said the following: I'm looking for a way to empty user's trash folder. Can message deletion or folder purging be scheduled? It would be a nice feature in Dovecot to have it be able to remove messages older than say 3 days from Trash automatically. V 1.1 already can (see Expire plug-in), but I'm not sure if this only happens at use3r log in or not... http://wiki.dovecot.org/Plugins/Expire Also, there is a plugin that will auto delete Trash messages in case of over quota: http://wiki.dovecot.org/Plugins/Trash -- Best regards, Charles
Re: [Dovecot] Scheduled folder purging
Pietro wrote: Hi all. I'm looking for a way to empty user's trash folder. Can message deletion or folder purging be scheduled? Thanks in advance. -Pietro. It would be a nice feature in Dovecot to have it be able to remove messages older than say 3 days from Trash automatically.
Re: [Dovecot] Scheduled folder purging
Pietro wrote: Thanks a lot Ronald. Is there any issue I must consider about dovecot indexes? Dovecot will log an warning but nothing much else, so it is pretty safe. Tomi -Pietro. 2008/2/18, Ronald MacDonald <[EMAIL PROTECTED]>: On 18/02/2008, Pietro <[EMAIL PROTECTED]> wrote: Hi all. I'm looking for a way to empty user's trash folder. Can message deletion or folder purging be scheduled? Thanks in advance. -Pietro. Of course. Run a cron job to search, for example, for files older than a certain date. Delete all files in /cur which are older than 30 days: /usr/bin/find /home/vmail/*/.Junk/cur -mtime +30 -type f -daystart -exec rm '{}' \; Hope that helps. Kind regards, Ronald. -- Ronald MacDonald http://www.rmacd.com/ 0777 235 1655
Re: [Dovecot] Scheduled folder purging
Thanks a lot Ronald. Is there any issue I must consider about dovecot indexes? -Pietro. 2008/2/18, Ronald MacDonald <[EMAIL PROTECTED]>: > > On 18/02/2008, Pietro <[EMAIL PROTECTED]> wrote: > > Hi all. > > I'm looking for a way to empty user's trash folder. > > Can message deletion or folder purging be scheduled? > > > > Thanks in advance. > > > > -Pietro. > > > > Of course. Run a cron job to search, for example, for files older than > a certain date. > > Delete all files in /cur which are older than 30 days: > /usr/bin/find /home/vmail/*/.Junk/cur -mtime +30 -type f -daystart > -exec rm '{}' \; > > Hope that helps. > > Kind regards, > Ronald. > > > -- > Ronald MacDonald > http://www.rmacd.com/ > 0777 235 1655 >
Re: [Dovecot] Scheduled folder purging
On 18/02/2008, Pietro <[EMAIL PROTECTED]> wrote: > Hi all. > I'm looking for a way to empty user's trash folder. > Can message deletion or folder purging be scheduled? > > Thanks in advance. > > -Pietro. > Of course. Run a cron job to search, for example, for files older than a certain date. Delete all files in /cur which are older than 30 days: /usr/bin/find /home/vmail/*/.Junk/cur -mtime +30 -type f -daystart -exec rm '{}' \; Hope that helps. Kind regards, Ronald. -- Ronald MacDonald http://www.rmacd.com/ 0777 235 1655
[Dovecot] Scheduled folder purging
Hi all. I'm looking for a way to empty user's trash folder. Can message deletion or folder purging be scheduled? Thanks in advance. -Pietro.
Re: [Dovecot] Dovecot imap bad quota report
On Feb 18, 2008, at 12:07 PM, Carlos Acedo wrote: This is the output for getquotaroot: * QUOTAROOT "INBOX" "" * QUOTA "" (STORAGE 119544 0) y OK Getquotaroot completed. And this is my quota command output: $ quota -u carlos Disk quotas for user carlos (uid 19409): Filesystem blocks quota limit grace files quota limit grace /dev/mapper/Debian-var 41932 15 165000 1 0 0 What userdb are you using? Post your entire dovecot -n output? Set mail_debug=yes and show what gets logged when logging in? It looks like imap process isn't really running as "carlos". I can't think of anything else. PGP.sig Description: This is a digitally signed message part
Re: [Dovecot] ldaps support in dovecot-ldap.conf?
El Friday 15 February 2008 19:07:08 Timo Sirainen escribió: > Dovecot doesn't know anything about ldaps, and it doesn't need to know. > It's entirely up to the LDAP library to support it. Anyway as far as I > know ldaps connections should work with Dovecot and OpenLDAP, I've never > tried to use them myself though. From my dovecot-ldap.conf: uris = ldaps://ldap1.ehu.es ldaps://ldap2.ehu.es ldaps://ldap3.ehu.es It works fine, and if ldap1 doesn't respond, it goes with ldap2. All the servers are RHEL4. In my experience, most problems with ldaps:// connecitions are certificate related. Try adding something like TLS_REQCERT allow to your /etc/openldap/ldap.conf, and if that works, the problem is with your certificates, and you'll need something like TLS_CACERT /etc/openldap/cacerts/yourcert.pem in /etc/openldap/ldap.conf HTH -- Joseba Torre. CIDIR Bizkaia. signature.asc Description: This is a digitally signed message part.
Re: [Dovecot] Dovecot imap bad quota report
This is the output for getquotaroot: * QUOTAROOT "INBOX" "" * QUOTA "" (STORAGE 119544 0) y OK Getquotaroot completed. And this is my quota command output: $ quota -u carlos Disk quotas for user carlos (uid 19409): Filesystem blocks quota limit grace files quota limit grace /dev/mapper/Debian-var 41932 15 165000 1 0 0 Timo Sirainen escribió: On Fri, 2008-02-15 at 10:55 +0100, Carlos Acedo wrote: plugin { quota = fs } The problem is that I always get used space but not the limit, and the limit is not the same for all the users, I have tried from thunderbird and horde IMP from another server. First check what Dovecot really reports as the quota: telnet localhost 143 x login username password y getquotaroot inbox Show me the result of the getquotaroot command and also what the limit was really supposed to be for the user.
Re: [Dovecot] PAM libraries not found
On Mon, 2008-02-18 at 10:12 +0100, Jan van den Berg wrote: > Im still curious about this: > > " Also, when configuring, what does (auto) mean (--with-pam (auto)): > it's confusing. It gives the impression that, like (default), this > option is added 'automatically'. " It means it is added automatically, but only if the library is found. The only difference between "auto" and "yes" is that "yes" makes configure fail, while "auto" disables it and continues. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] PAM libraries not found
Im still curious about this: " Also, when configuring, what does (auto) mean (--with-pam (auto)): it's confusing. It gives the impression that, like (default), this option is added 'automatically'. " Cheers, Jan -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Jan van den Berg Verzonden: vrijdag 15 februari 2008 11:32 Aan: Dovecot Mailing List Onderwerp: [Dovecot] PAM libraries not found When I add the --with-pam option in my configure command I get the following error: checking for pam_start in -lpam... no configure: error: Can't build with PAM support: libpam not found PAM is most certainly installed on the machine: ii libpam-modules0.79-5 Pluggable Authentication Modules for PAM ii libpam-runtime0.79-5 Runtime support for the PAM library ii libpam0g 0.79-5 Pluggable Authentication Modules library Dovecot from package worked just fine with PAM. Also this file already exists: cat /etc/pam.d/dovecot #%PAM-1.0 @include common-auth @include common-account @include common-session I have run ldconfig etc. And I have the following files (all in /lib): /lib/libpamc.so.0 /lib/libpamc.so.0.79 /lib/libpam_misc.so.0 /lib/libpam_misc.so.0.79 /lib/libpam.so.0 /lib/libpam.so.0.79 So it seems that configure is not checking the right places for the libpam library? How can I tell it to look in /lib? Also what does (auto) mean (--with-pam (auto)): it's confusing. It gives the impression that, like (default), this option is added 'automatically'. Cheers, Jan
[Dovecot] Set up shared mailboxes for secretary-boss-relationship
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, some users are to read other users mailboxes (secretary-boss relationship), in order to filter out minor issues, SPAM, appointment requests etc. pp. The "boss" wants to see/access his/her mailbox the usual way, no fancy stuff. Furthermore, this is a N:N relationship, meaning one user needs to read one set of user's mailboxes, another user needs to read another set of mailboxes; both may or may not overlap. My idle solution would be to create some name space or a special "shared" directory in the secretary's Maildir/home dir and symlink the Maildir of all the "boss"'s Maildir roots. Because only the "secretary" shall use/see the definition, I'm not to make one namespace per relationship, but predefine one namespace and issue the path via userdb, right? Does somebody has some setup of this sort running? Are there some differences in v1.1 in this aspect? Currently I've setup that the secretaries connect with the real account of the boss(es), what is not good in my eyes, the secretaries should use their own accounts accessing the mails. Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHuT1QVJMDrex4hCIRAm5RAJ9ff3jWWhq3u2Lhk20pFKNbDe2sIACePToS cagaxkCLzzd494PzN6Jm9xo= =8eoM -END PGP SIGNATURE-