Re: Postlogin script

2017-11-09 Thread Gedalya
A bit clunky but perhaps you could find another command. https://packages.debian.org/stretch/netmask $ IP=172.11.0.28 $ if [ "$(netmask -n $IP/24)" == " 172.11.0.0/24" ]; then echo OK; fi OK $ IP=172.12.0.11 $ if [ "$(netmask -n $IP/24)" == " 172.11.0.0/24" ]; then echo OK; fi $ Range:

Re: Postlogin script

2017-11-11 Thread Gedalya
On 11/10/2017 11:03 PM, Joseph Tam wrote: > > The toughest situation (using script techniques) is for > CIDR ranges just shy of a full octet boundary e.g. /25.  Actually there is a great tool for that, grepcidr $ echo 10.11.12.127 | grepcidr 10.11.12.0/25 && echo OK 10.11.12.127 OK $ echo 10.11.1

Re: doveadm log reopen not works with 2.2.33

2017-12-14 Thread Gedalya
On 12/14/2017 03:18 PM, Alessio Cecchi wrote: > Is this a know bug? https://www.dovecot.org/pipermail/dovecot/2017-November/109971.html

Re: Documentation Bug

2018-02-13 Thread Gedalya
On 02/13/2018 03:00 PM, Andrew Beck wrote: > In https://wiki2.dovecot.org/Tools/Doveadm/Sync#section_arguments the > destination list 5 possible options for the destination > > but in the page on migration https://wiki2.dovecot.org/Migration/Dsync it > seems to use a sixth undocumented "imapc:" o

Re: BUG: Unknown command in userdb socket: CPID?2625

2018-03-26 Thread Gedalya
On 03/26/2018 02:03 PM, Vladimir Tiukhtin wrote: > Do you have any document describing "special" names? Thanks It's documented here. https://wiki2.dovecot.org/Services#auth I have to agree that it's kind of confusing. Would be clearer if it had a e.g. type=userdb setting.

Re: multi-site SSL certificates

2018-04-02 Thread Gedalya
On 04/02/2018 02:25 PM, Jeff Abrahamson wrote: > I see that the file > > .well-known/acme-challenge/IT7-YURAep4bniD9zYpKpdRUBQcgCRJ6FflmZzWQGNg > > is being created (and one other file, too) but that nginx reports that > the _directory_ > > .well-known/acme-challenge/IT7-YURAep4bniD9zYpKpdR

Re: multi-site SSL certificates

2018-04-02 Thread Gedalya
On 04/02/2018 03:17 PM, Jeff Abrahamson wrote: > On Mon, Apr 02, 2018 at 02:34:34PM +0200, Gedalya wrote: >> On 04/02/2018 02:25 PM, Jeff Abrahamson wrote: >>> I see that the file >>> >>> .well-known/acme-challenge/IT7-YURAep4bniD9zYpKpdRUBQcgCRJ6FflmZzWQG

Re: maildir vs dbox?

2018-04-19 Thread Gedalya
On 04/20/2018 04:08 AM, David Mehler wrote: > I am wondering if changing to dbox would be beneficial? It can be faster when a user deletes or moves a large number of messages. One reason why I migrated a few sites is that when reporting issues with maildir on this list, there seems to be lack of

Re: Question about verbose_proctitle

2018-07-12 Thread Gedalya
On 07/13/2018 08:45 AM, J Doe wrote: > I’m aware that this is because the code does not state to specify “TLS” for > the dovecot/imap [u...@example.com 1.2.3.4 IDLE] line of output, but I’m > curious as to why that decision was made ? TLS is done by the imap-login process. This process does all

Re: Spam learning for rspamd

2020-10-12 Thread Gedalya
On 10/13/20 8:49 AM, Dan Egli wrote: > > I'm quite new to Dovecot, so forgive me if this is a simple question. I've > got rspamd running, and it's rewriting the subject of many messages as spam > even when they are not. I've moved things out of the spam folder, which I was > under the impression

Re: Indexer error after upgrade to 2.3.11.3

2020-10-16 Thread Gedalya
On 8/19/20 11:37 PM, Josef 'Jeff' Sipek wrote: > If you can try it, let us know how it went. Hi, Thanks. I had this problem and the patch helped. This suddenly started on two different deployments, a few days apart, one was October 8 and the other October 12, upon delivery of apparently trouble

imapsieve: setting imapsieve_url disables admin scripts

2020-10-27 Thread Gedalya
Hello, The documentation says imapsieve_url "has no effect on the administrator-controlled Sieve scripts". However, when setting this item, I get lines such as: Error: imapsieve: mailbox INBOX: Failed to read /shared/imapsieve/script mailbox attribute: Mailbox attributes not enabled and that'

Re: imapsieve: setting imapsieve_url disables admin scripts

2020-10-27 Thread Gedalya
On 10/27/20 7:52 PM, Stephan Bosch wrote: > > > On 27/10/2020 11:32, Gedalya wrote: >> Hello, >> >> The documentation says imapsieve_url "has no effect on the >> administrator-controlled Sieve scripts". However, when setting this item, I >> g

Re: dovecot quota-warning detection mail

2020-10-28 Thread Gedalya
On 10/28/20 12:19 PM, 森川 孝司 wrote: > " > "Recipient address rejected: User unknown in local recipient table" If abc-xyz-unyo-sekkei is supposed to be abc-xyz-unyo-sek...@example.co.jp then you could try to set in dovecot configuration: auth_default_realm = example.co.jp Then %u will contain the

Re: dovecot quota-warning detection mail

2020-10-28 Thread Gedalya
f everything behaves the same, then setting auth_default_realm should not do any harm. In other words, the question is: does any functionality actually depend on having a username without a domain. On 10/29/20 8:18 AM, 森川 孝司 wrote: > Gedalya-san > > I have a question. > Currently, t

Re: dovecot quota-warning detection mail

2020-10-29 Thread Gedalya
your authentication backend, you may be able to do the transformation at that layer. https://doc.dovecot.org/configuration_manual/authentication/user_extra_field/ On 10/29/20 12:06 PM, 森川 孝司 wrote: > Gedalya-san > > You are currently logged in without a domain name. > > Currently, &q

Re: dovecot quota-warning detection mail

2020-10-29 Thread Gedalya
Perhaps if you share some information about your passdb / userdb authentication setup, I or others might be able to help further. On 10/29/20 12:51 PM, 森川 孝司 wrote: > Gedalya-san > > Thank you for the information. > > It seems to be difficult... > > morikawa > -Orig

Re: dovecot quota-warning detection mail

2020-10-29 Thread Gedalya
> - > root:/root:: > :/var/home/xxx/:: > -...@ddd.example.com:/home/vhosts/ddd/-ccc-ddd:: > -...@ggg.example.net:/home/vhosts/ggg/-fff-ggg:: > -...@jjj.example.co.jp:/home/vhosts/jjj/-iii-jjj:: > : >

Re: dovecot quota-warning detection mail

2020-10-29 Thread Gedalya
Let me just add, of course you should play around with some test entries. You don't want problems with dovecot finding the home directory, users suddenly seeing an empty mailbox, or LMTP delivering to the wrong place. Just in case this isn't obvious :-) On 10/29/20 2:08 PM, Gedalya wro

Re: Getting panic in http-client-request.c: line 1240 during indexing on Ubuntu 20.04

2021-02-17 Thread Gedalya
On 2/9/21 2:29 AM, John Fawcett wrote: >> >> Do we have when (or even if) that patch will make it into the main ?  I >> would really rather prefer pulling from repo ... >> > +1 from me. > > I'd like to see this patch (or something equivalent go in). Without this Tika > is unusable for me. > +1 I

Re: Getting panic in http-client-request.c: line 1240 during indexing on Ubuntu 20.04

2021-02-17 Thread Gedalya
On 2/9/21 4:49 AM, deano-dove...@areyes.com wrote: > Unfortunately they don't make the source repos (deb-src > http://repo.dovecot.org/.) available, They do however provide the .dsc file, so you can use dget (from the devscripts package) e.g. mkdir dovecot-source; cd dovecot-source dget -u

Re: Why Last-login?

2021-03-03 Thread Gedalya
On 3/4/21 3:21 AM, @lbutlr wrote: > On 03 Mar 2021, at 05:38, Aki Tuomi wrote: >> These days you can also replace last-login with mail-lua script, which can >> do lot more than just try to set a dict. But last-login rather useful >> information when you are debugging, or removing dormant account

Re: FW: imapsieve rules not matching at all?

2021-03-19 Thread Gedalya
On 3/20/21 7:37 AM, dove...@steve.wattlink.net wrote: > > Greetings! > >   > > I feel like this has been beaten to death, but my searches on the web (and > about 10 hours spent over the last two days) haven’t revealed what’s going on. > >   > > Basically, it’s the usual “I’d like to auto-learn spa

Re: FW: imapsieve rules not matching at all?

2021-03-20 Thread Gedalya
On 3/20/21 10:54 AM, Steve Watt wrote: > I thought I had enabled that – check out the doveconf -n listing.  Did I miss > something? IMAP METADATA for user-defined imapsieve scripts would be useful to you if you have clients that support that. If you know of any, please do share. > Mar 19 16:21:

Re: FW: imapsieve rules not matching at all?

2021-03-20 Thread Gedalya
On 3/20/21 7:37 AM, dove...@steve.wattlink.net wrote: > > plugin { > >   imapsieve_mailbox1_before = > file:/usr/local/etc/dovecot/sieve/report-spam.sieve > >   imapsieve_mailbox1_causes = COPY APPEND > >   imapsieve_mailbox1_name = Spam > >   imapsieve_mailbox2_before = > file:/usr/local/etc/dov

Re: What kind of search response time are you setting with solr full text search?

2021-08-24 Thread Gedalya
On 8/25/21 9:19 AM, Steve Dondley wrote: > I did some experimenting. I noticed that if the word I'm searching on is > fairly rare, results will pop up quickly, like in around 3 to 5 seconds. > Words that don't exist at all in any email returns nothing almost instantly. > > But words that appear i

Re: Storing Last Login Plugin value in SQL

2021-09-13 Thread Gedalya
On 9/14/21 02:12, dove...@ptld.com wrote: > > Anyone have any idea how to get the last-login plugin to update a date/time > column in sql? I use this to throttle updates to once in 900 seconds: create trigger tg1 before update on mailacct for each row if new.lastlogin < (old.lastlogin + 900) th

Re: Storing Last Login Plugin value in SQL

2021-09-13 Thread Gedalya
On 9/14/21 02:25, dove...@ptld.com wrote: > > The problem im having with the last-login plugin is the only option i can see > to use is a dict map{}. I can not create my own query for the plugin to > execute otherwise this would be way easier. Using the map{} method all you > can do it tell it t

Re: Storing Last Login Plugin value in SQL

2021-09-13 Thread Gedalya
On 9/14/21 05:44, dove...@ptld.com wrote: > > Thank you for the solution of using sql triggers. I was able to get it > working that way. > I hope it doesn't add too much overhead as it feels like a band-aid and > duct-tape fix. Yes, it's a workaround rather than being able to customize the SQL q

Re: Dovecot sieve filters

2021-09-19 Thread Gedalya
On 9/19/21 21:24, j.emerlik wrote: > > Error: sieve: report-ham: line 1: the envelope extension cannot be used in > this context (needs access to message envelope) > My guess would be that the envelope is not available because this is sieve running in IMAP, not during delivery. If the From: head

Re: Dovecot sieve filters

2021-09-19 Thread Gedalya
On 9/20/21 03:15, j.emerlik wrote: > "If address :is "from" "*" { .. } - I have same error. Quote: Error: sieve: report-ham: line 1: the envelope extension cannot be used in this context (needs access to message envelope) It says "line 1", that's your "require" line. You need to remove "envelop

Panic during IMAP APPEND

2021-09-20 Thread Gedalya
I don't know how I can tell which mailbox is selected / being appended to. Mailbox format is Maildir. Filesystem is XFS. System was upgraded from 2.2.36.1 to 2.3.16, and it seems this started happening following that. Sep 20 15:49:34 imap1 dovecot: imap(u@d)<17673>: Panic: file mail-index-map.

Re: Panic during IMAP APPEND

2021-09-20 Thread Gedalya
On 9/21/21 00:04, Gedalya wrote: > Mailbox format is Maildir Migrating to mdbox didn't help. "doveadm force-resync -u u@d \*" also didn't help. Getting exactly the same message and backtrace.

Re: Panic during IMAP APPEND

2021-09-20 Thread Gedalya
On 9/21/21 04:12, Stephan Bosch wrote: > If you have the opportunity to apply and test patches, this should fix it: Built, installed on two boxes. Unfortunately, the users who were experiencing this issue seem to be inactive as of about 2 hours ago. It might be a couple of days before I can con

Re: Panic during IMAP APPEND

2021-09-20 Thread Gedalya
On 9/21/21 04:45, Gedalya wrote: > Built, installed on two boxes. No, Sorry, Stephan, I actually built it without the patch. I had trouble with the patch, I had to refactor it by hand. Did you forget a ) in line 745? if (mevent->dest_mail_uid > 0) Building now. At least the patch r

Re: Panic during IMAP APPEND

2021-09-24 Thread Gedalya
On 9/21/21 04:45, Gedalya wrote: > It might be a couple of days before I can confirm this is fixed. Interim update: some but not all affected users have been active again with no errors. I'll wait for the remaining users to return and report again. So far I haven't been able to

Re: Panic during IMAP APPEND

2021-09-30 Thread Gedalya
On 9/24/21 16:05, Gedalya wrote: > I'll wait for the remaining users to return and report again. All good.

Re: dovecot-lda -> lmtp server ?

2021-10-16 Thread Gedalya
On 10/17/21 02:01, Scott Q. wrote: > I'm stuck with using Qmail which has no LMTP support, and thus I'm using > dovecot-lda which has certain drawbacks. > > Has anyone found a way to direct dovecot-lda to deliver the mail to the LMTP > server or any other way for Qmail to deliver the mail to the

Re: Dovecot - Upgrade Solr 7.7.2 to 8.4.1

2020-01-22 Thread Gedalya
On 1/23/20 7:03 AM, Domenico Pastore wrote: > So, with Dovecot is it possible to use Apache Solr 8.4?  > High RAM usage is the only problem? I'm using 8.4.0 and it works flawlessly.

Re: Dovecot - Upgrade Solr 7.7.2 to 8.4.1

2020-02-05 Thread Gedalya
On 2/5/20 5:55 PM, Francis Augusto Medeiros-Logeay wrote: > I want to install fts-solr, but must tutorials are mentioning solr 7.7.0. Any > heads-up on what one must pay attention to when installing 8.4.0? Do I need  > to update the version on the schemas, for example? I followed the instruction

Re: mail_filter plugin: failed: EOF without input

2020-02-07 Thread Gedalya
On 2/7/20 4:33 PM, ?? wrote: > > cat?0?2mail-filter-out.sh > #!/bin/sh > cat > tempfile > cat ?0?2mail-filter.sh > #!/bin/sh > > USER=$1 > cat > tempfile > > Some important Error logs?? > Feb 07 15:49:19 lda(q...@a.com)<53648>: Error: > Mailbox INBOX: Saving mail: write(/home/a.com/q1/storage/

Re:

2020-03-08 Thread Gedalya
On 3/9/20 1:32 PM, ?? wrote: > hello > ?0?2 ?0?2 ?0?2I have some error by LMTP: > Mar 09 13:26:42 imap-hibernate(q...@a.com)<90154>: Error: > Failed to unhibernate client: net_connect_unix(/var/run/dovecot/imap-master) > failed: Permission denied > Mar 09 13:26:42 lmtp(q...@a.com)<90263>: Inf

Re: Problem with Let's Encrypt Certificate

2017-02-19 Thread Gedalya
On 02/19/2017 08:39 PM, Michael A. Peters wrote: > Every time I change the private key - > > A) I have to make a TLSA record for the new key You're actually expected to pin the CA in your TLSA record, not your own key. https://community.letsencrypt.org/t/please-avoid-3-0-1-and-3-0-2-dane-tlsa-re

Re: v2.2.28 released

2017-03-07 Thread Gedalya
On 03/07/2017 02:41 PM, Robert L Mathews wrote: > As a result, I > end up using what seems to be a mostly stable version, plus "extra > patches I grabbed from reading the mailing list". Pretty sure that's what the dovecot enterprise repo is.

Re: Ubuntu 16.04 dovecot-core requires deprecated ntpdate

2017-08-17 Thread Gedalya
On 08/17/2017 09:57 PM, Michael Fox wrote: > I'm building a new Ubuntu 16.04 machine, including Dovecot. > > When I select the dovecot-core package in Synaptic, it also wants to install > ntpdate. Install packages at the command line using apt-get. It lets you better see and understand what's goin

Re: pop 110/995, imap 143/993 ?

2017-08-21 Thread Gedalya
On 08/21/2017 07:28 AM, voy...@sbt.net.au wrote: > is there a 'preferred way'? should I tell users to use 143 over 993 ? or > 993 over 143? or? There is no concrete answer. There are various opinions and feelings about this. The opinion againt 993/995 is that these are not standard ports, and ther

Re: pop 110/995, imap 143/993 ?

2017-08-21 Thread Gedalya
On 08/21/2017 06:04 PM, Sebastian Arcus wrote: > > On 21/08/17 10:37, Gedalya wrote: >> On 08/21/2017 07:28 AM, voy...@sbt.net.au wrote: >>> is there a 'preferred way'? should I tell users to use 143 over 993 ? or >>> 993 over 143? or? >> There is

Re: pop 110/995, imap 143/993 ?

2017-08-21 Thread Gedalya
Bottom line, a server operator's view can be a lot narrower than this, especially in the scenario where you serve the general public and do not control the clients. There is definitely no reason why you wouldn't want to serve ports 993/995. The MITM thing can be used to argue against serving por

Re: Post-login scripting

2017-10-20 Thread Gedalya
On 10/20/2017 03:46 PM, j.emerlik wrote: > Hi , > I would like to save every authentication IP addresses to database, for > IMAP and POP3 everything working correct but I don't know how to configure > Post-login script for SMTP AUTH. > > Can you help me ? > > Regards, > Jack It would probably be p

Re: Post-login scripting

2017-10-20 Thread Gedalya
I use an access policy server which mostly does rate-limiting and also writes to a database. It's written in perl. If all you want to do is to write some records for every connection then the script would be rather simple. You just need to put "check_policy_service unix:" in the right place

Re: Post-login scripting

2017-10-20 Thread Gedalya
On 10/20/2017 04:50 PM, j.emerlik wrote: I understand that Dovecot SASL does not support the Post-Login scripts. Yea, perhaps not. The concept it follows for POP3/IMAP is a wrapper for the executable launched to perform the actual service, and there is no such service when dovecot is only a SA

Re: Post-login scripting

2017-10-20 Thread Gedalya
postfix.org/addon.html > > 2017-10-20 16:53 GMT+02:00 Gedalya : > >> On 10/20/2017 04:50 PM, j.emerlik wrote: >> >> I understand that Dovecot SASL does not support the Post-Login scripts. >> Yea, perhaps not. The concept it follows for POP3/IMAP is a wrapper for >> the

Re: Post-login scripting

2017-10-21 Thread Gedalya
ich can also do ratelimiting and such. It also integrates > with postfix. > > Aki > >> On October 20, 2017 at 6:12 PM Gedalya wrote: >> >> >> No, it's entirely my own. >> If all you want to do is write client IP addresses to a database then your >>

Re: mdbox vs. maildir format

2022-10-18 Thread Gedalya
On 10/18/22 18:17, Michael wrote: > what about backup? how can i achieve a backup/snapshot of both, the mdbox > (nfs share) and the index files (local raid) and assure they are consistent? If you do your backups using doveadm backup, then the result should be consistent, at least in the sense t

Re: mdbox vs. maildir format

2022-10-18 Thread Gedalya
On 10/18/22 18:46, Marc wrote: >> you must not lose the dbox index files, as they can’t be >> regenerated without data loss. > I have read this also, and was also worried about this, but when I look at > the flat m.988 file, I still have quite a lot of useful data there. "Note that with dbox

Re: mdbox vs. maildir format

2022-10-18 Thread Gedalya
On 10/19/22 07:46, Steve Litt wrote: >> for MAILBOX in $USERS; do >> doveadm expunge -u "$MAILBOX" mailbox Trash savedbefore 7d >> doveadm expunge -u "$MAILBOX" mailbox Spam savedbefore 30d >> doveadm purge -u "$MAILBOX" >> >> LOCATION2="mdbox:/srv/snap_mail/$MA

Re: sieve script is too large (max 1048576 bytes)

2022-10-19 Thread Gedalya
On 10/17/22 18:43, Marc wrote: > In what section of the config is this limited? plugin {     sieve_max_script_size = 1M }

Re: Question about line length limit in lmtp.

2022-12-08 Thread Gedalya
On 12/8/22 17:29, Aki Tuomi wrote: > Dovecot LMTP and Submission enforce the RFC line length, which is 1000, > including \r\n. Can you elaborate on this? I often get mail coming in from the wild with long lines and I find the most practical approach is to pass it on to dovecot LMTP as is, and i

Re: Question about line length limit in lmtp.

2022-12-08 Thread Gedalya
On 12/8/22 17:41, Aki Tuomi wrote: > This is something that is usually handled automatically and does not affect > the mails you see in your MUA. The folding is done within the protocol. Again, I find this statement quite strange. I'm not relying on any MUA when I say long lines appear to be kep

Re: Disable folder creation for details username

2023-03-17 Thread Gedalya
On 3/17/23 20:23, Robert Blayzor wrote: > We understand there is: > lda_mailbox_autocreate > > Which we have yes, as we do want to create mailboxes automatically when the  > first message comes in, but not these folders. That's the setting you want. In IMAP / dovecot context, "mailbox" means "fo

Re: Expunge messages older than

2015-03-07 Thread Gedalya
On 03/07/2015 01:20 PM, absolutely_f...@libero.it wrote: Hi, I am using Dovecot 2.2.13 on cPanel server. Is there a way to delete messages older than some date for a number of users (in every subfolder)? Thank you http://wiki2.dovecot.org/Plugins/Expire

Re: Patch for "doveadm -f table" nit (was Re: Dovecot current number of connections being used.)

2015-03-19 Thread Gedalya
On 03/18/2015 08:49 PM, Timo Sirainen wrote: There's no reason why flow and pager should write headers to stderr because it would always result only in a mess. But instead of changing table headers to write to stdout, I think a better fix would be to make tab formatter write headers to stderr.

Re: [Dovecot] imapc - different settings for different namespaces

2015-03-20 Thread Gedalya
On 05/31/2013 04:21 PM, Timo Sirainen wrote: Originally I was planning on allowing all kinds of mail settings inside namespace {}, including imapc_* settings. But that's a bit difficult to implement (although I think it will happen some day). So for now I was thinking: imapc foo { host = im

Re: v2.2.16 released

2015-03-22 Thread Gedalya
This happened after upgrading to 2.2.16. Running on Debian wheezy amd64. We never had such a crash on this server before. However, this too was a single incident. All accounts use Maildir. Mar 21 09:32:02 imap1 dovecot: imap(@---.com): Error: Log synchronization error at seq=0,offset=0 fo

Re: quota setup assistance (postfix+dovecot+mysql)

2015-03-23 Thread Gedalya
On 03/23/2015 04:34 AM, rooster wrote: Hello list, I have been struggling with establishing a working installation of dovecot with mySQL quota support. I have not been able to find a guide or tutorial that works for the current revisions of software I have at my disposal. Most

Re: quota setup assistance (postfix+dovecot+mysql)

2015-03-23 Thread Gedalya
On 03/23/2015 06:24 PM, rooster wrote: On 2015-03-23, at 1:43 AM, Gedalya wrote: The imap_quota plugin is relevant only under protocol imap {}. It reports quota usage via the IMAP protocol. Under lmtp and any other protocol that can change quota usage, you need to load only the quota plugin

Re: quota setup assistance (postfix+dovecot+mysql)

2015-03-23 Thread Gedalya
On 03/24/2015 12:50 AM, rooster wrote: 10-mail.conf : mail_plugins = $mail_plugins zlib quota 15-lda.conf : mail_plugins = $mail_plugins sieve 20-imap.conf : mail_plugins = $mail_plugins imap_zlib imap_quota antispam 20-lmtp.conf : mail_plugins = $mail_plugins sieve If the above are

Re: postfix sasl -> haproxy -> dovecot auth

2015-03-27 Thread Gedalya
On 03/27/2015 07:21 AM, Edgaras Lukoševičius wrote: Hello, is it possible to configure configure haproxy to work with postfix sasl and dovecot auth like this: clients -> 25:postfix -> 20025:haproxy -> 20025:auth-backend-1, 20025:auth-backend-2 Why don't you set up a dovecot locally (with only

Re: postfix sasl -> haproxy -> dovecot auth

2015-03-27 Thread Gedalya
On 03/27/2015 11:00 AM, Edgaras Lukoševičius wrote: Anyway, it would be nice to have same features (authentication agains imap) in dovecot. Check this out http://wiki2.dovecot.org/PasswordDatabase/IMAP

Re: postfix sasl -> haproxy -> dovecot auth

2015-03-27 Thread Gedalya
On 03/27/2015 11:14 AM, Benny Pedersen wrote: Gedalya skrev den 2015-03-27 16:03: On 03/27/2015 11:00 AM, Edgaras Lukoševičius wrote: Anyway, it would be nice to have same features (authentication agains imap) in dovecot. Check this out http://wiki2.dovecot.org/PasswordDatabase/IMAP this is

Re: v2.2.16 released

2015-03-28 Thread Gedalya
On 03/23/2015 12:10 AM, Gedalya wrote: This happened after upgrading to 2.2.16. Running on Debian wheezy amd64. We never had such a crash on this server before. However, this too was a single incident. All accounts use Maildir. Mar 21 09:32:02 imap1 dovecot: imap(@---.com): Error: Log

Re: quota setup assistance (postfix+dovecot+mysql)

2015-03-29 Thread Gedalya
On 03/29/2015 01:02 PM, Steffen wrote: The actual question is, why your system cannot load the shared libray lib11_imap_quota_plugin.so dynamically, although lib10_quota_plugin.so works. Maybe you should remove the failed file and force a reinstall of the package. I don't suppose, the package is

Re: quota setup assistance (postfix+dovecot+mysql)

2015-03-30 Thread Gedalya
On 03/30/2015 07:05 AM, rooster wrote: 10-mail.conf : mail_plugins = $mail_plugins zlib quota 15-lda.conf : mail_plugins = $mail_plugins sieve 20-imap.conf : mail_plugins = $mail_plugins imap_zlib imap_quota antispam 20-lmtp.conf : mail_plugins = $mail_plugins sieve Am I to remove eac

Re: quota setup assistance (postfix+dovecot+mysql)

2015-03-30 Thread Gedalya
On 03/30/2015 07:11 PM, rooster wrote: I’m curious as to why on the 2nd test, there are quote marks in the mail_plugins parameters but not in the 1st or 3rd test? When you use $mail_plugins for the first time, it is equal to the empty string, because it wasn't set yet. When you set a co

Re: Install process breaks its self by design

2015-04-01 Thread Gedalya
On 04/01/2015 07:53 PM, Merlin at Desktop Masters wrote: Correct Correct Correct And when I went to the page it lead me here. Whomever is making the .deb packages needs to be made aware of this. Can you please point me into a direction? The issue with ssl certificates has been a long, pain

Re: Install process breaks its self by design

2015-04-01 Thread Gedalya
I think this is what you are looking for, specifically: http://anonscm.debian.org/cgit/collab-maint/dovecot.git/commit/?id=b2f652ff13956972b916e926568dab46a89e2dab

Re: sa-learn with remote Dovecot folders

2015-04-03 Thread Gedalya
On 04/03/2015 06:13 AM, Andreas Kasenides wrote: Hi all! The set-up I have is a classic one: 1. one or more Dovecot relay/directors Postfix SMTP servers in DMZ 2. one or more backend IMAP/SMTP servers on the inside network 3. There may or may not be separate incoming or outgoing designated SMTP

Re: Dovecot Oy merger with Open-Xchange AG

2015-04-03 Thread Gedalya
This entire sub-thread is of no relation to dovecot, is of no interest to the public, has no value of any kind, and is highly irritating. It would be very kind if you all to do this in private. From now on and into the future. Please.

Re: Why are here ignore a simple question?

2015-04-10 Thread Gedalya
On 04/10/2015 05:10 PM, Hardy Flor wrote: Am 06.04.2015 um 09:36 schrieb Hardy Flor: Hello, when I have with "doveadm save ..." store a message, how do I get the guid or uid of this message for the setthe flags? Hardy Maybe the feature is just not there? This command has just been added a

Re: Why are here ignore a simple question?

2015-04-10 Thread Gedalya
On 04/11/2015 02:39 AM, Hardy Flor wrote: I had been on 3/12/2015 pointed to the lack of documentation of "doveadm save". It was in the changelog of 2.2.16. Unfortunately this is not unique. Dovecot's documentation is at all times significantly lagging behind the code, this is the MO for this

Re: special_use folders

2015-04-12 Thread Gedalya
On 04/12/2015 08:08 PM, Roman Gelfand wrote: My setup is postfix mail gateway/spamassassin on one machine and dovecot mail box server on another machine. Will the following configuration work? 1. On the mail gateway, I install dovecot-lmtp and use it to deliver locally spam. 2. On the mailbox

Re: Thunderbird sync time? (reverse quota warning)

2015-04-16 Thread Gedalya
On 04/16/2015 05:40 AM, E.B. wrote: For reverse quota warning, it looks like webmail works nice. quota_warning3 = -storage=100%% quota-warning below %u # user is no longer over quota But using thunderbird I deleted enough messages to go below quota and I deleted them from trash folder too. But

Re: Thunderbird sync time? (reverse quota warning)

2015-04-16 Thread Gedalya
On 04/16/2015 05:47 AM, Gedalya wrote: On 04/16/2015 05:40 AM, E.B. wrote: For reverse quota warning, it looks like webmail works nice. quota_warning3 = -storage=100%% quota-warning below %u # user is no longer over quota But using thunderbird I deleted enough messages to go below quota and

Re: quota_over_flag examples?

2015-04-16 Thread Gedalya
On 04/16/2015 05:35 AM, E.B. wrote: I can't find any posts on this list for peoples using quota_over_flag http://wiki2.dovecot.org/Quota/Configuration#Overquota-flag_.28v2.2.16.2B-.29 If my userdb is sql what would be best script to use in terms of performance? (I mean if over-quota-flag trigge

Re: Performance impace of spawning shell processes from Dovecot [was: quota_over_flag examples?]

2015-04-16 Thread Gedalya
On 04/16/2015 09:09 PM, E.B. wrote: Don't use bash, of course! Hmm well I didn't not know about this. On CentOS-- lrwxrwxrwx. 1 root root 4 Apr 5 10:31 /bin/sh -> bash* Can you state the reasons you say do not use bash so I can google about them? Some random links.. https://wiki.ubuntu.com

Re: Replace autocreate after upgrading

2015-04-17 Thread Gedalya
On 04/17/2015 09:27 AM, tr...@skrilnetz.net wrote: Hi, I just upgraded to 2.2.9 and found out that autocreate should not be used any more. I had a look at http://wiki2.dovecot.org/MailboxSettings and I tried to replace my old config but I had no success. Would somebody be so and help me to c

Re: ManageSieve Dovecot v2 listen on localhost only

2015-04-17 Thread Gedalya
address = 127.0.0.1 port = 4190 On 04/17/2015 04:21 PM, tr...@skrilnetz.net wrote: Hi, How can I only listen on localhost for ManageSieve? I tried: port = localhost:4190 still listening *: tcp0 0 0.0.0.0:4190 0.0.0.0:* LISTEN 0 515675 20540/dovecot

Re: ManageSieve Dovecot v2 listen on localhost only

2015-04-17 Thread Gedalya
http://wiki2.dovecot.org/Services

Re: ManageSieve Dovecot v2 listen on localhost only

2015-04-17 Thread Gedalya
On 04/17/2015 04:55 PM, tr...@skrilnetz.net wrote: Thanks. I tried that now and added the "address": service managesieve-login { inet_listener sieve { port = 4190 address = 127.0.0.1 } I restarted dovecot but: tcp0 0 0.0.0.0:4190 0.0.0.0:* LI

Re: Postpone email delivery with LMTP and Postfix

2015-04-29 Thread Gedalya
On 04/29/2015 04:47 PM, Miloslav Hůla wrote: Hi, is there any way, based on userdb/passwdb attribute, how to postpone an email delivery? The purpose is, I need to freeze an account (Maildir++) for a few minutes and new email must not be delivered. But emails must be delivered when account is

Re: doveadm -D and -v options

2015-04-30 Thread Gedalya
On 04/30/2015 02:51 AM, Reuben Farrelly wrote: According to doveadm-dsync man page the above two options are valid, but they are rejected when used: tornado # doveadm backup -v -u testuser remote:pi.me.name:4814 backup: invalid option -- 'v' doveadm backup [-u |-A] [-S ] [-fPRU] [-l ] [-r ] [-

Re: Xi broken

2015-04-30 Thread Gedalya
On 04/30/2015 01:52 PM, Stephan Bosch wrote: Hi, Xi is broken at the moment. This XenServer version won't boot jessie kernel. Can't fix this myself, so this may take some time. Regards, Stephan. I had this issue too with XenServer. Changed to hvm to make it boot. It worked.

Re: Controlling IP addresses for services

2015-05-22 Thread Gedalya
On 05/22/2015 11:40 PM, Alex Regan wrote: service imap-login { inet_listener imaps { listen=192.168.1.100 port = 993 } } # dovecot -n # 2.2.15: /etc/dovecot/dovecot.conf doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 54: Unknown setting: listen http:

Re: How about an option to disbale headers? (was Re: Patch for "doveadm -f table" nit)

2015-05-24 Thread Gedalya
On 03/20/2015 02:47 PM, Timo Sirainen wrote: Added -h parameter now to hg. Using 2.2.18. With -f table this behaves as expected, however with -t tab the output seems to include the separating tabs of the header line prepended to the first line of output. In other words, the header line is pri

Re: FREAK/Logjam, and SSL protocols to use

2015-05-26 Thread Gedalya
On 05/26/2015 10:37 AM, Ron Leach wrote: https://weakdh.org/sysadmin.html includes altering DH parameters length to 2048, and re-specifying the allowable cipher suites - they give their suggestion. It looks like there is an error on this page regarding regeneration. In current dovecots ssl

Re: FREAK/Logjam, and SSL protocols to use

2015-05-27 Thread Gedalya
On 05/27/2015 09:55 AM, Rick Romero wrote: Quoting Gedalya : On 05/26/2015 10:37 AM, Ron Leach wrote: https://weakdh.org/sysadmin.html includes altering DH parameters length to 2048, and re-specifying the allowable cipher suites - they give their suggestion. It looks like there is an

Re: FREAK/Logjam, and SSL protocols to use

2015-05-27 Thread Gedalya
On 05/27/2015 11:56 AM, Rick Romero wrote: Quoting Gedalya : On 05/27/2015 09:55 AM, Rick Romero wrote: Quoting Gedalya : On 05/26/2015 10:37 AM, Ron Leach wrote: https://weakdh.org/sysadmin.html includes altering DH parameters length to 2048, and re-specifying the allowable cipher

Re: FREAK/Logjam, and SSL protocols to use

2015-05-27 Thread Gedalya
On 05/27/2015 12:15 PM, Ron Leach wrote: I couldn't find an entry in 10-ssl.config that covered regeneration (though our version is 2.2.15 and the current release, 2.2.18, may differ). Yea it's just not there. You can 'discover' these 'hidden' options using doveconf -a, scattered docs, and

Re: FREAK/Logjam, and SSL protocols to use

2015-05-27 Thread Gedalya
On 05/27/2015 12:29 PM, Jacques Distler wrote: It is not at this point emphasized anywhere, including on weakdh.org, that it is actually of high importance to regenerate your DH parameters frequently. That's not really correct. If you're using a prime of length at least 2048 bits, then the c

Re: Imap Notify

2015-06-12 Thread Gedalya
On 06/12/2015 03:38 PM, Tony Morehen wrote: Despite this, NOTIFY did not show up it Dovecot's capabilities: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Dovecot ready. It should show up in the post-login capabilities. Do a login first, then you get a

  1   2   3   4   >