Re: [Dovecot] Convert Plugin
Am 27.10.2010 20:26, schrieb Daniel Luttermann: Dr Matthew Williams wrote on 10/27/2010: Hello, I have been investigating mailbox conversions and have used the convert plugin under Dovecot V1.x. I cannot find the plugin in the list on the wiki for Dovcot V2.x, is it not included for a reason? I understand that I can do a post-login script to do the conversion, any guidance on best practices? you can use dsync instead. Link: http://wiki2.dovecot.org/Tools/Dsync -- Daniel after having some problems with dsync, we did all convertings like this (imap-tool/daemon) 1. make a namespace for the old format 2. make a namespace for the new format 3. use something like this: (echo 1 select .mboxnamespace/old; echo 2 copy 1:* mdboxnamespace/new; echo 3 logout)| /usr/local/libexec/dovecot/imap -u user after checking the result you can do (echo 1 select .mboxnamespace/old; echo 2 delete .mboxnamespace/old; echo 3 logout)| /usr/local/libexec/dovecot/imap -u user and thats it... works for every formats that dovecot can access... perhaps it is possible to add this way as an alternative for dsync to the wiki - cause dsync has some problems.. i.e. wenn old mailboxes have little errors or something like that... note: you have to create the new folder in the new namespace of course before copying... bye and i hope this will help all of you! Tobi -- Dr. Nagler Company GmbH Hauptstraße 9 92253 Schnaittenbach Tel : 09622-7197-38 Fax : 09622-7197-50 Web : http://www.nagler-company.com E-Mail : tobias.dauc...@nagler-company.com Hauptsitz: Schnaittenbach Handelregister: Amberg HRB 4653 Gerichtsstand: Amberg Steuernummer: 201/118/51825 USt.-ID-Nummer: DE 273143997 Geschäftsführer:Dr. Martin Nagler, Dr. Dr. Karl-Kuno Kunze
Re: [Dovecot] rpath in pigeonhole (was: dovecot-2.0-pigeonhole-0.2.1 installation in wrong lib dir?)
On Wed, 27 Oct 2010, Axel Thimm wrote: Still managesieve-login manages to be built w/o rpath. But this is in another specfile altogether, which doesn't even use --disable-rpath. So the issue is somewhere else. I'll do some more testing and report back. Best regards to all people in Zeuthen that can still remember me. :) Hi Axel, sorry, erst lesen dann posten, meine Mail ist doch nicht verloren gegangen... Ich werde die Grüße ausrichten Viele Grüße aus Zeuthen -- Wolfgang Friebel Deutsches Elektronen-Synchrotron DESY Phone/Fax: +49 33762 77372/216Platanenallee 6 Mail: Wolfgang.Friebel AT desy.de D-15738 Zeuthen Germany
[Dovecot] [OT] dovecot appliance
Hello all. I am reading the mailinglist for a long time now, and there was a thread i believe called webgui or something. In this thread there was a company i believe german, that was working on a dovecot appliance with a web based gui to administrate a dovecot mail server. The problem is i did not save the URL of that company. Does anyone know which company make the appliance. Or does anyone knows a good webbased tool for dovecot. The reason is that in a windows environment, with only a few FreeBSD machine's , my collega's get frustrated if they can not use a mouse. They even want a mouse on there smartphone's :D I am doing the administration of the mail server, but when i am not there, it would be nice if they can do things them selves. thanks for your time. regards, Johan Hendriks
Re: [Dovecot] [OT] dovecot appliance
Hi, Or does anyone knows a good webbased tool for dovecot. Actually, you may use Dovecot with any existing courier-Mailserver-GUI. E.g., there is Postfixadmin: http://postfixadmin.sourceforge.net/ You only have to setup Dovecot to use the SQL-schemes defined by the GUI, which is actually not too hard. Anton
Re: [Dovecot] Released Pigeonhole v0.2.1 for Dovecot v2.0.4
On 27/10/2010 20:16, Axel Thimm wrote: Hi Juan, Hi, sorry for the late reply I just picked this up mentioning ATrpms: On Mon, 2010-10-04 at 19:05 +0200, Juan C. Blanco wrote: Hello Stephan I have some problems to build pigeonhole 0.2.1 over dovect 2.0.5, I've had no problems with previous versions; the system is CentOS 5.5. FWIW CentOS is supported at ATrpms and there are packages for 0.2.1 there for CentOS, if you need them. I think that is autotools related, but not sure. I've dounloaded the archive for pigeonhole, once decompressed: If I do: ./configure --with-dovecot=../dovecot-2.0.5 make All seems to work fine But if I do (like the atrpms package spec): autoreconf -ifv ./configure --with-dovecot=../dovecot-2.0.5 make I get the error: I checked the pigeonhole specfiles at ATrpms, but could not find any such call, the %build part has been %build ## crude hack ... #./autogen.sh %configure --with-dovecot=%{_libdir}/dovecot \ --with-managesieve=yes \ --enable-header-install=yes \ INSTALL_DATA=install -c -p -m644 make for quite some time now. Thans, I've seen so, but I have a question does not will be necessary to do it?, the configure was generated by a version of autoconf newer than the one in CentOS and dows not it may cause problems to use it as is. Regards Juan C: blanco -- ++ | Juan C. Blanco | || | Centro de Calculo | | | Facultad de Informatica U.P.M. | E-mail: jcbla...@fi.upm.es | | Campus de Montegancedo | | | Boadilla del Monte | Tel.:(+34) 91 336 7466 | | 28660 MADRID (Spain) | Fax :(+34) 91 336 6913 | ++
Re: [Dovecot] [OT] dovecot appliance
--- On Thu, 28/10/10, Johan Hendriks joh.hendr...@gmail.com wrote: Hello all. I am reading the mailinglist for a long time now, and there was a thread i believe called webgui or something. In this thread there was a company i believe german, that was working on a dovecot appliance with a web based gui to administrate a dovecot mail server. The problem is i did not save the URL of that company. Does anyone know which company make the appliance. Or does anyone knows a good webbased tool for dovecot. The reason is that in a windows environment, with only a few FreeBSD machine's , my collega's get frustrated if they can not use a mouse. They even want a mouse on there smartphone's :D I am doing the administration of the mail server, but when i am not there, it would be nice if they can do things them selves. thanks for your time. regards, Johan Hen Hi Johan, Don't know of a german company, but I can tell you that I am more than happy with Horde : http://www.horde.org/webmail http://www.horde.org/horde There's lots of configurable stuff there and you can do whatever you want with it, as long as you have LAMP (Linux Apache MySQL PHP), you can use any SMTP/IMAP combo you like. For IMAP I use dovecot (naturally). HTH, Best regards, s. I merely function as a channel that filters music through the chaos of noise - Vangelis
Re: [Dovecot] [OT] dovecot appliance
On 28/10/2010 12:22 μμ, Spyros Tsiolis wrote: --- On Thu, 28/10/10, Johan Hendriksjoh.hendr...@gmail.com wrote: Hello all. I am reading the mailinglist for a long time now, and there was a thread i believe called webgui or something. In this thread there was a company i believe german, that was working on a dovecot appliance with a web based gui to administrate a dovecot mail server. The problem is i did not save the URL of that company. Does anyone know which company make the appliance. Or does anyone knows a good webbased tool for dovecot. The reason is that in a windows environment, with only a few FreeBSD machine's , my collega's get frustrated if they can not use a mouse. They even want a mouse on there smartphone's :D I am doing the administration of the mail server, but when i am not there, it would be nice if they can do things them selves. thanks for your time. regards, Johan Hen Perhaps you could try Webmin (www.webmin.com). It has a Dovecot administration module as well.
[Dovecot] Quota warning email
Hi @all, is there any way to inform a mailbox user via mail that his mailbox reached a specified limit? Regards Patrick
Re: [Dovecot] Quota warning email
On Thu, 28 Oct 2010 12:16:11 +0200, Patrick Westenberg p...@wk-serv.de wrote: is there any way to inform a mailbox user via mail that his mailbox reached a specified limit? Forget it. Found it in the wiki.
[Dovecot] Can you POP a specific folder in Dovecot?
Hi all, I am in the middle of migrating from an old, Windows based mailserver, and have run into a small challenge I hope someone here can help me with. In my old setup, a user could have folders on the server, and by using his login with the mailbox appended, could pop a given folder specifically. For instance, logging in with u...@example.com would pop INBOX, and logging in with user-fol...@example.com would pop just that specific folder. Is it possible to do something like this in Dovecot, or is the only possible way of popping folders by using the virtual plugin? Med Venlig Hilsen, Peter Reinhold, pe...@reinhold.dk / pe...@geekhouse.dk
Re: [Dovecot] problem with folder creation
Torsdag 28. oktober 2010 01.58.31 skrev John Watson : I am running dovecot 1.2.12 on Free BSD 8.1. We also have postfix and a version of squirrelmail for the UI. We are using MySql database to store the email account info. I wrote a script to insert about 100K users into mysql. Those accounts seem to work well and I'm able to see things like 'Drafts', 'Trash' and 'Sent'. Now I am working on code to create new accounts - one at a time. The accounts get created and I can send and receive email from them but when I go go Drafts, Sent or Trash I get an error that says: ERROR: Could not complete request. Query: SELECT INBOX.Drafts Reason Given: Mailbox doesn't exist: INBOX.Drafts When I go out and look at the mailbox folders for these users I only see cur, new, and tmp whereas on other accounts that work well I also see things like INBOX.Drafts etc. I have examined the sql that is inserting the accounts in bulk versus the one by one case and can not see any differences (other than a new mailbox name/password etc). Everything that I'm reading online indicates that Dovecot should just create these extra folders on the server and there is really nothing for either an admin or a user to do. Does anyone have any more information on this? Thanks in Advance John Watson This may not be exactly what you are looking for, but the auto-create plugin can create the folders for you upon login first time to the account. http://wiki1.dovecot.org/Plugins/Autocreate plugin { autocreate = Trash autocreate2 = Junk autocreate3 = Sent autocreate4 = Drafts autosubscribe = Trash autosubscribe2 = Junk autosubscribe3 = Sent autosubscribe4 = Drafts } -- Arne K. Haaje | www.drlinux.no T: 69 51 15 52 | M: 92 88 44 66
[Dovecot] Problem with quota and mdbox and quota warning
Hi again, I just recognized that my dovecot forgets the quota for a mailbox. This is what the maildirsize looks like: 1 read mail present, 1 new/unread mail 2097152S 0 0 909936 1 and later, with 2 read mails: 2097152S 0 0 There are no errors logged. Moreover, my quota warning script doesn´t work because dovecot doesn´t recognize my specified folder. I specified /usr/local/etc/dovecot/quota-warning.sh but the log shows that dovecot looks somewhere else: Error: quota: connect(/usr/local/var/run/dovecot/quota-warning) failed: Permission denied # 2.0.1: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-amd64 x86_64 Debian 5.0.5 disable_plaintext_auth = no mail_gid = vmail mail_location = mdbox:~/mdbox mail_plugins = quota mail_uid = vmail managesieve_notify_capability = mailto managesieve_sieve_capability = comparator-i;octet comparator-i;ascii-casemap fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date namespace { inbox = yes location = prefix = INBOX. separator = . type = private } passdb { args = /usr/local/etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { quota = maildir:User quota quota_rule2 = INBOX.Trash:storage=+50M quota_warning = storage=90%% quota-warning 90 %u quota_warning2 = storage=75%% quota-warning 75 %u sieve = ~/.dovecot.sieve sieve_global_path = /usr/local/etc/dovecot/sieve/default.sieve } protocols = lmtp imap sieve service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } } service imap-login { service_count = 1 } service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } service managesieve-login { inet_listener sieve { port = 4190 } inet_listener sieve_deprecated { port = 2000 } service_count = 1 } service quota-warning { executable = script /usr/local/etc/dovecot/quota-warning.sh user = vmail } ssl = no userdb { args = /usr/local/etc/dovecot/dovecot-sql.conf.ext driver = sql } protocol lmtp { mail_plugins = $mail_plugins sieve } protocol lda { mail_plugins = $mail_plugins sieve } protocol imap { mail_plugins = $mail_plugins imap_quota }
Re: [Dovecot] Can you POP a specific folder in Dovecot?
On 28.10.2010, at 12.26, Peter Reinhold wrote: For instance, logging in with u...@example.com would pop INBOX, and logging in with user-fol...@example.com would pop just that specific folder. Might be possible.. Assuming you're using Maildir? First you'll need to extract the folder from the username in passdb and change the username to u...@example.com. Put the folder into userdb_folder or something, so that you can access it in post-login script. The post-login script then would do something like: if [ $FOLDER != ]; then MAIL=maildir:$HOME/Maildir/.$FOLDER fi Probably needs some more complexity, but basically I think that idea should work.
Re: [Dovecot] Problem with quota and mdbox and quota warning
On 28.10.2010, at 13.38, Patrick Westenberg wrote: I just recognized that my dovecot forgets the quota for a mailbox. This is what the maildirsize looks like: mdbox doesn't work with Maildir++ quota, you need to use dict quota with e.g. file backend. Moreover, my quota warning script doesn´t work because dovecot doesn´t recognize my specified folder. I specified /usr/local/etc/dovecot/quota-warning.sh but the log shows that dovecot looks somewhere else: Error: quota: connect(/usr/local/var/run/dovecot/quota-warning) failed: Permission denied You need to give enough permissions for that. mail_uid = vmail .. service quota-warning { executable = script /usr/local/etc/dovecot/quota-warning.sh user = vmail unix_listener quota-warning { user = vmail } } You should upgrade to v2.0.6 in any case. It'll also give you better error messages.
Re: [Dovecot] Doveadm-Expunge v2.0.5
On 28.10.2010, at 5.50, Kui Zhang wrote: doveadm -Dv expunge -u u...@domain mailbox .EXPUNGED/* savedbefore 7d .. doveadm(u...@domain): Debug: expunge: box=.EXPUNGED/INBOX/mon uid=791 doveadm(u...@domain): Info: expunge: box=INBOX/mon, uid=196, msgid=e1owjm4-j4...@domain, size=1856 So what is the diff between Debug: expunge and Info: expunge. The Debug: expunge is written by doveadm, because you gave it a -D parameter. It tells what messages it's about to expunge. The Info: expunge is written by mail_log plugin when anything gets expunged. 1.A. Would not it be faster not to enumerate for large mailboxes (30-40GB - Maildir)? Is it possible to add a switch, to select single user expunge behavior? ref: http://www.mail-archive.com/dovecot@dovecot.org/msg32322.html I don't understand. The default is to expunge only a single user. And why do you mention maildir if you're using mdbox? In any case the size of the mailbox is rather irrelevant. Number of messages is more relevant. 2. Also. expunge does not appear to remove empty mailboxes, is this a bug or intentional? If intentional, why? Any way to automated removal of empty mailboxes? Well, for your situation when removing mails from .EXPUNGED/ it makes sense, but for anything else it definitely shouldn't be automatically deleting any mailboxes. Maybe there could be an option to do this, although it's a bit problematic if doveadm expunge is being run at the same time as user is expunging more messages. It shouldn't delete mailbox if new messages just got added there. (And that probably isn't very easy to implement.)
Re: [Dovecot] Problem with quota and mdbox and quota warning
Patrick Westenberg schrieb: Timo Sirainen schrieb: mdbox doesn't work with Maildir++ quota, you need to use dict quota with e.g. file backend. Oh, very sad :( In this case we have to switch back to maildir. Hm, I should read everything. File backend should be ok.
Re: [Dovecot] Can quota_rule be inherited by child mailboxes?
On 28.10.2010, at 1.24, ian+dove...@comtek.co.uk wrote: But simply writing this: quota_rule7 = USERS:ignore doesn't apply to USERS.xxx and so on. The wiki says '*' isn't supported as a wildcard and frankly I'm struggling with the source code! I guess the right way to do it would be: quota_rule = USERS:ignore quota_rule2 = USERS.*:ignore But since wildcards aren't supported here, someone needs to write the code.. It's also not very clear what should happen when a mailbox is renamed from foo to USERS.foo. The quota should be decreased by the mailbox's size I guess..
Re: [Dovecot] Problem with namespace (maybe bug?)
On 27.10.2010, at 11.11, l.chelchowski wrote: . list (subscribed) * * LIST (\Subscribed \NonExistent) / Shared/tester2/sdfgsg/gsdfgf/vtyjyfgj/rtdhrthxs/zhfhg . OK List completed. Could you tell me where is the problem, is it a bug or my config mistake? Looks like a bug, yeah. Should be fixed in v2.0. I don't know if it's worth the trouble to fix it in v1.2 anymore though..
Re: [Dovecot] Can you POP a specific folder in Dovecot?
On 28/10/2010 11:26, Peter Reinhold wrote: In my old setup, a user could have folders on the server, and by using his login with the mailbox appended, could pop a given folder specifically. For instance, logging in with u...@example.com would pop INBOX, and logging in with user-fol...@example.com would pop just that specific folder. Is it possible to do something like this in Dovecot, or is the only possible way of popping folders by using the virtual plugin? Though this is of course Paradigm error or Trying to ice-skate up hill. If you want to access folders, then use IMAP. Historically IMAP has difficult, slow, unreliable and generally gnarly. But nowadays Dovecot makes IMAP work well. Of course you have to pick the right client. I've never had good experiences with MS-Outlook over IMAP, but then I haven't even bothered with it for several years. My current favourite is Thunderbird 3. Bill
Re: [Dovecot] Problem with namespace (maybe bug?)
On Thu, 28 Oct 2010 14:13:42 +0200, Timo Sirainen wrote: Looks like a bug, yeah. Should be fixed in v2.0. I don't know if it's worth the trouble to fix it in v1.2 anymore though.. I can live with that, so this decision I leave for you. -- Thanks Łukasz
[Dovecot] migration 1.1.7 to 2.0.6
I'm thinking of migrating from 1.1.7 (default RPM on SUSE 11.1) to 2.0.6 compiled from source using the default locations. Any Gotchas to expect that are different to an upgrade from 1.2? Any hints from moving from RPM to compiling from source and retaining the default configuration under /usr/local? TIA -- Brian DuffellRiscPC600 | VRPC Sa-Adjust RISC OS 6.10 96Mb Linux PCs on RISC OS network| www.darlingtonmasters.org.uk
Re: [Dovecot] Problem with quota and mdbox and quota warning
Timo Sirainen schrieb: Error: quota: connect(/usr/local/var/run/dovecot/quota-warning) failed: Permission denied You need to give enough permissions for that. mail_uid = vmail .. service quota-warning { executable = script /usr/local/etc/dovecot/quota-warning.sh user = vmail This behaviour is very weird. My script is /usr/local/etc/dovecot/quota-warning.sh and after reloading dovecot generates the file /usr/local/var/run/dovecot/quota-warning with wrong permissions? So everytime I have or want to restart dovecot, I have to re-set the rights for this file?
Re: [Dovecot] migration 1.1.7 to 2.0.6
* Brian D dove...@planet3.freeuk.co.uk: I'm thinking of migrating from 1.1.7 (default RPM on SUSE 11.1) to 2.0.6 compiled from source using the default locations. Any Gotchas to expect that are different to an upgrade from 1.2? Basically it works as documented. How many clients is your machine serving? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de
Re: [Dovecot] migration 1.1.7 to 2.0.6
* Brian D dove...@planet3.freeuk.co.uk: Any hints from moving from RPM to compiling from source and retaining the default configuration under /usr/local? a) backup the config b) install with the default --prefix setting, which IS /usr/local -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de
Re: [Dovecot] migration 1.1.7 to 2.0.6
On Thu, Oct 28, 2010 at 6:59 PM, Ralf Hildebrandt ralf.hildebra...@charite.de wrote: * Brian D dove...@planet3.freeuk.co.uk: Any hints from moving from RPM to compiling from source and retaining the default configuration under /usr/local? a) backup the config b) install with the default --prefix setting, which IS /usr/local I use the following compile options ./configure --prefix=/usr --sysconfdir=/etc --with-sql --with-pgsql --with-zlib --with-bzlib --with-ssl -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de
Re: [Dovecot] migration 1.1.7 to 2.0.6
* Sandeep Agarwal sandeepagarwal.1...@gmail.com: On Thu, Oct 28, 2010 at 6:59 PM, Ralf Hildebrandt ralf.hildebra...@charite.de wrote: * Brian D dove...@planet3.freeuk.co.uk: Any hints from moving from RPM to compiling from source and retaining the default configuration under /usr/local? a) backup the config b) install with the default --prefix setting, which IS /usr/local I use the following compile options ./configure --prefix=/usr --sysconfdir=/etc --with-sql --with-pgsql --with-zlib --with-bzlib --with-ssl In that case the files go to /usr/bin /usr/lib etc. Meaning - aynthing below /usr/local is untouchted. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de
Re: [Dovecot] Problem with quota and mdbox and quota warning
On 28.10.2010, at 15.17, Patrick Westenberg wrote: My script is /usr/local/etc/dovecot/quota-warning.sh and after reloading dovecot generates the file /usr/local/var/run/dovecot/quota-warning with wrong permissions? So everytime I have or want to restart dovecot, I have to re-set the rights for this file? No. Did you see this part of my mail: service quota-warning { executable = script /usr/local/etc/dovecot/quota-warning.sh user = vmail unix_listener quota-warning { user = vmail } } Set the permissions as you want in the unix_listener.
Re: [Dovecot] dsync, separator, but really - Default Namespace
On Jueves 28 Octubre 2010 16:35:48 Daniel L. Miller escribió: Ok - I 've never configured namespaces before...time to learn. So my first attempt - is the following config the same as having no explicit namespace declaration?: # My Default Namespace namespace { type = private separator = '.' prefix =. location = /var/mail/%d/%n/Maildir inbox = yes hidden = no list = yes subscriptions = yes } I've just run into the same situation 1 hour ago! My namespace declaration is namespace { type = private separator = '/' inbox = yes } (the default value for location is mail_location) and dsync is working fine (it's slow, but it's working). HTH -- Joseba Torre. Vicegerencia de TICs, área de Explotación
Re: [Dovecot] Can you POP a specific folder in Dovecot?
Someone wrote (Probably you), and the time was 14:23 28-10-2010 Though this is of course Paradigm error or Trying to ice-skate up hill. If you want to access folders, then use IMAP. This might be, but I like to be able to access my mail via webmail during the day, and then pop it to my local computer when I get home. Being on a couple of medium to high traffic mailinglists, and you quickly loose overview when in the webmail, and thats when its nice to be able to file the mails into folders. While you may not agree on the practice, it has worked pretty well for me the past many years, and i'd like to continue doing so, even on a new mailserver (and Dovecot has many nice features that my old one didn't) Kind Regards, Peter Reinhold - pe...@reinhold.dk http://www.reinhold.dk http://www.geekhouse.dk -- QOTD : gh-kh .. Jan, Thomas, Mario, Niels og Peter, Tengslemark lyng - 1998
Re: [Dovecot] Can you POP a specific folder in Dovecot?
On Thursday 28 October 2010 wrote Peter Reinhold: Someone wrote (Probably you), and the time was 14:23 28-10-2010 Though this is of course Paradigm error or Trying to ice-skate up hill. If you want to access folders, then use IMAP. This might be, but I like to be able to access my mail via webmail during the day, and then pop it to my local computer when I get home. Being on a couple of medium to high traffic mailinglists, and you quickly loose overview when in the webmail, and thats when its nice to be able to file the mails into folders. While you may not agree on the practice, it has worked pretty well for me the past many years, and i'd like to continue doing so, even on a new mailserver (and Dovecot has many nice features that my old one didn't) You might consider fetching the mails with fetchmail, it supports retrieving from a given folder with IMAP. Amon Ott -- Sehen wir uns in Marl? 9. Dezember 2010 Business Breakfast der Helmich IT-Security GmbH, Marl TightGate-Pro: Keine Chance für Angreifer aus dem Internet Jetzt kostenfrei anmelden: www.m-privacy.de/presse/veranstaltungen/ Wir freuen uns auf Ihren Besuch! --- m-privacy GmbH Tel: +49 30 24342334 Am Köllnischen Park 1Fax: +49 30 24342336 10179 Berlin http://www.m-privacy.de Amtsgericht Charlottenburg, HRB 84946 Geschäftsführer: Dipl.-Kfm. Holger Maczkowsky, Roman Maczkowsky GnuPG-Key-ID: 0x2DD3A649
[Dovecot] mail_attachment_hash
What happens if this setting gets changed - after the system has been running for some time? Are the old attachments lost? -- Daniel
Re: [Dovecot] Problem with namespace (maybe bug?)
Timo, On 10/28/10 5:13 AM, Timo Sirainen t...@iki.fi wrote: . list (subscribed) * * LIST (\Subscribed \NonExistent) / Shared/tester2/sdfgsg/gsdfgf/vtyjyfgj/rtdhrthxs/zhfhg . OK List completed. Looks like a bug, yeah. Should be fixed in v2.0. I don't know if it's worth the trouble to fix it in v1.2 anymore though.. I think it's differently broken in 2.0 in certain configurations. See http://www.dovecot.org/list/dovecot/2010-October/054310.html It's possible that the same change to SUBSCRIPTIONS would fix it on 1.2? -Brad
Re: [Dovecot] Can you POP a specific folder in Dovecot?
On 28/10/2010 16:04, Peter Reinhold wrote: Someone wrote (Probably you), and the time was 14:23 28-10-2010 Though this is of course Paradigm error or Trying to ice-skate up hill. If you want to access folders, then use IMAP. This might be, but I like to be able to access my mail via webmail during the day, and then pop it to my local computer when I get home. Even easier then. Just reconfigure your home computer for IMAP. Then the webmail and the home computer will both see the same folderised mail store. Being on a couple of medium to high traffic mailinglists, and you quickly loose overview when in the webmail, and thats when its nice to be able to file the mails into folders. OK. File it into folders on the IMAP. IMAP supports server-side filing --- the message does not have to be downloaded to the client and re-uploaded; the client just tells the IMAP server to re-file it. (Yes yes yes pedants, I know, IMAP doesn't support MOVE in the core, and by default it's copy-then-delete. The point is there is no download-upload cycle --- in any case under Dovecot, under Maildir, sdbox or mdbox, copies are all done by some form of reference-copying and therefore cheap.) While you're at it, you might as well set up rules on the server to file it for you. Then when you file stuff at home (or the server-side rules file it for you), it will all appear magically filed on the webmail. While you may not agree on the practice, it has worked pretty well for me the past many years, and i'd like to continue doing so, even on a new mailserver (and Dovecot has many nice features that my old one didn't) Weird because you seem to have a perfectly good folderised mail store on the server, then go and break the paradigm by moving everything down on to a single client machine. Bill
[Dovecot] What causes the quota information to get updated?
Hello, if new mails arrive, the quota information is updated and reported via imap immediately. However, after deleting a message, nothing happens. Even if I delete all messages and the mailbox e.g. was over quota, new mails won´t be accepted because the mailbox is over quota. Is this the way it should be or a misconfiguration? # 2.0.4: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-amd64 x86_64 Debian 5.0.5 auth_mechanisms = plain login log_timestamp = %Y-%m-%d %H:%M:%S mail_debug = yes mail_gid = vmail mail_location = mdbox:~/mdbox mail_plugins = quota mail_uid = vmail managesieve_notify_capability = mailto managesieve_sieve_capability = comparator-i;octet comparator-i;ascii-casemap fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date namespace { inbox = yes location = prefix = INBOX. separator = . type = private } passdb { args = /usr/local/etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { quota = dict:User quota::file:%h/mdbox/dovecot-quota quota_rule2 = INBOX.Trash:storage=+50M quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=5%% quota-warning 5 %u sieve = ~/.dovecot.sieve sieve_global_path = /usr/local/etc/dovecot/sieve/default.sieve } protocols = imap sieve service imap-login { service_count = 1 } service managesieve-login { inet_listener sieve { port = 4190 } inet_listener sieve_deprecated { port = 2000 } service_count = 1 } ssl = required ssl_cert = /etc/ssl/certs/imap_wk-serv_net.crt ssl_key = /etc/ssl/certs/imap_wk-serv_net.key userdb { args = /usr/local/etc/dovecot/dovecot-sql.conf.ext driver = sql } protocol imap { mail_plugins = $mail_plugins imap_quota }
Re: [Dovecot] problem with folder creation
OK I tried that and it still isn't working as expected. I added configuration like this to dovecot.conf ( and restated dovecot): plugin { # Here you can give some extra environment variables to mail processes. # This is mostly meant for passing parameters to plugins. %variable # expansion is done for all values. autocreate = INBOX.Trash autocreate2 = INBOX.Drafts autosubscribe = INBOX.Trash autosubscribe2 = INBOX.Drafts My new accounts are getting folders like this: drwx-- 2 postfix postfix 512 Oct 28 10:33 cur -rw--- 1 postfix postfix 17 Oct 28 10:33 dovecot-uidlist -rw--- 1 postfix postfix8 Oct 28 10:33 dovecot-uidvalidity -rw--- 1 postfix postfix0 Oct 28 10:33 dovecot-uidvalidity.4cc9b3dc -rw--- 1 postfix postfix 156 Oct 28 10:33 dovecot.index.log drwx-- 2 postfix postfix 512 Oct 28 10:33 new drwx-- 2 postfix postfix 512 Oct 28 10:33 tmp what I would like to see is them getting folders like this: drwx-- 5 postfix postfix 512 Oct 27 16:33 .INBOX.Drafts drwx-- 5 postfix postfix 512 Oct 27 16:33 .INBOX.Sent drwx-- 5 postfix postfix 512 Oct 27 16:33 .INBOX.Trash drwx-- 2 postfix postfix 512 Oct 27 16:33 cur -rw--- 1 postfix postfix 17 Oct 27 16:33 dovecot-uidlist -rw--- 1 postfix postfix8 Oct 27 16:33 dovecot-uidvalidity -rw--- 1 postfix postfix0 Oct 27 16:33 dovecot-uidvalidity.4cc8b6bb -rw--- 1 postfix postfix 156 Oct 27 16:33 dovecot.index.log drwx-- 2 postfix postfix 512 Oct 27 16:33 new -rw--- 1 postfix postfix 36 Oct 27 16:33 subscriptions drwx-- 2 postfix postfix 512 Oct 27 16:33 tmp It seems to work with these 100K users that I created as part of a bulk create operation against mysql. The new accounts that I create one at a time seem to behave differently. I can't see any difference in the database rows. Another option that I am considering at this point is to create these folders manually at the same time that I insert the account into mysql. Assuming I have a good template and get the folder permissions and ownership right is there a problem with that approach? -Original Message- From: dovecot-bounces+johnwa=azasrs@dovecot.org [mailto:dovecot-bounces+johnwa=azasrs@dovecot.org] On Behalf Of Arne K. Haaje Sent: Thursday, October 28, 2010 3:27 AM To: dovecot@dovecot.org Subject: Re: [Dovecot] problem with folder creation Torsdag 28. oktober 2010 01.58.31 skrev John Watson : I am running dovecot 1.2.12 on Free BSD 8.1. We also have postfix and a version of squirrelmail for the UI. We are using MySql database to store the email account info. I wrote a script to insert about 100K users into mysql. Those accounts seem to work well and I'm able to see things like 'Drafts', 'Trash' and 'Sent'. Now I am working on code to create new accounts - one at a time. The accounts get created and I can send and receive email from them but when I go go Drafts, Sent or Trash I get an error that says: ERROR: Could not complete request. Query: SELECT INBOX.Drafts Reason Given: Mailbox doesn't exist: INBOX.Drafts When I go out and look at the mailbox folders for these users I only see cur, new, and tmp whereas on other accounts that work well I also see things like INBOX.Drafts etc. I have examined the sql that is inserting the accounts in bulk versus the one by one case and can not see any differences (other than a new mailbox name/password etc). Everything that I'm reading online indicates that Dovecot should just create these extra folders on the server and there is really nothing for either an admin or a user to do. Does anyone have any more information on this? Thanks in Advance John Watson This may not be exactly what you are looking for, but the auto-create plugin can create the folders for you upon login first time to the account. http://wiki1.dovecot.org/Plugins/Autocreate plugin { autocreate = Trash autocreate2 = Junk autocreate3 = Sent autocreate4 = Drafts autosubscribe = Trash autosubscribe2 = Junk autosubscribe3 = Sent autosubscribe4 = Drafts } -- Arne K. Haaje | www.drlinux.no T: 69 51 15 52 | M: 92 88 44 66
Re: [Dovecot] Released Pigeonhole v0.2.1 for Dovecot v2.0.4
On Thu, 2010-10-28 at 10:24 +0200, Juan C. Blanco wrote: On 27/10/2010 20:16, Axel Thimm wrote: On Mon, 2010-10-04 at 19:05 +0200, Juan C. Blanco wrote: I've dounloaded the archive for pigeonhole, once decompressed: If I do: ./configure --with-dovecot=../dovecot-2.0.5 make All seems to work fine But if I do (like the atrpms package spec): autoreconf -ifv ./configure --with-dovecot=../dovecot-2.0.5 make I get the error: I checked the pigeonhole specfiles at ATrpms, but could not find any such call, the %build part has been %build ## crude hack ... #./autogen.sh %configure --with-dovecot=%{_libdir}/dovecot \ --with-managesieve=yes \ --enable-header-install=yes \ INSTALL_DATA=install -c -p -m644 make for quite some time now. Thans, I've seen so, but I have a question does not will be necessary to do it?, the configure was generated by a version of autoconf newer than the one in CentOS and dows not it may cause problems to use it as is. It doesn't matter, autotools, the collection of autoconf, automake, libtool and gettext are only needed when preparing the sources for shipping, e.g. they are (normally) not needed for builds. Normally means unless you change any configure.ac, Makefile.am, *.m4 files that these tools need as an input for generating the build system files. So you don't need to run autoreconf. But if you do need to run it (which I also had to yesterday while chasing for a bug), you sometimes need to nuke away some files, especially if your autotools are older that the authors', so try rm -f m4/lt* m4/libtool.m4 build-aux/ltmain.sh autoreconf -fiv ./configure ... And that should work on CentOS5. But as said, you don't need it. I added the two lines above in the latest dovecot-pigeonhole rpm (commented) to allow future users to easily enable rebuilding of the autotools bit. Also note that there are fresh rpms for CentOS at ATrpms. :) -- http://thimm.gr/ - http://ATrpms.net/ signature.asc Description: This is a digitally signed message part
Re: [Dovecot] rpath in pigeonhole (was: dovecot-2.0-pigeonhole-0.2.1 installation in wrong lib dir?)
Hi, On Thu, 2010-10-28 at 09:28 +0200, wolfgang.frie...@desy.de wrote: On Wed, 27 Oct 2010, Axel Thimm wrote: Still managesieve-login manages to be built w/o rpath. But this is in another specfile altogether, which doesn't even use --disable-rpath. So the issue is somewhere else. I'll do some more testing and report back. Best regards to all people in Zeuthen that can still remember me. :) Hi Axel, sorry, erst lesen dann posten, meine Mail ist doch nicht verloren gegangen... Ich werde die Grüße ausrichten Viele Grüße aus Zeuthen thanks :) I found the bug, it is removing the *.la files from dovecot which messes up with dovecot-pigeonhole. There are now new rpms at ATrpms that don't remove the *.la files, so dovecot-pigeonhole's libtool knows where dovecto libs live and can intelligently apply proper -rpath arguments. If you ask why the libtool libs have been removed in the first place, then the short answer is conformity to upstream packaging. The long answer is that some ages ago there was heated discussion at Fedora about using or not *.la libs for library dependency or using pkgconfig, *-config files and the like. Unfortunately autotools took a blow and the package guidelines forbid the use of libtool libs. This was inherited by RHEL and package lint tools etc., so we all started to conform. E.g. in a Fedora/RHEL world one would probably start patching -rpath arguments into dovecot-config, which would be non-portable, thus a patch that cannot be applied upstream, and which has to be carried into the package. Anyway lifing the strict *.la removal is easier and technically the sane thing to do. (FWIW I've been a pro-libtool proponent) Anyway, please check out the latest packages, you can test the binaries directly (which would give me also a great feedback, not many people are using managesieve and thus there were no bug reports other than yours :), or you can review the source rpm and rpmbuild --rebuild them. -- http://thimm.gr/ - http://ATrpms.net/ signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Doveadm-Expunge v2.0.5
On Thu, Oct 28, 2010 at 5:06 AM, Timo Sirainen t...@iki.fi wrote: On 28.10.2010, at 5.50, Kui Zhang wrote: doveadm -Dv expunge -u u...@domain mailbox .EXPUNGED/* savedbefore 7d .. doveadm(u...@domain): Debug: expunge: box=.EXPUNGED/INBOX/mon uid=791 doveadm(u...@domain): Info: expunge: box=INBOX/mon, uid=196, msgid=e1owjm4-j4...@domain, size=1856 So what is the diff between Debug: expunge and Info: expunge. The Debug: expunge is written by doveadm, because you gave it a -D parameter. It tells what messages it's about to expunge. The Info: expunge is written by mail_log plugin when anything gets expunged. Thanks for the info. So is info message showing the wrong mailbox or is it deleting from the wrong mailbox? I did specify mailbox .EXPUNGED/*. Is the syntax wrong? debug: box=.EXPUNGED/INBOX/mon info: box=INBOX/mon 1.A. Would not it be faster not to enumerate for large mailboxes (30-40GB - Maildir)? Is it possible to add a switch, to select single user expunge behavior? ref: http://www.mail-archive.com/dovecot@dovecot.org/msg32322.html I don't understand. The default is to expunge only a single user. And why do you mention maildir if you're using mdbox? In any case the size of the mailbox is rather irrelevant. Number of messages is more relevant. Let me rephrase that. Some users are using maildir. and more than one of such users with 30-40Gb of emails, approx 100-800k/message. approx 85899345 messages. 20-50 mailboxes under each user. And messages get deleted often. When expunging, lazy expunged, messages from such mailboxes, individually at separate time. Would not it be faster/safer reading from expire database compare to enumerate everything? I was hoping to setup a script to expunge, lazy expunged, messages from each user, at diff intervals, based predetermined rate of delete. 2. Also. expunge does not appear to remove empty mailboxes, is this a bug or intentional? If intentional, why? Any way to automated removal of empty mailboxes? Well, for your situation when removing mails from .EXPUNGED/ it makes sense, but for anything else it definitely shouldn't be automatically deleting any mailboxes. Maybe there could be an option to do this, although it's a bit problematic if doveadm expunge is being run at the same time as user is expunging more messages. It shouldn't delete mailbox if new messages just got added there. (And that probably isn't very easy to implement.) thanks you.