Re: Dovecot 2.2.20 autoexpunge
Hi Robert, the autoexpunge feature only removes mails wich have the \Delete Flag so no deletion of mails wich doesn't have this Flag(see https://tools.ietf.org/html/rfc4315#section-2.1 or http://wiki2.dovecot.org/Tools/Doveadm/Expunge) you could run a cron job with a doveadm move comando to move the mail to an othe mailbox (see http://wiki2.dovecot.org/Tools/Doveadm/Move) greetings dominik Am 22.12.2015 um 13:32 schrieb Robert Blayzor: I have configured autoexpunge on some folders: namespace inbox { inbox = yes location = mailbox Junk { auto = subscribe autoexpunge = 30 days special_use = \Junk } mailbox Trash { auto = subscribe autoexpunge = 2 weeks special_use = \Trash } prefix = separator = / } After adding these and restarting, logging in and out several times, I still see messages days/weeks past the autoexpunge setting. I checked the logs but never see any autoexpunge messages logged. Is there something else that needs to be set to trigger this? -- Robert inoc.net!rblayzor XMPP: rblayzor.AT.inoc.net PGP Key: 78BEDCE1 @ pgp.mit.edu
Re: Enabling Master User for migration
Hello Charles, the bare minimum ist just the first passdb entry auth_master_user_separator = * passdb { driver = passwd-file args = /etc/dovecot/passwd.masterusers master = yes pass = yes } this will do the trick. greetings dominik Am Freitag, den 29.05.2015, 09:03 -0400 schrieb Charles Marcus: Hi all, Ok, just need a quick-n-dirty way to enable a master user for a migration... Reading the docs, I'm not sure what the bare minimum is I need to do this... At: http://wiki2.dovecot.org/Authentication/MasterUsers The Example config shows: auth_master_user_separator = * passdb { driver = passwd-file args = /etc/dovecot/passwd.masterusers master = yes pass = yes } passdb { driver = shadow } userdb { driver = passwd } But, if I'm using a non-real user (just need a master user that can log in as all other users for the migration), do I need all three of these? Or just the first two? Or, just the first one? I think I need the first two and not the last one, but am unsure. This is on a production system so don't want to break things, and I'm unfamiliar with using multiple passdb's... Thanks, Charles
Re: Enabling Master User for migration
hello, in which way do you login ? loginuser*masteruser or just masteruser? You have to do the login with loginuser*masteruser masterpass greetings dominik Am Freitag, den 29.05.2015, 10:14 -0400 schrieb Charles Marcus: Apologies - maybe doveconf -n shows a hint at the problem? Maybe it has to do with I'm using the default_realm? But I've tried adding the user as both the local part, and with the fqdn... # doveconf -n # 2.2.15: /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.6 (3e924b1b6c5c+) # OS: Linux 3.10.41-gentoo-r1 x86_64 Gentoo Base System release 2.2 auth_default_realm = media-brokers.com auth_master_user_separator = * auth_mechanisms = plain login deliver_log_format = msgid=%m: subject=%s: %$ first_valid_uid = 200 last_valid_uid = 200 listen = * login_log_format_elements = user=%u method=%m %c rip=%r lport=%{lport} mail_attachment_dir = /var/vmail/%d/attachments mail_gid = vmail mail_location = maildir:~/Maildir mail_uid = vmail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave namespace inbox { inbox = yes location = mailbox Deleted Items { special_use = \Trash } mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Junk E-mail { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox Sent Messages { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = separator = . } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } passdb { args = /etc/dovecot/passwd.masterusers driver = passwd-file master = yes pass = yes } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = imap lmtp service auth-worker { user = $default_internal_user } service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } unix_listener auth-userdb { group = vmail mode = 0600 user = vmail } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } service_count = 0 } service imap { process_limit = 2048 } ssl = required ssl_cert = /etc/ssl/mbiCerts/RapidSSL/mail_mbi.crt ssl_key = /etc/ssl/mbiCerts/RapidSSL/mail_mbi.key userdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } protocol smtp { auth_verbose = yes } protocol lda { auth_verbose = yes mail_plugins = sieve } protocol imap { mail_max_userip_connections = 20 } Charles On 5/29/2015 9:55 AM, Charles Marcus cmar...@media-brokers.com wrote: On 5/29/2015 9:25 AM, Dominik Breu domi...@dominikbreu.de wrote: Hello Charles, the bare minimum ist just the first passdb entry auth_master_user_separator = * passdb { driver = passwd-file args = /etc/dovecot/passwd.masterusers master = yes pass = yes } this will do the trick. Ok, this isn't working, I'm getting auth failed when testing either with telnet or doing it in Thunderbird. I tried both using the htpasswd method for generating the password in the passwd file, and when that failed, I also tried just putting the password in the file in plain text... So... what am I missing/doing wrong? Thanks, Charles
Core dump at imap process
hello list, testing the 2.18 release i got following core dump. Maybe Timo you can get a look at it. greetings dominik Core Dump: root@hbs-buko:/var/vmail/hbs-buko.info/dominik.breu# gdb /usr/lib/dovecot/imap core GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-linux-gnu. Type show configuration for configuration details. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type help. Type apropos word to search for commands related to word... Reading symbols from /usr/lib/dovecot/imap...Reading symbols from /usr/lib/debug//usr/lib/dovecot/imap...done. done. [New LWP 4069] Core was generated by `dovecot/imap'. Program terminated with signal SIGSEGV, Segmentation fault. #0 imap_msgpart_contains_body (msgpart=0x0) at imap-msgpart.c:311 311 imap-msgpart.c: Datei oder Verzeichnis nicht gefunden. (gdb) bt full #0 imap_msgpart_contains_body (msgpart=0x0) at imap-msgpart.c:311 No locals. #1 0x7f4eba177054 in fetch_state_update_stats (msgpart=optimized out, ctx=0x7f4ebacfa910, ctx=0x7f4ebacfa910) at imap-fetch-body.c:169 No locals. #2 0x7f4eba17747b in fetch_rfc822_header (ctx=0x7f4ebacfa910, mail=0x7f4ebad08a10, context=optimized out) at imap-fetch-body.c:529 msgpart = 0x0 str = optimized out #3 0x7f4eba1754cc in imap_fetch_more_int (ctx=ctx@entry=0x7f4ebacfa910, cancel=false) at imap-fetch.c:506 h = optimized out _data_stack_cur_id = 4 state = 0x7f4ebacfa960 client = 0x7f4ebacf9bb0 count = optimized out ret = optimized out __FUNCTION__ = imap_fetch_more_int #4 0x7f4eba1765ca in imap_fetch_more (ctx=0x7f4ebacfa910, cmd=cmd@entry=0x7f4ebacfa7b0) at imap-fetch.c:558 ret = optimized out __FUNCTION__ = imap_fetch_more #5 0x7f4eba169864 in cmd_fetch (cmd=0x7f4ebacfa7b0) at cmd-fetch.c:286 client = optimized out ctx = 0x7f4ebacfa910 args = 0x7f4ebace2b08 next_arg = optimized out list_arg = 0x7f4ebad03b50 search_args = 0x0 qresync_args = {qresync_sample_seqset = 0x7f4ebacd71f8, qresync_sample_uidset = 0x1} messageset = 0x7f4ebace2c70 353 send_vanished = optimized out ret = optimized out #6 0x7f4eba173cbc in command_exec (cmd=cmd@entry=0x7f4ebacfa7b0) at imap-commands.c:167 hook = 0x7f4ebace00f0 diff = optimized out finished = optimized out #7 0x7f4eba172b32 in client_command_input (cmd=0x7f4ebacfa7b0) at imap-client.c:828 client = 0x7f4ebacf9bb0 command = optimized out __FUNCTION__ = client_command_input #8 0x7f4eba172f2d in client_handle_next_command (remove_io_r=synthetic pointer, client=0x7f4ebacf9bb0) at imap-client.c:926 No locals. #9 client_handle_input (client=0x7f4ebacf9bb0) at imap-client.c:938 _data_stack_cur_id = 3 remove_io = false handled_commands = false client = 0x7f4ebacf9bb0 #10 0x7f4eba1732f5 in client_input (client=0x7f4ebacf9bb0) at imap-client.c:980 cmd = 0xea880 output = 0x7f4ebacfa5d0 bytes = 2 __FUNCTION__ = client_input #11 0x7f4eb99a2b6c in io_loop_call_io (io=0x7f4ebacfa6c0) at ioloop.c:501 ioloop = 0x7f4ebacdf740 t_id = 2 __FUNCTION__ = io_loop_call_io ---Type return to continue, or q return to quit--- #12 0x7f4eb99a3ba5 in io_loop_handler_run_internal (ioloop=ioloop@entry=0x7f4ebacdf740) at ioloop-epoll.c:220 ctx = 0x7f4ebace0460 io = optimized out tv = {tv_sec = 1799, tv_usec = 999300} events_count = optimized out msecs = optimized out ret = 1 i = 0 j = optimized out call = optimized out __FUNCTION__ = io_loop_handler_run_internal #13 0x7f4eb99a2bd9 in io_loop_handler_run (ioloop=ioloop@entry=0x7f4ebacdf740) at ioloop.c:548 No locals. #14 0x7f4eb99a2c58 in io_loop_run (ioloop=0x7f4ebacdf740) at ioloop.c:525 __FUNCTION__ = io_loop_run #15 0x7f4eb9941243 in master_service_run (service=0x7f4ebacdf5d0, callback=optimized out) at master-service.c:581 No locals. #16 0x7f4eba16696c in main (argc=1, argv=0x7f4ebacdf390) at main.c:431 set_roots = {0x7f4eba38b940 imap_setting_parser_info, 0x0} login_set = {auth_socket_path = 0x7f4ebacd7048 \001, postlogin_socket_path = 0x0, postlogin_timeout_secs = 60, callback = 0x7f4eba17ccc0 login_client_connected, failure_callback = 0x7f4eba17c930 login_client_failed, request_auth_token = 1}
Re: Core dump at imap process
Hey Timo, You are correct I meant the 2.2.18 version. Thx for the fix. Greetings Dominik Am 16. Mai 2015 10:48:09 MESZ, schrieb Timo Sirainen t...@iki.fi: On 16 May 2015, at 11:28, Dominik Breu domi...@dominikbreu.de wrote: hello list, testing the 2.18 release i got following core dump. Maybe Timo you can get a look at it. That's not v2.2.18 release though, it's the hg version after v2.2.18 release. Program terminated with signal SIGSEGV, Segmentation fault. #0 imap_msgpart_contains_body (msgpart=0x0) at imap-msgpart.c:311 No locals. #1 0x7f4eba177054 in fetch_state_update_stats (msgpart=optimized out, ctx=0x7f4ebacfa910, ctx=0x7f4ebacfa910) at imap-fetch-body.c:169 Fixed: http://hg.dovecot.org/dovecot-2.2/rev/1044c55fb4ef -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
Re: Released Pigeonhole v0.4.8.rc1 for Dovecot v2.2.17.rc1
Hello, did an test Install on my system get some nice SEGFAULT wich backtrace here: https://dominikbreu.de/Stikked/view/8b6b7e5b version is following: aptitude versions dovecot-sieve i 2:2.2.17~rc1-1~auto+4 best regards dominik Am Montag, den 11.05.2015, 00:42 +0200 schrieb Stephan Bosch: Hello Dovecot users, Here's the Pigeonhole RC that goes with the Dovecot RC. It includes a few small fixes and one new feature. Changelog v0.4.8.rc1: * LDA Sieve plugin: Dovecot changed the deliver_log_format setting to include %{delivery_time}. This prompted changes in Pigeonhole that make this release dependent on Dovecot v2.2.17. + Implemented magic to make sieve_default script visible from ManageSieve under a configurable name. This way, users can see the default rules, edit them and store a private adjusted version. This could also be achieved by copying the default script into the user's script storage, but that way updates to the global sieve_default script would be ignored. - Fixed problem in address test: erroneously decoded mime-encoded words in address headers. - extprograms plugin: Fixed failure occurring when connecting to script service without the need to read back the output from the external program. - Fixed bug in script storage path normalization occurring with relative symbolic links below root. - Fixed and updated various parts of the documentation. The release is available as follows: http://pigeonhole.dovecot.org/releases/2.2/dovecot-2.2-pigeonhole-0.4.8.rc1.tar.gz http://pigeonhole.dovecot.org/releases/2.2/dovecot-2.2-pigeonhole-0.4.8.rc1.tar.gz.sig Refer to http://pigeonhole.dovecot.org and the Dovecot v2.x wiki for more information. Have fun testing this new release and don't hesitate to notify me when there are any problems. Regards,
Re: fts_languages setting is missing - disabling?
Hello Ralf and Timo, i got the same warning but my fts is configured to use solr and not lucene. applied the same quick fix as Ralf did maybe there is more to look at when fixing it. greets, dominik Am Freitag, den 24.04.2015, 13:00 +0200 schrieb Ralf Hildebrandt: * Timo Sirainen dovecot@dovecot.org: On 24 Apr 2015, at 13:54, Ralf Hildebrandt r...@sys4.de wrote: * Ralf Hildebrandt r...@sys4.de: I don't find fts_languages in the documentation... What should I add there anbd where? fts_languages = de,en seems to do the trick. But I wonder if there's something like all and what exactly this setting does. That code shouldn't have run at all (unless you had configured fts_lucene = use_libfts). It's still work in progress. I'll get rid of the errors. oops :)
Re: Calendar and address book with Dovecot
Hello, if you don't depend on a fancy webinterface give http://radicale.org/ a shot you can auth users aganst your imap server. greets Am Donnerstag, den 09.04.2015, 17:46 +0100 schrieb mimic...@gmail.com: Hi all I recently install Postfix and Dovecot, and so far so good. My assumption was that calendar and address book (similar to Gmail calendar or address book) are part of Dovecot. However I do not see anything concerning them in any of the docs I have read so far. What other software (ideally open source, free) do I need in other to have Calendar and address book so my users can manage their contact on their phones or computer? I have looked at Roundcube already, but my requirement is not necessarily to provide web mail. Thanks Mimi
Missing amd64 on butobuild Server
Hello List, is there a Reason why the build server at http://xi.rename-it.nl/debian/ aren’t delivering amd64 since nearly an month? best regards dominik
Re: Migrate maildir between servers dovecot
Hello, i put it in 90-dsync.conf in conf.d in /etc/dovecot and run doveadm with doveadm -o mail_fsync=never -v sync -1 -R -u u...@localserver.com imapc: and it works just fine. Maybe you look at some post from randall he has the same problems to deal with. greetings, dominik Am Donnerstag, den 18.12.2014, 11:09 +0100 schrieb Davide Gmail: Hi to all, i have two servers with dovecot 2.2.15 one is actualy on production (server A) and another that i put on production soon (server B) My goal is migrate maildir from server A and server B. How can i achieve that? I read http://wiki2.dovecot.org/Migration/Dsync but i haven't understand well where to put such configuration (in which server). Thanks in advance for any help.
Re: dsync summary?
Hi Randall, i poked a bit anround in the dovecot wiki and found this article http://wiki2.dovecot.org/Tools/Doveadm/Sync maybe when u apply the -D parameter you will get what u looking for. greetings, dominik Am Mittwoch, den 17.12.2014, 01:39 -0800 schrieb Randall Gellens: Is there a way for dsync to report a summary of what it did? For example, when finished, it could report how many messages in how many folders were added (or deleted for a two-way sync) or had flags modified, and if any messages/folders were skipped due to errors or whatever. This could provide a sanity check that a sync looks like it worked.
Migrate with Dsync
Hello List, i have a simple and maybe stupid question but, read the guide on http://wiki2.dovecot.org/Migration/Dsync now i wonder where to put this configuration ? May i oversee something but i would appreciate any hint toward solving my problem. regards, dominik
Re: sieve: is it possible to filter ALL mailing lists (with header List-Id) to their folders with ONE rule?
Hello list, just a quick guess from my side: if header :matches List-ID *.*.* { fileinto INBOX.${3}.${2}.${1}; stop; } this should do the trick -dominik Am Freitag, den 12.09.2014, 20:37 +0200 schrieb A. Schulze: Lev Serebryakov: List-Id: This is decription of list list-name.host.org will be put into folder org.host.list-name where . is namespace separator (so, such folders will be shown as hierarchy in mail client)? :-) had the same idea while writing my sieve file ... Another idea would be a key - value map key : list-id value: foldername Andreas