weakforced: Possible to access the ip address of report/allow?
Hi I wonder if the information about the origin of report or allow can be accessed somehow. lt.remote gives the IP of the client trying to login but is there anything in lt which gives the ip of the system that connects to wforced? Thanks and have a good one -- tobi
Converting user mailboxes from maildir to sdbox
Hello, I've got a Postfix/Dovecot server setup. Currently Dovecot is version 2.3.6, and it's using Maildir storage. The mailbox is: mail_home = /home/vmail/mailboxes/%d/%n mail_location = maildir:~/mail:LAYOUT=fs I'm wanting to convert from Maildir to sdbox. I looked at: https://wiki2.dovecot.org/MailboxFormat I was initially thinking mdbox but that's multiple messages per file, which I do not believe is what I want. Am I correct that in the sdbox format if a single message file is corrupted only that message is corrupt and not the rest of the messages as would be the case in a mdbox setup? On the page: https://wiki2.dovecot.org/Migration/MailFormat " maildir -> sdbox migration. Set mail_location=sdbox:~/sdbox and run dsync -u username mirror maildir:~/Maildir " If I set mail_location=sdbox:~/sdbox will that put the user mailboxes in mail_home/sdbox? So it would be: /home/vmail/mailboxes/example.com/username/sdbox I am needing to do this migration, but am paranoid about loosing mail or corrupting mailboxes. All of my users are virtual users and they are stored in a mysql database. Thanks. Dave.
Re: [mail-crypt-plugin] How to decrypt mailbox?
On 2019-05-21 23:57, emordin via dovecot wrote: How do I enable the mail-crypt-plugin globally? Do I have to place 'mail_plugins = $mail_plugins mail_crypt' inside ever conf.d file where there is a protocol code block? Like for example the protocol lda codeblock in 15-lda.conf and the protocol imap codeblock in 20-imap.conf In 10-mail.conf around line 215 is this comment for the global plugins option: # Space separated list of plugins to load for all services. Plugins specific to # IMAP, LDA, etc. are added to this list in their own .conf files. #mail_plugins = Here you'd add all global plugins. I placed 'mail_plugins = $mail_plugins mail_crypt' in 20-lmtp.conf inside the protocol lmtp code block, and the actual plugin settings are inside 90-plugin.conf inside the plugin codeblock. And I was able to get CRYPTED mail with this config. If I place 'mail_plugins = $mail_plugins mail_crypt' inside 90-plugin.conf, I get an error telling me to put 'mail_plugins = $mail_plugins mail_crypt' in 20-lmtp.conf Sent with ProtonMail [1] Secure Email. Links: -- [1] https://protonmail.com -- Christian Kivalo
[mail-crypt-plugin] How to decrypt mailbox?
How do I enable the mail-crypt-plugin globally? Do I have to place 'mail_plugins = $mail_plugins mail_crypt' inside ever conf.d file where there is a protocol code block? Like for example the protocol lda codeblock in 15-lda.conf and the protocol imap codeblock in 20-imap.conf I placed 'mail_plugins = $mail_plugins mail_crypt' in 20-lmtp.conf inside the protocol lmtp code block, and the actual plugin settings are inside 90-plugin.conf inside the plugin codeblock. And I was able to get CRYPTED mail with this config. If I place 'mail_plugins = $mail_plugins mail_crypt' inside 90-plugin.conf, I get an error telling me to put 'mail_plugins = $mail_plugins mail_crypt' in 20-lmtp.conf Sent with [ProtonMail](https://protonmail.com) Secure Email.
How to get original recipient from Postfix when using LMTP?
Many people prefer to use LMTP for delivery from postfix for better efficiency but X-Original-to header support still missing after many years. One affect of this is need to set sieve_vacation_dont_check_recipient = yes which violate Sieve standard and cause auto-replyies sent to messages that should not happen. Or abandon LMTP. or abandon postfix?? So while feature request is stalled are there any realistic workarounds?
Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)
‐‐‐ Original Message ‐‐‐ On Monday, May 20, 2019 12:37 AM, John Fawcett via dovecot wrote: > So looking into this with a postgresql databse to work with: the above query > does not work. You have to specify either the column name or the constraint > name that you expect to be violated in order for the update to take place. > > With a map like this one you're using > > map { > pattern = shared/last-login/$user/$domain > table = last_login > value_field = last_login > value_type = uint > > fields { > username = $user > domain = $domain > } > } > > there's no field name that is obviously the primary key. I've reworked the > patch to use the postgres default primary key constraint name > (tablename_pkey). So as you mention the new query you adapted which includes the primary key works, I tested it manually against PostgreSQL 10.5. > The attached fix should work in that case, although I feel it's not general > enough. Unfortunately my compiling skills are quite poor and I did not manage to patch and recompile Dovecot on OpenBSD. Do you think your patch will make it into the Dovecot code?
Re: Frequent Out of Memory for service(config)
Hey Tom, We don't run any quota-service in dovecot (I just verified just in case as well). Thanks for the suggestion though. Kevin On Sun, May 19, 2019 at 9:21 AM Tom Sommer via dovecot wrote: > > > On 2019-05-13 21:56, Root Kev via dovecot wrote: > > > Hello Group, > > > > We have dovecot deployed as solely a Pop3 service that is used by our > > applications to pass mail from one application to another internally. > > We have roughly 4 applications that connect to the Pop3 service every 2 > > seconds, to check for new messages and pop them for processing if they > > are present. Depending on the site, we have between 1024-2048MB of > > memory set for default_vsz_limit. In all systems we see the Out of > > memory alert several times a day. We previously did not see this at all > > when running on CentOS6, with less memory. > > I see this too on servers running quota-service (dunno if it is > related). > > --- > Tom >
Re: JMAP support in Dovecot
Hello Aki, Well, it has been over 3 years since I last asked... You had said initial JMAP support would hopefully make it into 2.3. Since it didn't, I'm hoiping it isn't too far away. There is some movement with the new Thunderbird team on this, but they can't really start serious work on adding JMAP support until there is a server implementation to test against. Is JMAP support still hopefully on the near term roadmap? Thanks Charles On Sun Nov 27 2016 05:28:36 GMT-0500 (Eastern Daylight Time), Aki Tuomi wrote: > Hi! > > We are working on including JMAP support to Dovecot. At this moment I cannot > give any promise for exact > version, but hopefully it will be part of v2.3 > > Aki Tuomi > > Dovecot Oy > >> On November 26, 2016 at 11:17 PM Andrew Jones wrote: >> >> Hi Marcus >> >> Thanks for your helpful reply. >> >> Do you know what is going on with JMAP development into Dovecot 2.5? >> >> It's difficult to get any sort of information from the roadmap and there are >> no Dovecot forums. >> >> One of the main reasons I'm interested in JMAP is because of Roundcube Next >> and also the other clients it will >> power. Sadly, there has been little >> going on and having emailed Thomas, he is no longer involved in Roundcube >> >> Next - which is a shame. The Kolab guys are really taking liberties here, >> and trying their product, the thing >> is littered with bugs everywhere. >> >> Are you able to comment on what is going on with JMAP development into >> Dovecot? >> >> Thanks >> >> Andrew >>> On 26 Nov 2016, at 19:16, Marcus Rueckert wrote: >>> On 2016-11-26 11:07:00 -0800, WJCarpenter wrote: I don't know the answer to that question, but I am curious about something. What client are you thinking about using with JMAP? I haven't found much. (And much of the demo stuff at jmap.io seems to be busted in various ways.) >>> >>> roundcube-next builds on top of it. >>> >>>darix
Problems after upgrade from 2.2 to 2.3
Hello, i was using dovecot version 2.2 on debian server. After upgrade to debian version 2.3 i have problems. After some time imap doesn't work. There are lot of messages in log 2019-05-21T10:27:49.186373+02:00 hermes dovecot: imap-login: Error: master(imap): net_connect_unix(imap) failed: Resource temporarily unavailable - http://wiki2.dovecot.org/SocketUnavailable (client-pid=24810, client-id=148, rip=2.2.2.2, created 551 msecs ago, received 0/4 bytes) 2019-05-21T10:27:50.808136+02:00 hermes dovecot: imap-login: Error: master(imap): net_connect_unix(imap) failed: Resource temporarily unavailable - http://wiki2.dovecot.org/SocketUnavailable (client-pid=24810, client-id=169, rip=2.2.2.2, created 531 msecs ago, received 0/4 bytes) Tried client_limit set to 1 , service_count to 1 or 0 , still same results. It's imap server for 3k users. Any suggestions, please let me know. Thank you very much. Regards -- Lampa dov.conf Description: Binary data
Re: Dovecot with LDAP Proxy
Can you share your doveconf -n? Aki On 21.5.2019 10.44, Federico Bartolucci via dovecot wrote: > Hi, > > yes sure, we already use proxy with mysql auythentication. On the same > server we have the proxy working with mysql and it regularly uses the > backends servers, but when we configure the proxy to use LDAP instead > it always uses the default localhost and not the backend IPs. > > Regards > -federico > > > Il 21/05/2019 07:25, Aki Tuomi ha scritto: >> >> >> On 20.5.2019 20.06, Federico Bartolucci via dovecot wrote: >>> Hello, >>> >>> configuring Dovecot with LDAP authentication, adding the parameter >>> in ther sql config file: >>> >>> pass_attrs = \ >>> =proxy=y >>> >>> I see then backend connections always addressed to localhot port 143: >>> >>> /user=uten...@domanin.com proxy lip=127.0.0.1 lport=143 / >>> >>> while I expect that connections would be managed by the director and >>> then addressed to my backend IPs and specific port. >>> Is there a way to configure ldap proxy to get that behavior? >>> >>> Thanks in advance. >>> >>> -federico >> >> Hi! >> >> Have you read https://wiki2.dovecot.org/Director ? >> >> Aki >> > signature.asc Description: OpenPGP digital signature
Re: Dovecot with LDAP Proxy
Hi, yes sure, we already use proxy with mysql auythentication. On the same server we have the proxy working with mysql and it regularly uses the backends servers, but when we configure the proxy to use LDAP instead it always uses the default localhost and not the backend IPs. Regards -federico Il 21/05/2019 07:25, Aki Tuomi ha scritto: > > > On 20.5.2019 20.06, Federico Bartolucci via dovecot wrote: >> Hello, >> >> configuring Dovecot with LDAP authentication, adding the parameter in >> ther sql config file: >> >> pass_attrs = \ >> =proxy=y >> >> I see then backend connections always addressed to localhot port 143: >> >> /user=uten...@domanin.com proxy lip=127.0.0.1 lport=143 / >> >> while I expect that connections would be managed by the director and >> then addressed to my backend IPs and specific port. >> Is there a way to configure ldap proxy to get that behavior? >> >> Thanks in advance. >> >> -federico > > Hi! > > Have you read https://wiki2.dovecot.org/Director ? > > Aki > signature.asc Description: OpenPGP digital signature
Dovecot documentation
the make config options for dovecot on FreeBSD list list [x] ICU Use libicu for FTS unicode normalization but https://wiki2.dovecot.org/Plugins/FTS makes no mention of libicu (nor of icu at all). is linicu simply in addition to the four options of Solar, Lucene, fts-xapian, and fts-dovecot? Also, the link to fts-dovecot goes to https://wiki2.dovecot.org/Plugins/FTS/Dovecot which is a 404. -- Man is born free, but is everywhere in chains.