Re: [Dovecot] [Solved] Kerberos GSSAPI - proper item name in keytab
On 01.09.2011 17:53, Stanislav Klinkov wrote: Can there be a way to continue using this crafty venet interface, but force krb5 libs to look up for desired IP ? Thanks for sharing solved problem. But I think this question better to forward to Kerberos mailing list. You probably find more explicit answer there, maybe this is even some kind of bug in krb5 libs :)
Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab
On 31.08.2011 18:55, Stanislav Klinkov wrote: Thank you for sharing a very interesting experience, David. It seemed like running ktpass multiple times invalidated the previous keytabs. OK. Let us assume. But then how can you explain the fact that the setting<> in dovecot config solves all mentioned troubles at once? As well I just have run the following experiment. I re-generated one more keytab for service "imap/test.efim.local" only. So, it became the last-generated key. Then I copied it onto my dovecot server as the only "krb.keytab" file, and nothing changed. Also, I issued the following command on my AD domain controller: C:\Windows\system32>setspn -L dovecot And the result was: * Registered ServicePrincipalNames for CN=dovecot,OU=Agents,DC=romashka,DC=lan: imap/efim.test.local smtp/efim.test.local pop/efim.test.local * Please note, that I have not apllied any magic to servicePrincipalName of AD user "dovecot" by setspn or other AD snap-ins. Early versions of ktpass only allowed only 1 serviceprincipialnames, thus every time you generate new it was overwrite old one. ktpass from win2008 seems fix this. To make sure everything should work, hop on a box where you have a valid user Kerberos ticket and do kvno imap/efim.test.local and kvno smtp/efim.test.local. Sorry, I might have not mentioned above. I run Mozilla Thunderbird on my Windows XP workstation. Can you do kinit -k imap/imap/efim.test.lo...@romashka.lan and then klist, does it work for you? I do recommend tcpdump kerberos traffic between your client and server, this is usually helps me much better then any logging, flow easy to read in wireshark.
Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab
On 30.08.2011 9:24, Stanislav Klinkov wrote: Your principial in keytab should look like this - imap/mail.example@example.com Make sure your realm name are all CAPS, otherwise it won't work. Thank you, Captain Obvious. Why such hostility? A lot people miss that, nothing special here. And I did answer your second question about how principal should looks like. Because mech-gssapi.c wasn't changed in years, so I doubt anything changed in 2.0 version compare to 1.2 series in GSSAPI. Maybe I wrong, not running yet 2.0. Make sure your client requesting correct principal in first place. "Wrong principal in request", Usually means the principal in the system keytab for your system doesn't agree with the hostname or DNS name of the system.
Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab
On 29.08.2011 17:39, Stanislav Klinkov wrote: So, according to source code, Dovecot tries to find in krb5.keytab a principal named "imap@hostname". However wiki says to create the principal named "imap/hostname@REALM". Please, clarify where is the error: in source code, in wiki, or I have misunderstood something. Your principial in keytab should look like this - imap/mail.example@example.com Make sure your realm name are all CAPS, otherwise it won't work.
Re: [Dovecot] LIST-EXTENDED support?
On 22.06.2011 4:55, fusionstream wrote: Hi there. Can I check if LIST-EXTENDED refers to RFC 6154 (http://tools.ietf.org/html/rfc6154), rfc for special use mailboxes. I'd like to specify a designated folder as \Spam and etc. Googling "dovecot list-extended" and "dovecot special use" suggests that dovecot supports this feature (via patch logs and 1 bug report for Mozilla Thunderbird which suggests that dovecot supports this). However when trying to test this feature via thunderbird, it would seem to suggest that it is not currently possible. (Moving folders that Thunderbird has created forces thunderbird to recreate said folder in it's original location) # dovecot --version 1.2.17 Any help/pointers appreciated. Cheers. You misunderstanding RFC6154, LIST-EXTENDED is RFC5258, while RFC6154 is SPECIAL-USE extension.
Re: [Dovecot] ID RFC2971 stored anywhere when client announced it?
On 16.05.2011 17:00, Timo Sirainen wrote: On Fri, 2011-05-13 at 21:43 +0400, Nikolay Shopik wrote: Does dovecot store RFC2971 information supplied by client, anywhere? To log, if you've configured imap_id_log setting. Is this proper output or bug? ID sent: name=Thunderbird, Thunderbird=version, version=3.3a4pre This is outputs after these IMAP commands 3 ID ("name" "Thunderbird" "version" "3.3a4pre") * ID NIL 3 OK ID completed. I think it should just output this ID sent: name=Thunderbird, version=3.3a4pre I'm on 1.2.16
[Dovecot] ID RFC2971 stored anywhere when client announced it?
Does dovecot store RFC2971 information supplied by client, anywhere?
Re: [Dovecot] IMAP move extension support
On 12.03.2011 2:41, Timo Sirainen wrote: On 11.3.2011, at 23.25, Nikolay Shopik wrote: Any chance we could get IMAP move extension support in Dovecot? http://tools.ietf.org/html/draft-krecicki-imap-move-01 Little chance at the moment. It's not easy. It's actually very difficult. I would want to create "doveadm move" command, but I think I'll just make that to be a copy+expunge as well. Timo, Forgot to ask, will be "copy+expunge" actually atomic operation? This is currently problem with copy+expunge from email client at least.
[Dovecot] IMAP move extension support
Hi Timo, Any chance we could get IMAP move extension support in Dovecot? http://tools.ietf.org/html/draft-krecicki-imap-move-01 This is now landed in Thunderbird trunk, so it will be great to have server to test and use with :). Thanks
Re: [Dovecot] Thunderbird doesn't popup on new mail
On 27.01.2011 9:54, Adrian Stoica wrote: I have a question : i've upgrade dovecot from 1.1.4 to 2.0.9 and everything is fine except thunderbird clients , that no longer show a popup when new mail arrives. Anyone know why ? This could be bug https://bugzilla.mozilla.org/show_bug.cgi?id=627333
Re: [Dovecot] Iphone IMAP access
On 26.01.2011 16:01, Stephan Bosch wrote: Op 26-1-2011 13:25, Eduardo M KALINOWSKI schreef: On Qua, 26 Jan 2011, Frank Bonnet wrote: When I use my iphone to access my IMAP folders I can see ALL folders in my userland and not only those listed in .subscriptions file ... Anyone has an explaination of this ? Might be a security/confidentiality hole isn't it ? I don't own an iPhone, but I remember reading that that's the way it is. You can complain to Apple. If you are lucky, you might get a rude response from Steve Jobs himself. Oh yeah, I remembered something about that on the imap-protocol mailing list. Here it is: http://mailman2.u.washington.edu/pipermail/imap-protocol/2010-October/001294.html The attached mail from mr. Jobs (there is a url at the bottom) is what you want to look at. Regards, Stephan. Yeah there even research from Nokia about power consumption http://research.nokia.com/files/tr/NRC-TR-2008-002.pdf
Re: [Dovecot] SASL EXTERNAL docs?
On 28.06.2010 13:01, Patrick Ben Koetter wrote: The wiki says Dovecot supports SASL EXTERNAL as of version 1.2. I couldn't find any documentation telling me how I would configure SASL EXTERNAL. Is there any? p...@rick Hi Patrick, You may search in archive of this list, there few mails how to do it, while they complete it give you idea how to do it.
Re: [Dovecot] dovecot vs. Thunderbird
On 16.06.2010 22:16, Charles Marcus wrote: On 2010-06-16 1:22 PM, Ed W wrote: Someone further up the thread says that this is working with Dovecot 2 though? What is different about what D2 is doing vs 1.2.11? I dunno - all I do know is Timo said there was a TB bug, and I tend to take his word for it. One thing though - if the OP isn't testing with TB 3.1rc2, he should be - it has fixed a *lot* of minor bugs and irritations, although of course it also introduces a new headache (they converted the Quickfilter search box to a huge toolbar - ugh!)... There was bug filled for Thunderbird already, for this kind of problem when user can't see below some level. Just can't find it from top of my mind.
Re: [Dovecot] draft-ietf-morg-list-specialuse-01 - IMAP LIST extension for special-use mailboxes
On 01.06.2010 23:23, Timo Sirainen wrote: On to, 2010-05-20 at 15:48 +0400, Nikolay Shopik wrote: On 20.05.2010 15:41, Timo Sirainen wrote: list_specialuse = \Trash:Trash "\Sent:Sent Messages" etc. Quoting is annoying. Hmm, maybe use predefined order of folders? In this case quoting will be used where it necessary list_sepcialuse = Inbox,Drafts,"Sent Messages",etc Quoting is still annoying to handle. Probably best to implement this without a plugin and then you can use: list-specialuse { trash = Trash sent = Sent Messages .. } I've yet to decide how we handle if client choice to make another folder for Trash for example, should we lock for specific folders and not allow client to use command CREATE. Probably add another option like list-specialuse-lock = yes. But I prefer way of "defaulting" to some predefined folders and if admin choice to use list-specialuse{} to change this default dovecot will not allow client to change it.
Re: [Dovecot] draft-ietf-morg-list-specialuse-01 - IMAP LIST extension for special-use mailboxes
On 20.05.2010 15:41, Timo Sirainen wrote: list_specialuse = \Trash:Trash "\Sent:Sent Messages" etc. Quoting is annoying. Hmm, maybe use predefined order of folders? In this case quoting will be used where it necessary list_sepcialuse = Inbox,Drafts,"Sent Messages",etc
Re: [Dovecot] draft-ietf-morg-list-specialuse-01 - IMAP LIST extension for special-use mailboxes
On 20.05.2010 14:40, Timo Sirainen wrote: On 20.5.2010, at 12.11, Nikolay Shopik wrote: I don't think this really need per-user option. This is basically "system folders" and MUA will decide on their local names. Combining with autocreate plugin seems reasonable. Autocreate plugin would be useful only if it was a per-user option. Then it could create some kind of a file into the created mailbox. If it was a global option .. could it be just something as simple as list_specialuse = \Trash:Trash "\Sent:Sent Messages" etc. or list_specialuse_trash = Trash list_specialuse_sent = Sent etc. I don't really like either of them.. What's wrong with these examples for global option, second one looks good for me.
Re: [Dovecot] draft-ietf-morg-list-specialuse-01 - IMAP LIST extension for special-use mailboxes
On 20.05.2010 13:55, Timo Sirainen wrote: On 20.5.2010, at 11.10, Nikolay Shopik wrote: What you think about this draft is it good enough to make patch based on it for dovecot? We would like to see this functionality in 2.0 dovecot release but it's not clear when this draft become standards track. Will you accept patch based on drafts? Have you read the discussion about it in morg list? I don't remember what the last conclusions were :) Anyway I'd probably accept patch to Dovecot, but maybe not yet advertise supporting SPECIAL-USE in capability. But the main thing I'm not sure about is where should the flag information be stored? Should it even be per-user option? If yes, should it maybe be combined with autocreate plugin? Yeah advertise SPECIAL-USE before IANA registred keyword isn't good thing. I don't think this really need per-user option. This is basically "system folders" and MUA will decide on their local names. Combining with autocreate plugin seems reasonable.
[Dovecot] OT: IMAP IDLE, Virtual mailboxes
On 15.04.2010 7:03, Daniel I. Applebaum wrote: Patrick Nagel wrote: One of the core developers of K-9 Mail says: "I've been interested in implementing IMAP NOTIFY in K-9 Mail, but will only do it once dovecot supports it." Yeah, that was me. :-) I use dovecot as the reference server for all my work on K-9 Mail, and can't think of how to develop the client side support for IMAP NOTIFY until I have a server to support it. However, I'd consider starting on it if I knew that dovecot would soon have the support, as well. Dan. Hi Dan, Thanks for K-9! If you don't mind can I ask you little off topic question feel free answer privatly. Does android advertise to app when network goes down(GSM our of range). If it so, when network goes up(like interface goes up?), do you establish new TCP connection to maintain IDLE? Or just purely rely on timeouts in connection? Thanks
Re: [Dovecot] IMAP IDLE, Virtual mailboxes
On 10.04.2010 11:13, Patrick Nagel wrote: "The client can also request notifications on other mailboxes by name or by a limited mailbox pattern match. Message-related notifications returned for the currently selected mailbox will be those specified by the SELECTED/SELECTED-DELAYED mailbox specifier, even if the selected mailbox also appears by name (or matches a pattern) in the command." I assume this only apply if all these mailboxes are on same server.
Re: [Dovecot] IMAP IDLE, Virtual mailboxes
On 09.04.2010 11:19, Patrick Nagel wrote: That's great news, thanks for the pointer!:) Inhttp://dovecot.org/list/dovecot/2009-August/041950.html Timo says that IMAP NOTIFY is not yet supported by Dovecot - has this changed? If not, is there a plan to implement IMAP NOTIFY? Patrick. Keep in mind it still need at least one connection per mailbox if I correctly understood RFC. Also I don't know any client supporting IMAP NOTIFY yet.
Re: [Dovecot] IMAP IDLE, Virtual mailboxes
On 09.04.2010 10:31, Patrick Nagel wrote: 1) A new extension of the IMAP protocol: IMAP MULTI-IDLE, which somehow allows a client to get notified of changes to more than one mailbox within one IMAP connection. This conflicts with the basic IMAP design though, AFAIK, and is thus not likely to be feasible. That's RFC5465 IMAP NOTIFY Extension you are talking about and already standards track.
Re: [Dovecot] Clients to manage ACL
On 07.04.2010 15:13, Charles Marcus wrote: On 2010-04-07 2:34 AM, Nikolay Shopik wrote: is there any list with clients which support setting ACL on imap-mailboxes? Up to now, a only know about KMail and imapACLM. Thunderbird will soon support that, patch already in review queue now. Hi Nikolay, Do you know if it will make it into 3.1? Hi Charles, Don't take my word on that but from what I see it should make it into 3.1. In reality this depends on when MoMo decide to release 3.1 and I highly doubt this happens in summer 2010, final release probably be ready at fall. Minus few months for release candidates and you've got feature freeze date.
Re: [Dovecot] Clients to manage ACL
On 06.04.2010 9:52, Martin Ott wrote: Hi, is there any list with clients which support setting ACL on imap-mailboxes? Up to now, a only know about KMail and imapACLM. Thanks, Martin Thunderbird will soon support that, patch already in review queue now.
Re: [Dovecot] wish now I'd not upgraded...
On 15.02.2010 17:14, Stan Hoeppner wrote: Upgraded from Debian Dovecot 1.0.15 to Debian Dovecot 1.2.10-1~bpo50+1. I use Postfix local delivery to and Dovecot mbox. As per upgrade directions, I stopped dovecot processes and deleted all dovecot.index.cache files in /home/%user/mail/.imap. Performed upgrade to 1.2.10-1~bpo50+1. Modified new dovecot.conf for my environment. Started dovecot. Problem: Instantly noticed in TB 3.0.1 Win32 that all emails in all folders were marked as unread. Stopped TB, stopped dovecot, deleted *all* files in /home/%user/mail/imap/ so indexes and caches could be rebuilt from scratch. Started dovecot, started TB. Same problem. Then I got ugly, stopped TB and dovecot, deleted all ~.imap/ files *and* deleted *all* TB cache and index files with a time stamp of today. Restarted dovecot, restarted TB. Same damn problem. I sit hit right clicking folder after folder and selecting "mark as read", only to see all the emails in the folder go "read" and then within seconds go back to marked as unread (bold). Opening messages one at a time and moving to the next doesn't even keep them marked as read. WTF is going on? Why won't they stay marked as read? I've got over 25,000 emails in these folders and I get a few hundred list mails a day. I really need to get this read/unread business straightened out. What the heck am I missing? Is this a bug in the Debian backport? Good thing I have no hair or I'd have pulled half of it out by now... It's bug in TB 3.0 with CONDSTORE capability, it's fixed for next version 3.0.2. You can disable it in prefs mail.server.default.use_condstore = false untill 3.0.2 released
Re: [Dovecot] upgrade 1.0.15-2.3+lenny1 to 1.2.9-1~bpo50+1
On 11.02.2010 5:11, Stan Hoeppner wrote: System: Debian 5.0.4 Lenny Kernel: custom 2.6.31.1 built from kernel.org source Dovecot:1.0.15-2.3+lenny1 Available: 1.2.9-1~bpo50+1 Mailbox format: mbox Storage location: /home/$user/mail/ on ext2 fs Delivery: Postfix 2.5.5 local to /var/mail/$user As you can see Debian has a backport package of Dovecot 1.2.9 available to Lenny users, and it appears it is a big jump forward in terms of elapsed time and codebase. Debian ships Dovecot in a collection of 6 packages. I currently only use two, dovecot-common and dovecot-imapd. I'm guessing it would probably be wise to shutdown all my current Dovecot processes before starting the upgrade. Before I do this upgrade I figured I'd ask first to see if there are any gotchas or explosions awaiting me. Any warnings, hints, pointers anyone? Timo? Thanks. Only these http://wiki.dovecot.org/Upgrading/1.1 http://wiki.dovecot.org/Upgrading/1.2
Re: [Dovecot] check password on behalf of user
On 09.02.2010 21:14, Timo Sirainen wrote: On Tue, 2010-02-09 at 21:12 +0300, Nikolay Shopik wrote: On 09.02.2010 21:10, Timo Sirainen wrote: On Tue, 2010-02-09 at 20:47 +0300, Nikolay Shopik wrote: I'm running KDC with all users and passwords, but have to manage clients who doesn't support GSSAPI like mobile phones. Is it possible to dovecot SASL check password in KDC when user sends plain text login? I know this is possible to do with saslauthd from Cyrus but prefer to stick with dovecot SASL. Not directly, but how about pam_krb5? But this won't work if I have virtual users, right? I guess it depends on if pam_krb5 tries to use NSS. If it doesn't, I don't see why it couldn't work. Sounds promising, could you point me to any example or documentation how to accomplish this?
Re: [Dovecot] check password on behalf of user
On 09.02.2010 21:10, Timo Sirainen wrote: On Tue, 2010-02-09 at 20:47 +0300, Nikolay Shopik wrote: I'm running KDC with all users and passwords, but have to manage clients who doesn't support GSSAPI like mobile phones. Is it possible to dovecot SASL check password in KDC when user sends plain text login? I know this is possible to do with saslauthd from Cyrus but prefer to stick with dovecot SASL. Not directly, but how about pam_krb5? But this won't work if I have virtual users, right?
[Dovecot] check password on behalf of user
I'm running KDC with all users and passwords, but have to manage clients who doesn't support GSSAPI like mobile phones. Is it possible to dovecot SASL check password in KDC when user sends plain text login? I know this is possible to do with saslauthd from Cyrus but prefer to stick with dovecot SASL.
Re: [Dovecot] Kerberos Cross-Real username
On 15.12.2009 22:09, Timo Sirainen wrote: On Tue, 2009-12-15 at 22:01 +0300, Nikolay Shopik wrote: I don't know much about Kerberos, but in v1.2 there are several changes to cross-realm auth that should make it work better. Are you using v1.2? Hello Timo, For now I'm on 1.0.15 but plan migrate to 1.2.8 very soon. I believe you are talking about auth_default_realm, auth_realms parameters in dovecot.conf? No, GSSAPI doesn't use those settings. I'm just talking about some internal non-configurable code changes that apparently have helped several people to get cross-realm auth working. Upgraded to 1.2.8 and find out problem lies actually in client app(Thunderbird) not in Dovecot. It basically sends only user principal.
Re: [Dovecot] Kerberos Cross-Real username
On 15.12.2009 21:58, Timo Sirainen wrote: On Tue, 2009-12-15 at 14:37 +0300, Nikolay Shopik wrote: Is anyone is running Dovecot with Kerberos and tried to authenticate user from different REALM and have same user principal with default domain. Currently Dovecot only logs user principal w/o REALM. So before I go in production maybe somebody already run into this using Dovecot? If not I just create virtual machines and see how it behaves. I don't know much about Kerberos, but in v1.2 there are several changes to cross-realm auth that should make it work better. Are you using v1.2? Hello Timo, For now I'm on 1.0.15 but plan migrate to 1.2.8 very soon. I believe you are talking about auth_default_realm, auth_realms parameters in dovecot.conf?
[Dovecot] Kerberos Cross-Real username
Hi List, Is anyone is running Dovecot with Kerberos and tried to authenticate user from different REALM and have same user principal with default domain. Currently Dovecot only logs user principal w/o REALM. So before I go in production maybe somebody already run into this using Dovecot? If not I just create virtual machines and see how it behaves.
Re: [Dovecot] plugin cmusieve not found
On 17.11.2009 18:41, juan carlos wrote: I have debian lenny and dovecot 1.2.4 and a problem with the plugin cmusieve. protocol lda { postmaster_address = postmas...@cablenet.com.pe mail_plugins = cmusieve quota log_path = /var/log/dovecot-deliver.log info_log_path = /var/log/dovecot-deliver.log } the log /var/log/dovecot-deliver.log shows me the following Fatal: Plugin cmusieve not found from directory /usr/lib/dovecot/modules/lda When I list the directory /usr/lib/dovecot/modules/lda, it was not found the cmusieve plugin. Where can i get it? # ls -l /usr/lib/dovecot/modules/lda lrwxrwxrwx 1 root root 22 nov 12 21:20 lib01_acl_plugin.so lrwxrwxrwx 1 root root 24 nov 12 21:20 lib10_quota_plugin.so lrwxrwxrwx 1 root root 24 nov 12 21:20 lib11_trash_plugin.so lrwxrwxrwx 1 root root 29 nov 12 21:20 lib20_autocreate_plugin.so lrwxrwxrwx 1 root root 26 nov 12 21:20 lib20_convert_plugin.so lrwxrwxrwx 1 root root 25 nov 12 21:20 lib20_expire_plugin.so lrwxrwxrwx 1 root root 22 nov 12 21:20 lib20_fts_plugin.so lrwxrwxrwx 1 root root 29 nov 12 21:20 lib20_listescape_plugin.so lrwxrwxrwx 1 root root 27 nov 12 21:20 lib20_mail_log_plugin.so lrwxrwxrwx 1 root root 26 nov 12 21:20 lib20_virtual_plugin.so lrwxrwxrwx 1 root root 28 nov 12 21:20 lib21_fts_squat_plugin.so -rw-r--r-- 1 root root 3663976 nov 15 23:04 lib90_sieve_plugin.a -rwxr-xr-x 1 root root1029 nov 15 23:04 lib90_sieve_plugin.la -rwxr-xr-x 1 root root 1777465 nov 15 23:04 lib90_sieve_plugin.so Version 1.2 and higher use new plugin named sieve http://wiki.dovecot.org/LDA/Sieve
Re: [Dovecot] v2.0.alpha1 released
On 14.10.2009 2:30, Ed W wrote: Actually, here's the original Nokia paper - just reading it now, seems quite interesting: http://research.nokia.com/files/NRCTR2008002.pdf I wonder whats difference between WM phones which connects to Exchange servers using same TCP socket via HTTP(S) and push messages while doing seems fine for battery life.
Re: [Dovecot] windows imap clients
On 21.09.2009 8:07, Charles Sprickman wrote: They've been using Thunderbird for some time and I'm finding the following issues there: -searches across 2GB+ of mail are painfully slow, since it's all server-side TB3 does solve this problem with gloda, which index everything locally. -while the inbox is checked regularly and automatically, other folders are not unless the user manually checks them. getting tbird to do this involves a fairly non-intuitive process, and there's also the issue of making sure everyone actually adds the folders they need to watch TB3 by default doing this if I not mistaken. (I've changed lot things in my config when was on 2.0) -the client does not deal well with large amounts of mail in general - some operations give no feedback, like expanding large sub-folders or doing large copy/move operations. Activity manager in TB3 should help. app and starting the whole process again. dovecot deals with this more gracefully than the old server (Courier), but it's still an issue -offline operation would be handy sometimes, but tbird has no "hybrid" mode, and again, one must select every folder for offline access TB3 have offline mode enabled by default. What is hybrid mode?
[Dovecot] Sieve not fast enough after upgrade?
I've upgraded mine Dovecot 1.0.15 to 1.2.4 also moved to new Sieve. I have simple sieve rule: if header :contains "Delivered-To" ["b...@bcc.inblock.ru"] { setflag "\\Seen"; } It basically mark my own messages which are saved to Sent folder. When I was on 1.0.15 I never seen unread count in Thunderbird, but suddenly after upgrade I seen unread message in Sent folder just after I've sent message. If I open Sent folder it already marked as read. Me wonder if this is actually Dovecot much faster delivers and reports to MUA there is new unread message or Sieve not perform fast enough?
Re: [Dovecot] can't deliver with Kerberos username
On 16.08.2009 11:11, Timo Sirainen wrote: On Aug 16, 2009, at 2:57 AM, Nikolay Shopik wrote: passdb: driver: passwd-file args: /etc/dovecot/passwd What do the usernames look like in this file? Set auth_debug=yes, what does deliver log then? Usernames are with domain - sho...@inblock.ru{plain}password in file 15:34:31 Info: auth(default): client out: OK 1 user=nshopik OK, so in Kerberos your usernames don't have @domain, but in passwd-file they do. There are only two possible solutions: a) Remove @domain from passwd-file (or maybe create with and without @domain) b) Add @domain to kerberos usernames. I don't know much about Kerberos, so I've no idea what would be the proper way to solve this. A) This means I have to keep file with all username which are exist in Kerberos realm? This is little confusing because http://wiki.dovecot.org/Authentication/Kerberos says I may not have passdb at all. Also I don't wanna any password to be keeped for Kerberos users here.
Re: [Dovecot] can't deliver with Kerberos username
On 16.08.2009 4:29, Timo Sirainen wrote: On Fri, 2009-08-14 at 22:06 +0400, Nikolay Shopik wrote: I've been trying to use Kerberos and PLAIN text file for authentication. I've setup deliver in postfix master.cf and make sure correct username are expanded but deliver is always told me "user unknown". I can logon into mailbox using Kerberos w/o problems and can send emails. Looks like Dovecot lookup up passwd files and not finding users which are in Kerberos realm. passdb: driver: passwd-file args: /etc/dovecot/passwd What do the usernames look like in this file? Set auth_debug=yes, what does deliver log then? Usernames are with domain - sho...@inblock.ru{plain}password in file 15:34:31 Info: auth(default): client in: AUTH 1 GSSAPI service=IMAPlip=10.0.1.4rip=1.1.107.157 15:34:31 Info: auth(default): gssapi(?,81.195.107.157): Obtaining credentials for i...@pluto 15:34:31 Info: auth(default): client out: CONT 1 15:34:31 Info: auth(default): client in: CONT 15:34:31 Info: auth(default): gssapi(?,1.1.107.157): security context state completed. 15:34:31 Info: auth(default): client out: CONT 1 YIGCBgkqhkiG9xIBAgICAG9zMHGgAwIBBaEDAgEPomUwY6ADAgEXolwEWopE+RgkXAoy3StiEWS/b8J7060TbA+lNUzuY6tRtf3/cCPPbsnmaBbU8k2dlQ6MtNqL8XikW3tt25AK58x6yYKs6SH3ldkTlIBW36tJMplbdWgQqTSpY3ra6Q== 15:34:31 Info: auth(default): client in: CONT 15:34:31 Info: auth(default): gssapi(?,1.1.107.157): Negotiated security layer 15:34:31 Info: auth(default): client out: CONT 1 YDAGCSqGSIb3EgECAgIBEQD/LPILd/RXG1o5TsKWu3XbHKx0vgAAAf///wE= 15:34:31 Info: auth(default): client in: CONT 15:34:31 Info: auth(default): client out: OK1 user=nshopik 15:34:31 Info: auth(default): master in: REQUEST4 25904 1 15:34:31 Info: auth(default): master out: USER 4 nshopik uid=1001 gid=1001home=/var/mail/store/nshopik 15:34:31 Info: imap-login: Login: user=, method=GSSAPI, rip=1.1.107.157, lip=10.0.1.4 15:34:31 Info: auth(default): new auth connection: pid=25910
Re: [Dovecot] can't deliver with Kerberos username
On 14.08.2009 23:15, Charles Marcus wrote: On 8/14/2009, Nikolay Shopik (sho...@inblock.ru) wrote: I've been trying to use Kerberos and PLAIN text file for authentication. I've setup deliver in postfix master.cf and make sure correct username are expanded but deliver is always told me "user unknown". It is best to provide full logs, instead of trying to paraphrase or interprewhat they are saying... /etc/postfix/master.cf copy2sent unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${sasl_username} -m Sent pluto postfix/pipe[1693]: dict_eval: const /usr/lib/dovecot/deliver pluto postfix/pipe[1693]: dict_eval: const -d pluto postfix/pipe[1693]: dict_eval: expand ${sasl_username} -> nshopik pluto postfix/pipe[1693]: dict_eval: const -m pluto postfix/pipe[1693]: dict_eval: const Sent pluto postfix/pipe[1693]: 5609D1ADC002: to=, relay=copy2sent, delay=0.04, delays=0.03/0/0/0.01, dsn=5.1.1, status=bounced (user unknown) # 1.0.15: /etc/dovecot/dovecot.conf This is old... updating to latest stable (1.2.3) might fix your problem. Sure, but if its not broke didn't try to fix it :) It works for me like charm and its in debian latest stable.
[Dovecot] can't deliver with Kerberos username
I've been trying to use Kerberos and PLAIN text file for authentication. I've setup deliver in postfix master.cf and make sure correct username are expanded but deliver is always told me "user unknown". I can logon into mailbox using Kerberos w/o problems and can send emails. Looks like Dovecot lookup up passwd files and not finding users which are in Kerberos realm. # 1.0.15: /etc/dovecot/dovecot.conf log_path: /var/log/dovecot.log protocols: imap ssl_cert_file: /etc/postfix/new_chained.crt ssl_key_file: /etc/postfix/mail.pem login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login login_greeting_capability: yes mail_location: maildir:/var/mail/store/%u dotlock_use_excl: yes maildir_copy_with_hardlinks: yes auth default: mechanisms: PLAIN CRAM-MD5 GSSAPI passdb: driver: passwd-file args: /etc/dovecot/passwd userdb: driver: static args: uid=vmail gid=vmail home=/var/mail/store/%u socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 438 user: root group: root plugin: sieve: /var/mail/store/%u/sieve
Re: [Dovecot] %u variable to expand kerberos realm
On 04.08.2009 19:50, Timo Sirainen wrote: On Aug 4, 2009, at 7:37 AM, Nikolay Shopik wrote: On 03.08.2009 7:52, Timo Sirainen wrote: On Wed, 2009-07-29 at 20:35 +0400, Nikolay Shopik wrote: Hi Timo, Does this intended %u isn't expanding REALM name, so I've only see user names. I don't know. What Dovecot version? What does it log with auth_debug=yes? 1.0.15 Oh, I don't know about that. But I did do some changes to v1.2 and made it log more. I'll move to 1.2.x soon, and if problem still there I'll bring log here again with auth_debug=yes. Now will just make links to correct dir.
Re: [Dovecot] %u variable to expand kerberos realm
On 03.08.2009 7:52, Timo Sirainen wrote: On Wed, 2009-07-29 at 20:35 +0400, Nikolay Shopik wrote: Hi Timo, Does this intended %u isn't expanding REALM name, so I've only see user names. I don't know. What Dovecot version? What does it log with auth_debug=yes? 1.0.15 15:34:31 Info: auth(default): client in: AUTH 1 GSSAPI service=IMAPlip=10.0.1.4rip=81.195.107.157 15:34:31 Info: auth(default): gssapi(?,81.195.107.157): Obtaining credentials for i...@pluto 15:34:31 Info: auth(default): client out: CONT 1 15:34:31 Info: auth(default): client in: CONT 15:34:31 Info: auth(default): gssapi(?,1.1.107.157): security context state completed. 15:34:31 Info: auth(default): client out: CONT 1 YIGCBgkqhkiG9xIBAgICAG9zMHGgAwIBBaEDAgEPomUwY6ADAgEXolwEWopE+RgkXAoy3StiEWS/b8J7060TbA+lNUzuY6tRtf3/cCPPbsnmaBbU8k2dlQ6MtNqL8XikW3tt25AK58x6yYKs6SH3ldkTlIBW36tJMplbdWgQqTSpY3ra6Q== 15:34:31 Info: auth(default): client in: CONT 15:34:31 Info: auth(default): gssapi(?,1.1.107.157): Negotiated security layer 15:34:31 Info: auth(default): client out: CONT 1 YDAGCSqGSIb3EgECAgIBEQD/LPILd/RXG1o5TsKWu3XbHKx0vgAAAf///wE= 15:34:31 Info: auth(default): client in: CONT 15:34:31 Info: auth(default): client out: OK1 user=nshopik 15:34:31 Info: auth(default): master in: REQUEST4 25904 1 15:34:31 Info: auth(default): master out: USER 4 nshopik uid=1001 gid=1001home=/var/mail/store/nshopik 15:34:31 Info: imap-login: Login: user=, method=GSSAPI, rip=1.1.107.157, lip=10.0.1.4 15:34:31 Info: auth(default): new auth connection: pid=25910
[Dovecot] %u variable to expand kerberos realm
Hi Timo, Does this intended %u isn't expanding REALM name, so I've only see user names.
Re: [Dovecot] authn_name and authz_name differ: not supported
On 29.07.2009 18:14, Nikolay Shopik wrote: Hello, I'm trying to authenticate using GSSAPI, but getting this in dovecot.log "authn_name and authz_name differ: not supported". What is actually trying to say me? I've remeber once encounter this problem but it get away silently. I'm using Mozilla Thunderbird 3 beta 3 and Dovecot 1.0.15 Problem was in username used in Thunderbird, it MUST be w/o real, so I had sho...@inblock.ru, but should be just shopik.
[Dovecot] authn_name and authz_name differ: not supported
Hello, I'm trying to authenticate using GSSAPI, but getting this in dovecot.log "authn_name and authz_name differ: not supported". What is actually trying to say me? I've remeber once encounter this problem but it get away silently. I'm using Mozilla Thunderbird 3 beta 3 and Dovecot 1.0.15
Re: [Dovecot] dovecot 1.2rc5 fails to authenticate user via GSSAPI
On 18.07.2009 3:47, Timo Sirainen wrote: On Fri, 2009-07-17 at 19:33 -0400, Timo Sirainen wrote: One thing I'm not really sure about in Kerberos is, does both MIT and Heimdal require that you are using system users and to have NSS set up in a way that Kerberos code can look up users with getpw*() functions? Ah, looking at the original mail it uses userdb static. So this getpw*() stuff is clearly the problem here. I'll talk to the Heimdal guy more :) Feel free to post this on comp.protocols.kerberos, to make sure you cover every aspect of work with both MIT and Heimdal.
Re: [Dovecot] user unknown with deliver
On 16.07.2009 16:35, Nikolay Shopik wrote: I'm getting user unknown when trying to deliver to Sent folder messages. My master.cf part is: copy2sent unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${sasl_username} -m Sent But it still won't work. I'm running 1.0.15 pluto postfix/pipe[30934]: 7470890C4DA: to=, relay=copy2sent, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (user unknown) Find root cause, problem was in proxy_filter (amavisd-new), which injected between smtp and deliver.
Re: [Dovecot] user unknown with deliver
On 16.07.2009 18:11, Rainer Frey wrote: Are the failing users actually authenticated, or maybe permitted by mynetworks? in this case ${sasl_username} would be empty. Other thought: how is the transport used? Perhaps postfix needs a valid recipient map for the delivery to this transport. They are because I seen such records when user sends an email sasl_method=CRAM-MD5, sasl_username=sho...@inblock.ru Transport is simple file: bcc.inblock.ru copy2sent I'm doing blind carbon copy to b...@bcc.inblock.ru, this is how copy2sent invoked. Probably you are right, will go ahead and ask in postfix mailing list.
Re: [Dovecot] user unknown with deliver
Charles Marcus wrote: On 7/16/2009 9:38 AM, Nikolay Shopik wrote: I'm using GMAIL style saving sent items automatically, so email don't send twice to server. First when sending via smtp, second when MUA saving it to IMAP sent folder. Hmmm... interesting idea... Are you having trouble with a working config after an upgrade? Or are you still in the process of trying to get it to work? Well its working if email address and authentication name are same and I use such command line: flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${sender} -m Sent I can't say its Dovecot problem, I'm just curious if that problem of Dovecot or I should post this to Postfix mailing list. Care to share your configs (bothe dovecot and postfix sides) to make this work after *sending* an email? Since LDA is generally not invoked for sending/outbound, I'm curious how you invoke it? Nothing fancy. # 1.0.15: /etc/dovecot/dovecot.conf log_path: /var/log/dovecot.log protocols: imap ssl_ca_file: /etc/postfix/ca.crt ssl_cert_file: /etc/postfix/chained.pem ssl_key_file: /etc/postfix/mail.inblock.ru.key login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login login_greeting_capability: yes mail_location: maildir:/var/mail/store/%u dotlock_use_excl: yes maildir_copy_with_hardlinks: yes namespace: type: public separator: / prefix: Pub/ location: maildir:/var/mail/public namespace: type: private separator: / inbox: yes auth default: mechanisms: PLAIN CRAM-MD5 passdb: driver: passwd-file args: /etc/dovecot/passwd userdb: driver: static args: uid=vmail gid=vmail home=/var/mail/store/%u socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 438 user: root group: root postfix master.cf smtp inet n - - - - smtpd submission inet n - - - - smtpd # -o smtpd_enforce_tls=yes # -o smtpd_sasl_auth_enable=yes -o sender_bcc_maps=hash:/etc/postfix/sender_bcc -o smtpd_client_restrictions=permit_sasl_authenticated,reject #smtps inet n - - - - smtpd # -o smtpd_tls_wrappermode=yes # -o smtpd_sasl_auth_enable=yes # -o smtpd_client_restrictions=permit_sasl_authenticated,reject #628 inet n - - - - qmqpd dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient} dov_loc unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -m Pub/${mailbox} copy2sent unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${sender} -m Sent pickupfifo n - - 60 1 pickup cleanup unix n - - - 0 cleanup qmgr fifo n - n 300 1 qmgr #qmgr fifo n - - 300 1 oqmgr tlsmgrunix - - - 1000? 1 tlsmgr rewrite unix - - - - - trivial-rewrite bounceunix - - - - 0 bounce defer unix - - - - 0 bounce trace unix - - - - 0 bounce verifyunix - - - - 1 verify flush unix n - - 1000? 0 flush proxymap unix - - n - - proxymap smtp unix - - - - - smtp # When relaying mail as backup MX, disable fallback_relay to avoid MX loops relay unix - - - - - smtp -o smtp_fallback_relay= # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - - - - showq error unix - - - - - error retry unix - - - - - error discard unix - - - - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - - - - lmtp anvil unix - - - - 1 anvil scacheunix - - - - 1 scache postfix main.cf - is kinda huge share only dovecot related part transport_maps = hash:/etc/postfix/transport smtpd_sasl_auth_enable = yes smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_authenticated_header = yes dovecot_destination_recipient_limit = 1 virtual_transport = dovecot virtual_mailbox_domains = inblock.ru virtual_mailbox_maps = hash:/etc/postfix/vmailbox #copy2sent sender_bcc_maps = hash:/etc/postfix/sender_bcc
Re: [Dovecot] user unknown with deliver
Charles Marcus wrote: On 7/16/2009 9:16 AM, Nikolay Shopik wrote: I'm getting user unknown when trying to deliver to Sent folder messages. ? Why are you delivering to Sent folder? It is the responsibility of the mail Client - not Deliver - to place a copy of sent messages in the Sent folder. I'm using GMAIL style saving sent items automatically, so email don't send twice to server. First when sending via smtp, second when MUA saving it to IMAP sent folder. Hmmm... interesting idea... Are you having trouble with a working config after an upgrade? Or are you still in the process of trying to get it to work? Well its working if email address and authentication name are same and I use such command line: flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${sender} -m Sent I can't say its Dovecot problem, I'm just curious if that problem of Dovecot or I should post this to Postfix mailing list.
Re: [Dovecot] user unknown with deliver
Charles Marcus wrote: On 7/16/2009 8:35 AM, Nikolay Shopik wrote: I'm getting user unknown when trying to deliver to Sent folder messages. ? Why are you delivering to Sent folder? It is the responsibility of the mail Client - not Deliver - to place a copy of sent messages in the Sent folder. I'm using GMAIL style saving sent items automatically, so email don't send twice to server. First when sending via smtp, second when MUA saving it to IMAP sent folder.
[Dovecot] user unknown with deliver
I'm getting user unknown when trying to deliver to Sent folder messages. My master.cf part is: copy2sent unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${sasl_username} -m Sent But it still won't work. I'm running 1.0.15 pluto postfix/pipe[30934]: 7470890C4DA: to=, relay=copy2sent, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (user unknown)
Re: [Dovecot] Possible fix to an old Thunderbird related problem
On 13.07.2009 7:32, Marc Perkel wrote: Nikolay Shopik wrote: On 12.07.2009 20:23, Marc Perkel wrote: I spoke too soon. Thunderbird is still broken. And it's really frustrating. Marc Perkel wrote: I think I might have finally fixed it. The problem was that the max_cached_connections in Thunderbird defaults to 25 and I had login process count set to 10. I think raising it to 25 ill fix it. Just posting this in case others are having this problem. What was happening was that the message counts were increasing but the messages didn't show up in the list. Or messages would appear to be empty. Restarting Dovecot or restarting Thunderbird fixes the problem temporarily. I'm hoping this annoyance will go away now. There a lot things changed in TB3 currently and TB3 beta 3 should land in weeks, give a try. I've remember folder count numbers was on buglist. I've not seeing such issues since beginning of this year (I'm on trunk) So - is it stable enough to use? Generally yes, still backup your profile is good idea. I suggest wait till beta 3, in Jule 21. It _much_ better for IMAP, since TB2 release. Caching was introducing by default for IMAP messages. CONDSTORE also supported by now, which allow even more minimize traffic. RFC 4978 landed just month ago. And that just top of iceberg of changes and bugfixes are done.
Re: [Dovecot] Possible fix to an old Thunderbird related problem
On 12.07.2009 20:23, Marc Perkel wrote: I spoke too soon. Thunderbird is still broken. And it's really frustrating. Marc Perkel wrote: I think I might have finally fixed it. The problem was that the max_cached_connections in Thunderbird defaults to 25 and I had login process count set to 10. I think raising it to 25 ill fix it. Just posting this in case others are having this problem. What was happening was that the message counts were increasing but the messages didn't show up in the list. Or messages would appear to be empty. Restarting Dovecot or restarting Thunderbird fixes the problem temporarily. I'm hoping this annoyance will go away now. There a lot things changed in TB3 currently and TB3 beta 3 should land in weeks, give a try. I've remember folder count numbers was on buglist. I've not seeing such issues since beginning of this year (I'm on trunk)
Re: [Dovecot] Capability COMPRESS implemented?
On 25.06.2009 23:16, Ed W wrote: I really like the look of XLIST - this solves a minor issue which has come up a few times on the list, mainly with naming of Sent vs Sent Items folders. This is something what should be in IMAP since 90s when it was growing up. Still XLIST not even RFC yet, but already solves probably one of biggest downside of IMAP.
Re: [Dovecot] Capability COMPRESS implemented?
On 24.06.2009 2:00, Ed W wrote: Hi, I just read that http://tools.ietf.org/html/rfc4978 ..is being implemented in Thunderbird 3. This is great news! It's been a long time since we last discussed this and I don't think it's currently implemented in Dovecot, but since Cyrus just added it, any chance of getting support in Dovecot please? (Fastmail seems to be supporting this effort) On a similar note we had a previous thread about supporting TLS deflate - any chance you could investigate this again and add support on the Dovecot side so at least it would be feasible to submit a bug fix on the Thunderbird side? (It looked like a one liner change back when we last discussed it?) Thanks Ed W (Obviously for those looking for an external high performance compressor you can use our compressing email proxy from http://www.mailasail.com ...) To make it easy for people search which standards TB is supported I've keep updated wiki page. https://wiki.mozilla.org/MailNews:Supported_IMAP_extensions
[Dovecot] Marking message read after delivering to folder
I've copying messages automatically to sent folder if it sent via our SMTP. Problem is Deliver can't mark message as read on deliver. Does that possible to accomplish using global sieve rule? I'm not familiar with sieve code syntax, know very basics. Also I know there different implementation in Sieve between 1.0, 1.1 and 1.2. Thanks
Re: [Dovecot] Sieve per virtual mailbox
On 10.06.2009 19:02, Joan wrote: Not sure I understand all: I have dovecot-libsieve from Stefan installed (with a script for all virtual mailboxes installed and correctly running) So: I need to install another software on the server side ? which one ? I need to install another software on the client side ? which one ? Sorry for being a bit nut, but clarity is always better Thanks again jm Nikolay Shopik wrote: On 10.06.2009 12:33, Johan 'yosh' Marklund wrote: Nikolay Shopik wrote: On 09.06.2009 13:54, Joan wrote: 2 - how to allow a user to change this script (from Thunderbird or Outlook) Thunderbird have extension allow user to connect via managesieve and edit sieve scripts http://sieve.mozdev.org Though I hope he'll release a more userfriendly version soon, it's not really meant for clueless office drones yet :/ /yosh He is working on it but not very fast. _ONLY_ client currently have good UI for managesieve is Mulberry. Probably if somebody contribute some patches to him, this will happens much earlier. You probably need managesieve patch as well from Stefan to make this work. After that user can connect to server using addon showed here before and edit sieve file on fly. Only problem user have to know syntax.
Re: [Dovecot] Sieve per virtual mailbox
On 10.06.2009 12:33, Johan 'yosh' Marklund wrote: Nikolay Shopik wrote: On 09.06.2009 13:54, Joan wrote: 2 - how to allow a user to change this script (from Thunderbird or Outlook) Thunderbird have extension allow user to connect via managesieve and edit sieve scripts http://sieve.mozdev.org Though I hope he'll release a more userfriendly version soon, it's not really meant for clueless office drones yet :/ /yosh He is working on it but not very fast. _ONLY_ client currently have good UI for managesieve is Mulberry. Probably if somebody contribute some patches to him, this will happens much earlier.
Re: [Dovecot] Sieve per virtual mailbox
On 09.06.2009 13:54, Joan wrote: 2 - how to allow a user to change this script (from Thunderbird or Outlook) Thunderbird have extension allow user to connect via managesieve and edit sieve scripts http://sieve.mozdev.org
[Dovecot] kerberos trying to obtain credentials for wrong machine
Hi, I'm currently trying to configure Dovecot to use kerberos. My KDC is Windows 2003 and I successful generated keytab file for Dovecot machine. Problem is when I'm trying to use GSSAPI it told me Obtaining credentials for i...@debian5 - and of course this fails because debian5 isn't KDC, it should look for imap/debian5.inblock.lo...@inblock.local. What I'm missing?
Re: [Dovecot] new mail server
If you are about to install dovecot http://wiki.dovecot.org/ is good place to start. On 10.04.2008 10:07, Allen Sim wrote: Hi i am a newbie in setting up a mail server.I am using CentOS and complete installed OpenLDAP,pam,dovecot,sendmail & squirrelmail. Now, how should i start to send & receive through the mail server? How should i add a user and try to send & receive mail? I am trying to use Thunderbird...but how should i start? Please advice... thanks
Re: [Dovecot] deliver to namespace using "deliver"
On 19.03.2008 12:45, Nikolay Shopik wrote: On 19.03.2008 8:11, Timo Sirainen wrote: On Tue, 2008-03-18 at 18:40 +0300, Nikolay Shopik wrote: Hi list, I would like to test new functionality in latest 1.1 release, but can't find information on wiki. How can I deliver messages to different namespaces using "deliver"? Using the namespace prefix, just like it works in IMAP. For example if you have: namespace private { location = .. prefix = stuff/ } Then use deliver -m stuff/mailbox Sounds simple, but I'm unsure how do I tell postfix use this command only for some recipients. I'm already have flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient} for delivering to virtual users. Oh yeah, I find it. mailbox_transport = deliver -m stuff/mailbox mailbox_transport_maps = hash:/etc/postfix/namespace_mailboxes
Re: [Dovecot] deliver to namespace using "deliver"
On 19.03.2008 8:11, Timo Sirainen wrote: On Tue, 2008-03-18 at 18:40 +0300, Nikolay Shopik wrote: Hi list, I would like to test new functionality in latest 1.1 release, but can't find information on wiki. How can I deliver messages to different namespaces using "deliver"? Using the namespace prefix, just like it works in IMAP. For example if you have: namespace private { location = .. prefix = stuff/ } Then use deliver -m stuff/mailbox Sounds simple, but I'm unsure how do I tell postfix use this command only for some recipients. I'm already have flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient} for delivering to virtual users.
[Dovecot] deliver to namespace using "deliver"
Hi list, I would like to test new functionality in latest 1.1 release, but can't find information on wiki. How can I deliver messages to different namespaces using "deliver"?
Re: [Dovecot] Postfix, dovecot and sieve - no response from sieve
On 12.02.2008 16:07, Jan van den Berg wrote: Herve probably uses the default Etch package. I don't know who maintains the package: but it certainly is old. Regards, Jan -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Charles Marcus Verzonden: dinsdag 12 februari 2008 13:35 Aan: [EMAIL PROTECTED] CC: dovecot@dovecot.org Onderwerp: Re: [Dovecot] Postfix, dovecot and sieve - no response from sieve On 2/12/2008, Hervé Hénoch ([EMAIL PROTECTED]) wrote: Version : 1.0.rc15 Upgrade... This is very old... We probably should write FAQ for Debian users to upgrade using backports version. I see question with such old version quite often in this mailing list.
Re: [Dovecot] backup strategy
On 04.02.2008 21:12, Jochen Kaechelin wrote: what's the prefered way to backup users mail? i use doevcot shipping with debian/etch an maildir. thanx http://www.mail-archive.com/dovecot@dovecot.org/msg06254.html
Re: [Dovecot] SSL certificate?
On 31.01.2008 1:27, Bjørn T Johansen wrote: When I install an SSL certificate, I can't find a config option to set configure the Server Certificate Chain file... Is this not possible or can I do it another way? (When I connect, I am being told the Signature status is uncheckable...) Regards, BTJ You need put all certificates in one file in correct order. Look for example here http://wiki.dovecot.org/SSL/DovecotConfiguration
Re: [Dovecot] sa learning from an imap spam folder
On 29.01.2008 12:37, Zbigniew Szalbot wrote: Hello, I am sorry if I am writing to a wrong list because honestly I do not know where to write but I would like to be able to set up sa-learn via cron to learn from spam folder of a particular email account (via IMAP). Can anyone share how to do it? Is dovecot involved in it? I am using: Exim 4.69 Dovecot 1.0.10 p5-Mail-SpamAssassin-3.2.1 Thanks a lot for helping. Zbigniew Szalbot Using crontab and correct cli for sa-learn on users spam folders.
Re: [Dovecot] dovecot + antispam + sendmail
On 25.01.2008 16:48, mouss wrote: Nikolay Shopik wrote: I recommend dspam but you have to train it, I usually use spamtraps addresses for such job. That's not good enough :) - you need ham as well - spamtrap as a spam corpus is only ok if the recipient gets similar spam. Sure thing, spamassassin doing this out of box ;), dspam need little more configuration to have ham automatically learned.
Re: [Dovecot] dovecot + antispam + sendmail
On 25.01.2008 5:00, Anil wrote: Spamassassin is perl based, so anything other than that?? I want something that is non perl based. On Jan 24, 2008 4:26 PM, Quentin Chung (KTS) <[EMAIL PROTECTED]> wrote: I suggest greylist and antivirus/antispam in the MTA instead of MDA/MUA... just ensure all will pass through the milter.. e.g. milter-greylist, spamassassin, spamass-milter. clamav/clamd, clamav-milter are all default package u can find in the latest CentOS/Fedora. Implementation.. my new server (CentOS) is setup 2 days ago.. this part used < 30 mins to complete.. perhaps because I play with it before so no problem... Whats a good antispam solution? I am using sendmail and dovecot 1.1. I came across dovecot's antispam plugin, but it seems it does not support 1.1 yet. I am also looking for something non-perl based. I am already doing some greylisting with sendmail milter. Any other good suggestions? If not, I guess I might have to downgrade back to 1.0 dovecot. Thanks I recommend dspam but you have to train it, I usually use spamtraps addresses for such job. I like spamassassin but 95% of it job in my site is bayesian that's why I like dspam too.
Re: [Dovecot] Maildir format, "From " in the first line
On 24.01.2008 16:59, Sébastien Munch wrote: Le Thursday 24 January 2008 14:43:26 Charles Marcus, vous avez écrit : On 1/24/2008, Sébastien Munch ([EMAIL PROTECTED]) wrote: I'm using Dovecot 1.0.rc15 from Debian Etch. Thats an old/buggy version - please update to a release version (1.0.10) The problem is, I'm using the Debian Etch package. 1.0.10 seems to be packaged in backports. Should I use the backports version ? Cordialement Yes you can use backports version, its works just fine!
Re: [Dovecot] [debian] Etch Packages Available for v1.0.10
On 04.01.2008 15:44, Frank Kintrup wrote: Has anyone already made debian packages for one of the 1.1.x releases of Dovecot? Frank Until it reach RC state it probably waste of time. BTW Official backports now 1.0.9
Re: [Dovecot] Automatically subscribe to folder?
On 04.01.2008 0:59, Christian Flothmann wrote: I forgot to add some MUA don't like be subscribed to folders which doesn't exist so you should probably aware of this too in case such MUA used in your environment . Do you have a list of these MUA or do you know if there is a possibility to detect wether the folder exists or not? Well I never pay attention to this because never need such functionality. You can include checks for existing folder in shell script, after creating empty folder Dovecot just generate index next time user try to open it.
Re: [Dovecot] Automatically subscribe to folder?
On 04.01.2008 0:48, Christian Flothmann wrote: You probably can write you own shell script to add folder name in subscription file, because its stored as text. Thanks, I think I will write a shell script which runs periodically and add the folder name to the subscription file. I forgot to add some MUA don't like be subscribed to folders which doesn't exist so you should probably aware of this too in case such MUA used in your environment .
Re: [Dovecot] donations / wishlist
On 30.12.2007 6:49, Timo Sirainen wrote: Since some people don't like Paypal and other people have been telling me for years to create Amazon wishlist, I figured I'd finally do it. http://dovecot.org/donate.html now contains URL to the wishlist. Currently it mostly contains all kinds of TV series DVDs (feel free to laugh at what I watch :), but I also managed to remember a couple of books I wanted. Sweet, usually getting something from this list more pleasant than just money ;)
[Dovecot] global and per-users sieve filters
Hi Timo, I'm curious about such thing, currently if user have their own filter global filter no more take a place. Is this behavior changed in 1.1 or maybe in future? I'm unsure if this is 100 sieve related or more like Dovecot handling so fixing can be easily can done.
Re: [Dovecot] Automatically subscribe to folder?
On 27.12.2007 20:33, Mark Adams wrote: This is entirely client independent. Some clients would see this automatically while others such as outlook will not. As far as I am aware there is no way to push this from server side. Mark. On 25 Dec 2007, at 20:36, "Christian Flothmann" <[EMAIL PROTECTED]> wrote: Hello everybody, i am filtering e-mails using the cmusieve-plugin. A global script filters all mails tagged by SpamAssasin and moves them into the folder Spam: if header :is "X-Spam-Flag" "YES" { fileinto "Spam"; } My problem is that users who did not had a folder Spam until the first time of filtering a spam mail are not automatically subscribed to this new created folder. They have to do this step manually in their mail client. Is it possible to automate this script and subscribe the account to this folder when it is created by the sieve script? Regards, Christian You mean outlook even don't check on startup on which folders it subscribed?
Re: [Dovecot] Automatically subscribe to folder?
On 25.12.2007 23:36, Christian Flothmann wrote: Hello everybody, i am filtering e-mails using the cmusieve-plugin. A global script filters all mails tagged by SpamAssasin and moves them into the folder Spam: if header :is "X-Spam-Flag" "YES" { fileinto "Spam"; } My problem is that users who did not had a folder Spam until the first time of filtering a spam mail are not automatically subscribed to this new created folder. They have to do this step manually in their mail client. Is it possible to automate this script and subscribe the account to this folder when it is created by the sieve script? Regards, Christian You probably can write you own shell script to add folder name in subscription file, because its stored as text.
Re: [Dovecot] Dovecot + Cygwin the 2nd
On 18.12.2007 22:57, Ronny wrote: Can you get greeting text if you simply telnet to server? I get the same error: $ telnet localhost 143 Trying 127.0.0.1... Connected to zoidberg. Escape character is '^]'. Fatal: EOF while reading environment from master Connection closed by foreign host. $ telnet localhost 110 Trying 127.0.0.1... Connected to zoidberg. Escape character is '^]'. Fatal: EOF while reading environment from master Connection closed by foreign host. By the way, after trying to login i have to clean the directory /var/run/dovecot. Otherwise i get this error: $ telnet localhost 110 Trying 127.0.0.1... Connected to zoidberg. Escape character is '^]'. Fatal: write_full(master_fd) failed: Transport endpoint is not connected Connection closed by foreign host. Cheers Ronny Can't sure about this but maybe this problem because different types of EOF symbols used in Unix and Windows systems. So it trying to read from master but unable to do so, because receive EOF symbol from beginning.
Re: [Dovecot] Dovecot + Cygwin the 2nd
On 18.12.2007 15:15, Ronny wrote: Hi, i still try to get dovecot to run under cygwin. After a post on the cygwin list i am able tu run dovecot. Under Cygwin you have to run dovecot by inetd. Starting the binary "dovecot.exe" does not work. Well the server is running but answers with a fatal error. Account: 'localhost', Server: 'localhost', Protokoll: POP3, Serveranswer: 'Fatal: EOF while reading environment from master', Port: 110, Secure (SSL): No, error on server: 0x800CCC90, Fehlernummer: 0x800CCC90 This error is from Outlook, Thunderbird just says there is an error without any error message. So maybe you can help me to bring my story to a hapy end ;-) Cheers Ronny Can you get greeting text if you simply telnet to server?
Re: [Dovecot] dovecot.index only gets updated in Root maildir Folder
On 13.12.2007 18:55, Timo Sirainen wrote: On Thu, 2007-12-13 at 16:00 +0100, Florian Franzeck wrote: don't get updated, hence IDLE doesn't tell the client new mail arrived. IDLE in general reports new mails only for the selected mailbox. this only happens if i click on the folder in thunderbird. like this, not even clicking on Thunderbird "Check mail" button shows me new Mail arrived. If "Check mail" doesn't see the mail, it's because your Thunderbird is configured to not check messages from all mailboxes. I remember someone else had this problem too, but I don't remember what the solution was. changing mail.check_all_imap_folder_for_new attribute to TRUE
Re: [Dovecot] How to copy Spammail for learning out of Postfix and Dovecot (vmail)
On 06.12.2007 15:13, Sven Schmidt wrote: Wolfram Schlich schrieb: Put them in a dedicated mail folder (mbox or maildir doesn't matter) and process them either periodically via a cron job or on-demand via inotify-enabled software. All mails are revieved by POP. No user can sort mails by Spam You may even do this without procmail I'm using postfix only for such job. But in my case I'm using spamtrap addresses and alias it to something like [EMAIL PROTECTED] where mx1 is postfix server itself and its responsible for delivering to maildir but not to @example.com, it job for dovecot.
Re: [Dovecot] "pipe" plugin - is anyone interested (or using it)?
On 05.12.2007 17:29, Nicolas Boullis wrote: Hi, A few months ago, I sent a message to this list asking if people would be interested by a "pipe" plugin (see http://dovecot.org/pipermail/dovecot/2007-May/023005.html ). I received a few answers of people who told they were intersted. A few months later, I sent a new message announcing the availability of my work (see http://dovecot.org/pipermail/dovecot/2007-August/024805.html ). Since then, I have received no feedback... So, is anyone using this plugin? Is anyone using it? Timo, on my first message, you seemed to be interested to merge such a feature (see http://dovecot.org/pipermail/dovecot/2007-May/023055.html ). Are you still interested? All comments are welcome. I think the feature (or a more generic one) would be a worthy addition for dovecot, be it for ham/spam learning, to implement an "outbox" or anything else I can't think about. All comments about my work are welcome. (Please note that I have not (yet) tried to port it to dovecot 1.1...) Cheers, Nicolas Boullis Ecole Centrale Paris Hi Nicolas, Very promising for me too, not tried yet, but will add to my todo!
Re: [Dovecot] Mails "get lost" - RHEL 5.1 - dovecot-1.0-1.2.rc15.el5
On 04.12.2007 19:35, Götz Reinicke wrote: Hi, we do have a Voiceboxserver which forward recorded avi messages to the mailserver account of users. I'v tested it for my account 10 minutes ago and everything works. Some users don't get the messages shown up in there mailclient while the logs show a delivery of that mail. May be some mail caches are messed up? We use Thunderbird 2 and the users concerned use imap. Where may I look or what may I check? Thanks for your help! Regards Götz So you sure it was delivered, seen this on dovecot.info log? If you are using maildir you may check if file delivered and exist.
Re: [Dovecot] Please solve my query
On 03.12.2007 21:59, bhagwat swarup wrote: hi my question is Start a POP3 server on rhel5 with a matching criteria 1) user jack must get mail 2 Allow your network lw.com 3)my133.org domain can not access your server Thanks And Regards Bhagwat Swarup NH India Ltd You probably should start reading from here http://wiki.dovecot.org/
Re: [Dovecot] namespaces, shared mailboxes
On 02.12.2007 23:21, Alexander 'Leo' Bergolth wrote: On 12/02/2007 08:59 PM, Benjamin R. Haskell wrote: On Sun, 2 Dec 2007, Timo Sirainen wrote: On Sat, 2007-12-01 at 23:59 +0100, Alexander 'Leo' Bergolth wrote: I'd like to provide shared mailboxes with maildir that should appear like 'Shared/' to the clients. Using the namespace configuration below, everything works fine, exept one thing: Mail clients (only tested with Thunderbird) won't allow to put mails directly in 'Shared/mailboxname' (the folder it is greyed out). You currently have to create subfolders and put the mails in those subfolders. .. namespace shared { separator = / # hidden = yes prefix = Shared/spamrep/ location = maildir:/var/spool/mail/Shared/spamrep:CONTROL=~/Maildir/control/Shared/spamrep:INDEX=~/Mail\ dir/index/Shared/spamrep I find it strange that this kind of configuration even appears to work. :) If you somehow manage to get it working with v1.0, there's a good chance that it won't work anymore with v1.1. So if you want to access "Shared/spamrep" as a mailbox, the prefix must be Shared/. If you wanted users to have different views of what the mailboxes look like, you could just change the location to be different for different users. Create symlinks to the visible global mailboxes to those locations. Having multiple namespaces setup that way seems reasonable to me. e.g. /var/spool/mail/Shared/tech/... /var/spool/mail/Shared/financial/... where 'Shared/tech' would be visible to many, but 'Shared/financial' would be visible only to execs/accountants. And both would show up under a common 'Shared/' prefix to keep them distinct from user folders. Yes, that's exactly my intention. There should be shared mailboxes for departments or other groups of people. People having access to those folders should be able to create subfolders but they should not be able to add new folders directly under "Shared". It sounds like he just wants to be able to SELECT the root of a namespace. I'd like to be able to deliver e.g. new mail to the technical support directly to "Shared/tech/" but if that's not possible, it isn't a big problem, I'll just use "Shared/tech/INCOMING". Cheers, --leo You can't deliver to namespaces using 1.0 dovecot tree only 1.1 support it.
Re: [Dovecot] dovecot sieve confusion
On 02.12.2007 17:03, Bazy wrote: Nikolay Shopik wrote: On 02.12.2007 16:57, Bazy wrote: Hi... I use dovecot with postfix. For dovecot's sieve plugin to work, do I need to put in my /etc/postfix/master.cf: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient} and postconf -e virtual_transport=dovecot postconf -e dovecot_destination_recipient_limit=1 ? Yes, otherwise how your postfix will deliver messages to your virtual domains, that's necessary otherwise deliver will not work and sieve too ;). It was a retarded question though :-) Doesn't `which deliver` slows a little bit mail delivery after all? Unsure if I understood you correctly. By deliver I mean Dovecot "deliver" who is reposible to delivering mails to mail store. Why it should slows anyway?
Re: [Dovecot] dovecot sieve confusion
On 02.12.2007 16:57, Bazy wrote: Hi... I use dovecot with postfix. For dovecot's sieve plugin to work, do I need to put in my /etc/postfix/master.cf: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient} and postconf -e virtual_transport=dovecot postconf -e dovecot_destination_recipient_limit=1 ? Yes, otherwise how your postfix will deliver messages to your virtual domains, that's necessary otherwise deliver will not work and sieve too ;).
Re: [Dovecot] imap login messages not logged
On 02.12.2007 14:28, Nikolay Shopik wrote: One of my server stop logging such messages when user trying to login. imap-login: Login: user=<[EMAIL PROTECTED]>. I check configuration from another server and it very same. I'm running on debian testing with config below. # 1.0.5: /etc/dovecot/dovecot.conf log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot.info protocols: imap ssl_cert_file: /etc/postfix/new_chained.crt ssl_key_file: /etc/postfix/mail.pem login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login login_greeting_capability: yes mail_location: maildir:/var/mail/store/%u dotlock_use_excl: yes maildir_copy_with_hardlinks: yes auth default: mechanisms: PLAIN CRAM-MD5 passdb: driver: passwd-file args: /etc/dovecot/passwd userdb: driver: static args: uid=vmail gid=vmail home=/var/mail/store/%u socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 438 user: root group: root plugin: sieve: /var/mail/store/%u/sieve Hmm very strange, restarting dovecot helps, let see if this happens again.
[Dovecot] imap login messages not logged
One of my server stop logging such messages when user trying to login. imap-login: Login: user=<[EMAIL PROTECTED]>. I check configuration from another server and it very same. I'm running on debian testing with config below. # 1.0.5: /etc/dovecot/dovecot.conf log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot.info protocols: imap ssl_cert_file: /etc/postfix/new_chained.crt ssl_key_file: /etc/postfix/mail.pem login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login login_greeting_capability: yes mail_location: maildir:/var/mail/store/%u dotlock_use_excl: yes maildir_copy_with_hardlinks: yes auth default: mechanisms: PLAIN CRAM-MD5 passdb: driver: passwd-file args: /etc/dovecot/passwd userdb: driver: static args: uid=vmail gid=vmail home=/var/mail/store/%u socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 438 user: root group: root plugin: sieve: /var/mail/store/%u/sieve
Re: [Dovecot] namespaces, shared mailboxes
On 02.12.2007 1:59, Alexander 'Leo' Bergolth wrote: Hi! I'd like to provide shared mailboxes with maildir that should appear like 'Shared/' to the clients. Using the namespace configuration below, everything works fine, exept one thing: Mail clients (only tested with Thunderbird) won't allow to put mails directly in 'Shared/mailboxname' (the folder it is greyed out). You currently have to create subfolders and put the mails in those subfolders. Is there any workaround for this problem? 8< namespace private { separator = / inbox = yes prefix = location = mbox:~/mail:INBOX=/var/mail/%u } namespace shared { separator = / # hidden = yes prefix = Shared/spamrep/ location = maildir:/var/spool/mail/Shared/spamrep:CONTROL=~/Maildir/control/Shared/spamrep:INDEX=~/Mail\ dir/index/Shared/spamrep } 8< I'm using dovecot 1.0.8. "Server supports folders that contain subfolders and messages" is enabled in Thunderbird's advanced server settings. Thanks in advance, --leo Because AFAIK you can't create messages in prefix folder. Make your prefix less longer like prefix = Shared/
Re: [Dovecot] Received Date vs Date Header
On 01.12.2007 4:03, Jeff Grossman wrote: I am trying to figure out why my mail clients are not correctly showing me the received date versus the date header date. I am using Dovecot 1.1B9. Here is a copy of the rawlog from Dovecot when I started up the client. Is Dovecot supposed to be sending the received date and the date header during this conversation? * OK [RAWLOG TIMESTAMP] 2007-11-30 16:48:31 * NAMESPACE (("" ".")) NIL NIL 3 OK Namespace completed. * LSUB () "." "Junk E-mail" * LSUB () "." "Deleted Items" * LSUB () "." "Drafts" * LSUB () "." "Ham" * LSUB () "." "INBOX" * LSUB () "." "Keep Messages" * LSUB () "." "Mailing Lists" * LSUB () "." "Sent Items" * LSUB () "." "Spam" * LSUB () "." "Other" * LSUB () "." "Inbox2" * LSUB () "." "Dovecot" * LSUB () "." "MIMEDefang" * LSUB () "." "Beta" * LSUB () "." "Debian" * LSUB () "." "Leafnode" * LSUB () "." "Sendmail" 4 OK Lsub completed. * LIST (\HasNoChildren) "." "INBOX" 5 OK List completed. * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded $MDNSent Junk NonJu: nk) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded $MDNSent Junk NonJunk \*)] Flags permitted. * 19 EXISTS * 2 RECENT * OK [UNSEEN 17] First unseen. * OK [UIDVALIDITY 1191346544] UIDs valid * OK [UIDNEXT 7608] Predicted next UID 6 OK [READ-WRITE] Select completed. * 1 FETCH (FLAGS (\Seen) UID 5) * 2 FETCH (FLAGS (\Seen) UID 5707) * 3 FETCH (FLAGS (\Seen) UID 7042) * 4 FETCH (FLAGS (\Seen) UID 7103) * 5 FETCH (FLAGS (\Seen) UID 7110) * 6 FETCH (FLAGS (\Seen) UID 7183) * 7 FETCH (FLAGS (\Seen) UID 7237) * 8 FETCH (FLAGS (\Seen) UID 7334) * 9 FETCH (FLAGS (\Seen) UID 7353) * 10 FETCH (FLAGS (\Answered \Seen) UID 7355) * 11 FETCH (FLAGS (\Seen) UID 7364) * 12 FETCH (FLAGS (\Seen) UID 7482) * 13 FETCH (FLAGS (\Seen) UID 7485) * 14 FETCH (FLAGS (\Seen) UID 7496) * 15 FETCH (FLAGS (\Seen) UID 7546) : * 16 FETCH (FLAGS (\Seen) UID 7555) * 17 FETCH (FLAGS () UID 7605) * 18 FETCH (FLAGS (\Recent) UID 7606) * 19 FETCH (FLAGS (\Recent) UID 7607) 7 OK Fetch completed. * 18 FETCH (UID 7606 RFC822.SIZE 4589 FLAGS (\Recent) BODY[HEADER.FIELDS (FROM TO CC SUBJECT DATE MESSAGE-ID PRIORITY X-PRIORITY REFERENCES NEWSGROUPS IN-REPLY-(END) TO CONTENT-TYPE)] {352} Date: Fri, 30 Nov 2007 15:24:32 -0800 Subject: x From: x To: x Message-ID: Content-type: text/plain; charset="US-ASCII" ) * 19 FETCH (UID 7607 RFC822.SIZE 4590 FLAGS (\Recent) BODY[HEADER.FIELDS (FROM TO CC SUBJECT DATE MESSAGE-ID PRIORITY X-PRIORITY REFERENCES NEWSGROUPS IN-REPLY-TO CONTENT-TYPE)] {353} Date: Fri, 30 Nov 2007 15:25:23 -0800 Subject: x From: x To: x Message-ID: Content-type: text/plain; charset="US-ASCII" ) 8 OK Fetch completed. + idling I am using Maildir and the date and time of those files from "ls -l" are "2007-11-30 16:48" and "2007-11-30 16:49". The mail client (Thunderbird) showed the received date/time and date date/time as "2007-11-30 3:24" and "2007-11-30 3:25" Thanks for any help you can offer me. Jeff That's usually depends on MUA. And as I remeber there is debates in TB bugzilla - https://bugzilla.mozilla.org/show_bug.cgi?id=216033
[Dovecot] last logon time
Hi list, How can I detect when user last time logon into their mailbox? For what file I should look and compare change time?
Re: [Dovecot] Using global und per-user sieve scripts at the same time
On Nov 27, 2007, at 10:23 AM, Matthias Kellermann wrote: Nikolay Shopik schrieb: On 26.11.2007 18:57, Matthias Kellermann wrote: Nikolay Shopik schrieb: You forgot to insert this one, where users sieve files stored. plugin { sieve = /var/mail/store/%u/sieve } Thanks for your answer Nikolay. But I think this won't do the trick. This setting will override the global setting as well. At the moment I'm using the default location for the sieve scripts in the user's home dir. Matthias Very strange but in my case global rules still works even if user have their own sieve rules. So spam still moved to junk folder ;). Hmm, so you have an entry like this in your LDA section: global_script_path = /usr/local/etc/sieve/spam Where spam is the file with the global sieve rules. Then you have the following entry in the plugin section: sieve = /var/mail/store/%u/sieve Where sieve ist the per-user sieve file, right? Is /var/mail/store the same location where you save the user's email? Matthias Well my global script path little bit different, sieve_global_path = /var/mail/sieve/global.sieve but it doesn't really matter. Yes that's is correct /var/mail/store is path of my maildir store with users folders inside.
Re: [Dovecot] Using global und per-user sieve scripts at the same time
On 26.11.2007 18:57, Matthias Kellermann wrote: Nikolay Shopik schrieb: You forgot to insert this one, where users sieve files stored. plugin { sieve = /var/mail/store/%u/sieve } Thanks for your answer Nikolay. But I think this won't do the trick. This setting will override the global setting as well. At the moment I'm using the default location for the sieve scripts in the user's home dir. Matthias Very strange but in my case global rules still works even if user have their own sieve rules. So spam still moved to junk folder ;).
Re: [Dovecot] Using global und per-user sieve scripts at the same time
On 26.11.2007 16:50, Matthias Kellermann wrote: Hi list, I'm trying to get a global sieve mailfilter with per-user sieve scripts to work. At the "lda"-section in the dovecot.conf file I have: global_script_path = /usr/local/etc/sieve/spam /usr/local/etc/sieve/spam: require "fileinto"; if header :contains ["Subject"] ["***Spam***"] { fileinto "Spam"; stop; } which will work fine delivering Spam Mails in a Spam dir for every user. If a user creates his own .dovecot.sieve file the global script will not work anymore. How can I enable global and local per-user sieve scripts at once? Is this possible? Do you know any workaround so all users will have the same (Spam-)sieve filters beside there own (global templates or so)? Matthias You forgot to insert this one, where users sieve files stored. plugin { sieve = /var/mail/store/%u/sieve }
Re: [Dovecot] backup dovecot
On 24.11.2007 0:14, Benjamin R. Haskell wrote: On Fri, 23 Nov 2007, Mark Adams wrote: A normal rsync to another server of the maildir and configs will work fine. If you need to backup using windows or mac then a samba share is the best bet. Mark Links how to use rsync will be appreciated. [...] An example of syncing 2 directories over ssh, keeping all permissions intact. This command run on the source maildir server. rsync -av -e"ssh" /source_maildirs/ [EMAIL PROTECTED]:/destination/maildirs/ Couple tips (not criticisms): Nowadays, ssh is the default (unless compiled otherwise). So, the '-e"ssh"' is likely unneccessary. As is the 'username@' part, if the username is the same. And something to watch out for as a new rsync user: The trailing slash is important on the source path. From the rsync 'man' page (read it!): A trailing slash on the source changes this behavior to avoid creating an additional directory level at the destination. (But, it doesn't do anything on the destination path.) That'd shorten the command to: rsync -av /source_maildirs/ hostname:/destination/maildirs Best, Ben Benjamin, Thanks for tips and now command line looks more admin-friendly ;)
Re: [Dovecot] backup dovecot
On 23.11.2007 13:59, Mark Adams wrote: On Fri, Nov 23, 2007 at 12:53:50PM +0200, Bazy wrote: On Thu, 22 Nov 2007 20:40:24 +0300 Nikolay Shopik <[EMAIL PROTECTED]> wrote: What is correct way to backup dovecot store? Is am I right what is just enough to copy all maildir and my configuration. So in case failure I can just prepare new machine copy config, maildirs and I'm good to go with this. I think that you should use a cheap machine with a disk drive as big as the mail server's (or use squashfs) and imapsync every night... that way people will be able to access their mail the next second that the big server fails. Look at http://freshmeat.net/projects/imapsync It's just an idea... not the best way to do it I guess... A normal rsync to another server of the maildir and configs will work fine. If you need to backup using windows or mac then a samba share is the best bet. Mark Links how to use rsync will be appreciated.
Re: [Dovecot] backup dovecot
On 23.11.2007 13:53, Bazy wrote: On Thu, 22 Nov 2007 20:40:24 +0300 Nikolay Shopik <[EMAIL PROTECTED]> wrote: What is correct way to backup dovecot store? Is am I right what is just enough to copy all maildir and my configuration. So in case failure I can just prepare new machine copy config, maildirs and I'm good to go with this. I think that you should use a cheap machine with a disk drive as big as the mail server's (or use squashfs) and imapsync every night... that way people will be able to access their mail the next second that the big server fails. Look at http://freshmeat.net/projects/imapsync It's just an idea... not the best way to do it I guess... I know about imapsync cuz I'm already done migration using it ;).
[Dovecot] backup dovecot
What is correct way to backup dovecot store? Is am I right what is just enough to copy all maildir and my configuration. So in case failure I can just prepare new machine copy config, maildirs and I'm good to go with this.