Is this assumption correct?

2019-03-23 Thread Tobi via dovecot
Hello list we encounter a weird SSL issue with one of our dovecot (2.2.24 on Centos6) which we can only explain if our assumtion is correct Symptoms are that imaps connections (on port 993) suddenly get vry slow. Up to 180s for one connection with openssl s_client The thing we do not understan

Re: MailCrypt: Encrypted user keys configuration with LDAP & cryptokey generate

2019-03-28 Thread FELINN via dovecot
Here are attachments. -- f00wl FELINN https://felinn.org # 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.16 (fed8554) # OS: Linux 4.15.18-9-pve x86_64 Debian 9.8 auth_username_format = %n auth_verbose = yes lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes login_

MailCrypt: Encrypted user keys configuration with LDAP & cryptokey generate

2019-03-28 Thread FELINN via dovecot
Hi, I try to use the MailCrypt plugin with Floder encryption and encrypted user keys, using LDAP. I use Dovecot 2.2.27 (c0f36b0) I follow the wiki: https://wiki2.dovecot.org/Plugins/MailCrypt doveconf -n and dovecot-ldap.conf.ext attached to this message. I well configured slapd to let dovecot's

doveadm backup doesn't transfer mail from root INBOX

2019-03-28 Thread Francis via dovecot
Hi, I'm trying to migrate IMAP mails from dovecot 1.1.20apple0.5 (osx) to dovecot 2.2.33.2 (ubuntu). I'm using "doveadm backup" to migrate my data. It works fine for all subfolders, but the root INBOX stay empty on the new server. I suspect a problem related with hierarchy separator ("." on previo

Hibernation and proxy

2019-03-28 Thread azurit--- via dovecot
Hi, does hibernation works well with proxy? Are proxy connections hibernated or not? azur

Re: Hibernation and proxy

2019-03-28 Thread azurit--- via dovecot
Citát Aki Tuomi : On 28 March 2019 17:46 azurit--- via dovecot < dovecot@dovecot.org> wrote: Hi, does hibernation works well with proxy? Are proxy connections hibernated or not? azur hibernation only happens on backends. --- Aki Tuomi And if

Fwd: segfault in libdovecot-storage at unknown circumstances

2019-03-29 Thread sergio via dovecot
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925961 Forwarded Message Subject: segfault in libdovecot-storage at unknown circumstances Date: Fri, 29 Mar 2019 16:34:15 +0300 From: sergio To: Debian Bug Tracking System Package: dovecot-core Version: 1:2.3.4.1-1~bpo9+1 Sev

Attachment indicator

2019-03-29 Thread azurit--- via dovecot
Hi, if i use 'doveadm rebuild attachments' command with maildir mailboxes, will anything happen to files with emails? For example, will file name change? Or better, will anything, which could trigger data backup, happen to files containing emails? Thanks. azur

Re: CentOS Repository broken ?

2019-03-29 Thread Peter via dovecot
On 30/03/19 1:31 AM, Günther J. Niederwimmer via dovecot wrote: I have a CentOS 7 server with dovecot Repository enabled. But it is not possible to Update with Yum Update I have this Error? The dovecot package is missing? Fehler: Paket: 2:dovecot-imaptest-2.3.5.1-1.x86_64 (dovecot-2.3-latest

Re: dovecot ssl error message from my own connections

2019-03-30 Thread @lbutlr via dovecot
On 30 Mar 2019, at 06:20, Esteban L via dovecot wrote: > date time myserver dovecot: imap-login: Debug: SSL error: SSL_read() > syscall failed: Connection reset by peer I don't get that particular message, but in general Debug messages are informational, not errors or warnings. See

Trying to track down source of duplicate messages

2019-03-30 Thread Alex via dovecot
Hi, I have a fedora28 system with dovecot-2.3.5 and I'm trying to figure out why I'm increasingly receiving duplicate emails. The message IDs are exactly the same. It's always two of the same messages. I don't think it's ever occurred in the inbox. It doesn't happen with every message or seemingly

Re: CentOS Repository broken ?

2019-03-30 Thread Peter via dovecot
On 30/03/19 10:56 PM, Gerald Galster via dovecot wrote: Maybe there is something wrong with his local yum/repo configuration. I'm tending to agree now. CentOS 7 usually doesn't mix 32bit and 64bit packages anymore. Installiert: 2:dovecot-2.3.5-1.x86_64 (Installiert = installed) -

Re: Using lmtp to authenticate email users

2019-03-31 Thread Jerry via dovecot
On Thu, 28 Mar 2019 05:22:37 -0700, Patrick Mahan via dovecot stated: >FreeBSD 11.2 >Postfix 3.3.2 >Dovecot 2.3.4 > >I am trying to use dovecot lmtp with postfix to verify authentication >of incoming email and to avoid being a spam relay (an issue I was >having using sendmai

I have a question.

2019-04-01 Thread 김태용 via dovecot
Hi. I have a question. Can I limit the maximum number of messages I can sync per mailbox? Even if there are 1 messages, I want to sync with the specified number of times. Ex)max sync mail count = 5000 (or 1000 or 2000..Outlook view message 5000) Thank you.

I have a question.

2019-04-01 Thread 김태용 via dovecot
Hi. I have a question. Can I limit the maximum number of messages I can sync per mailbox? Even if there are 1 messages, I want to sync with the specified number of times. Ex)max sync mail count = 5000 (or 1000 or 2000..Outlook view message 5000) Thank you.

Re: mail_crypt not working on incoming messages?

2019-04-01 Thread Dave via dovecot
Dovecot cannot magically encrypt your email, so it has to go thru dovecot-lda or lmtp. Procmail can call dovecot-lda, if you don't want to migrate to using sieve. Aki For anyone interested, I was able to get the encryption working on incoming mail on my test machine using the "procmail ca

Re: Trying to track down source of duplicate messages

2019-04-01 Thread Alex via dovecot
Hi, I haven't received any responses to my duplicate messages problem. It occurred to me that I posted my full dovecot config instead of just the changes we've made locally. I thought it might help to follow up with just the specific config to make it easier to identify a potential problem. Any i

Re: sql table definitions

2019-04-02 Thread James via dovecot
On 02/04/2019 05:42, Richard Hector via dovecot wrote: I'm using PostgreSQL for my auth db. I used the example CREATE TABLE statement in the config file, but now I find the fields are too short. I assume dovecot will be fine with 'text' type columns replacing the varchars? Or

ssl_min_protocol

2019-04-02 Thread @lbutlr via dovecot
What are the possible settings for ssl_min_protocol? I only see it on the upgrade page where it mentions the default is TLSv1. Searching on the dovecot page gives me "Your search query "ssl_min_protocol" didn't return any results." -- Up the airy mountains, down the rushy glen... From ghosti

Re: FTS delays

2019-04-03 Thread @lbutlr via dovecot
On 3 Apr 2019, at 04:30, Joan Moreau via dovecot wrote: > doveadm search -u j...@grosjo.net mailbox inbox text milan Did that search over my list mail and got 83 results, not able to duplicate your issue. What version of dovecot and have you tried to reindex? dovecot-2.3.5.1 here. -- Th

Re: Using lmtp to authenticate email users

2019-04-03 Thread Tanstaafl via dovecot
On Thu Mar 28 2019 17:04:37 GMT-0400 (Eastern Standard Time), Patrick Mahan via dovecot wrote: > Hmm, actually it is set - > > root@ns:/usr/local/etc/dovecot # dovecot -a | grep auth_username_format > auth_username_format = %Ln Use doveconf, not dovecot (although they may do th

SMTPUTF8 support

2019-04-03 Thread sylvhem--- via dovecot
Hi, I'm currently trying to set up SMTPUTF8 on my mail stack, but I can't find any information on Dovecot's RFC 6531 support. Has it been implemented yet? If so, does anyone know how to activate it? Regards. -- Sylvhem

Re: SMTPUTF8 support

2019-04-03 Thread sylvhem--- via dovecot
Le 2019-04-04 01:36, Michael Slusarz a écrit : On April 3, 2019 at 10:12 PM sylvhem--- via dovecot wrote: I'm currently trying to set up SMTPUTF8 on my mail stack, but I can't find any information on Dovecot's RFC 6531 support. Has it been implemented yet? No. michael Th

Re: SMTPUTF8 support

2019-04-04 Thread André via dovecot
April 2019 07:03:10 BST, sylvhem--- via dovecot wrote: >Le 2019-04-04 01:36, Michael Slusarz a écrit : >>> On April 3, 2019 at 10:12 PM sylvhem--- via dovecot >>> wrote: >>> >>> I'm currently trying to set up SMTPUTF8 on my mail stack, but I >can&#

Autosubscribe to public folder

2019-04-04 Thread Рустам via dovecot
Hello everyone! I am trying to migrate from Dovecot 1.2 to Dovecot 2.2 and I can`t find information how to subscribe all users to public folder. In Dovecot 1.2 I have a few strings kind of "autosubscribeX = Public.Documents" and every users get subscribed to this Public folders and can`t unsubscrib

Re: SMTPUTF8 support

2019-04-04 Thread sylvhem--- via dovecot
Le 2019-04-04 03:28, André a écrit : I have it working, only with the user part of the email address. It works well, as long as the whole chain of software is correctly configured. I have not tested with a whole domain in UTF8 yet. More details and working examples here: https://github.com/p

OpenFTS

2019-04-05 Thread Cerebus via dovecot
All the discussion on FTS reminds me, is there any plan to support OpenFTS in dovecot or is there a reason preventing that? -- This is my signature. There are many like it, but this one is mine.

Re: SMTPUTF8 support

2019-04-06 Thread @lbutlr via dovecot
On 5 Apr 2019, at 13:47, André Rodier via dovecot wrote: > >> root@portal:/etc/postfix# postmap -q andré@homebox.space >> ldap:/etc/postfix/ldap-aliases.cf >> andre@homebox.space You have a solution that properly maps UTF to a non-UTF namespace. As I understand it,

dovecot[30008]: auth-worker: Fatal: master: service(auth-worker): child 31074 killed with signal 11

2019-04-08 Thread Herbert via dovecot
Hi Since a recent DNF update, I see many log file entries like the following: Apr 08 16:16:36 udoo.symmetrix.ch audit[31074]: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 subj=system_u:system_r:dovecot_auth_t:s0 pid=31074 comm="auth" exe="/usr/libexec/dovecot/auth" sig=11 res=1 Apr 0

Re: sieve match ANY header

2019-04-08 Thread @lbutlr via dovecot
On 8 Apr 2019, at 16:35, Shawn Heisey via dovecot wrote: > I would like to create a sieve rule where I do a regex match on ALL headers, > not a specific header. This is a really bad idea. Headers can be quite long, contain data that you do not have control over, and checking all header

decrypt.rb

2019-04-08 Thread Dave via dovecot
Per the Dovecot site here: https://wiki.dovecot.org/Plugins/MailCrypt ... the "decrypt.rb" ruby script can be used to decrypt a Dovecot-encrypted message file from the command line.  The script sort of runs successfully for me, in the sense that it doesn't error out, but it doesn't show the dec

Re: sieve match ANY header

2019-04-08 Thread @lbutlr via dovecot
On 8 Apr 2019, at 17:16, Shawn Heisey via dovecot wrote: > On 4/8/2019 4:55 PM, @lbutlr via dovecot wrote: >> On 8 Apr 2019, at 16:35, Shawn Heisey via dovecot >> wrote: >>> I would like to create a sieve rule where I do a regex match on ALL >>> headers, no

Re: decrypt.rb

2019-04-09 Thread Dave via dovecot
>> I've tried specifying an output file as well, per the script's command line options, >> but the output file is 0 bytes.  Does anyone have any suggestions?  I *think* I'm >> using it the way it's intended to be used, but maybe I'm not?! >> -Dave > > Hi! > Maybe the key you tried was not used t

Problem with filter forwarded messages when using director proxy

2019-04-09 Thread Ted via dovecot
Hey there, I've been able to switch our mailservers over to using director to proxy logins and received email to the backend servers which store email on a shared NFS mount.  Before I did this we were having trouble with the indexes running into errors because multiple servers accessing and m

/var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread @lbutlr via dovecot
I am getting this error in logs net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission den)) and I looked around the google results and it seems to be related to using service stats, which I am not using. # doveconf -n | grep stat # doveconf -n | head -3 # 2.3.5.1 (7ec6d0ade): /usr

Re: /var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread @lbutlr via dovecot
On 10 Apr 2019, at 08:36, @lbutlr via dovecot wrote: > net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission den)) One other detail: /var/run/dovecot/stats-writer: 0 srw-rw 1 root dovecot 0 Apr 10 08:47 stats-writer -- "Back off, man. I'm a scientist."

Re: Restoring mailboxes from backup duplicates messages in POP clients

2019-04-10 Thread Tanstaafl via dovecot
On Wed Apr 10 2019 09:13:41 GMT-0400 (Eastern Standard Time), Luis F. V. Gomes via dovecot wrote: > I had a disk problem and had to reformat it. All mailboxes were backed > up using rsync. > After I restored the mailboxes, the POP clients (Thunderbird) that > were configured

Re: /var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread @lbutlr via dovecot
> On 10 Apr 2019, at 08:57, Odhiambo Washington via dovecot > wrote: > > > > On Wed, 10 Apr 2019 at 17:50, @lbutlr via dovecot wrote: > On 10 Apr 2019, at 08:36, @lbutlr via dovecot wrote: > > net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission

Re: Restoring mailboxes from backup duplicates messages in POP clients

2019-04-10 Thread @lbutlr via dovecot
On 10 Apr 2019, at 08:59, Tanstaafl via dovecot wrote: > On Wed Apr 10 2019 09:13:41 GMT-0400 (Eastern Standard Time), Luis F. V. > Gomes via dovecot wrote: >> I had a disk problem and had to reformat it. All mailboxes were backed >> up using rsync. >> After I restore

Re: Restoring mailboxes from backup duplicates messages in POP clients

2019-04-10 Thread Tanstaafl via dovecot
On Wed Apr 10 2019 11:14:29 GMT-0400 (Eastern Standard Time), @lbutlr via dovecot wrote: > On 10 Apr 2019, at 08:59, Tanstaafl via dovecot wrote: >> On Wed Apr 10 2019 09:13:41 GMT-0400 (Eastern Standard Time), Luis F. V. >> Gomes via dovecot wrote: >>> I had a disk pro

Re: /var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread @lbutlr via dovecot
On 10 Apr 2019, at 09:06, @lbutlr via dovecot wrote: > Should I add > > service stats { > unix_listener stats-writer { > user = dovecot > } > unix_listener stats-reader { > user = dovecot > } > } > > to my dovecot.conf file? I did this an

Re: /var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread @lbutlr via dovecot
On 10 Apr 2019, at 10:55, Remo Mattei via dovecot wrote: > This is what fixed mine > > service stats { > # unix_listener stats-reader { > # group = > # mode = 0666 > # user = > # } > unix_listener stats-writer { > group = doveco

Re: /var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread @lbutlr via dovecot
On 10 Apr 2019, at 10:43, @lbutlr via dovecot wrote: > lso, the failed message strongly implies that the email was not delivered, > since it happens on the delivery log line and there is not indication in the > log that delivery succeeded. However, the message is delivered. It might be

Re: /var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread @lbutlr via dovecot
> On 10 Apr 2019, at 11:50, Aki Tuomi via dovecot wrote: > > >> On 10 April 2019 20:48 @lbutlr via dovecot wrote: >> >> >> On 10 Apr 2019, at 10:43, @lbutlr via dovecot wrote: >>> lso, the failed message strongly implies that the email was n

Re: decrypt.rb

2019-04-10 Thread Dave via dovecot
On 4/10/2019 1:32 AM, Aki Tuomi wrote: On 9.4.2019 18.15, Dave wrote: I've tried specifying an output file as well, per the script's command line options, but the output file is 0 bytes.  Does anyone have any suggestions? I *think* I'm using it the way it's intended to be used, but maybe I

Re: Lua Push Notification Plugin

2019-04-11 Thread Pabsky via dovecot
I appreciate the help :) ** On 11 April 2019 07:57 Robust Coding via dovecot wrote: Hi Admin, I hope you consider reading and addressing my concern promptly. For the past few days I've been setting up a VPS with cPanel and WHM pre-installed on Bluehost. I want to enable push notification

Passord change problem. (INTERNAL)

2019-04-11 Thread Arvid via dovecot
Hi, We have a strange problem with login after password change. We need to kill the auth_worker processes to activate the new password. It doesn't work with SIGHUP on pid, it doesn't help to run "doveadm auth cache flush". It runs flush xx but the new password still doesn't work. Are there any s

Re: Mail account brute force / harassment

2019-04-11 Thread James via dovecot
On 11/04/2019 11:43, Marc Roos via dovecot wrote: A. With the fail2ban solution - you 'solve' that the current ip is not able to access you It is only a solution if there are subsequent attempts from the same address. I currently have several thousand addresses blocked due t

Re: Mail account brute force / harassment

2019-04-11 Thread James via dovecot
On 11/04/2019 12:49, Marc Roos via dovecot wrote: Yes indeed, we have already own dnsbl's for smtp and ssh/ftp access. How do you have one setup for dovecot connections? Two answers: 1. I wrote my own very simple implementation but it does not share other people's data. Sharing

Re: Mail account brute force / harassment

2019-04-11 Thread @lbutlr via dovecot
On 11 Apr 2019, at 04:43, Marc Roos via dovecot wrote: > B. With 500GB dump > - the owner of the attacking server (probably hacked) will notice it > will be forced to take action. Unlikely. What is very likely is that your ISP shuts you don for network abuse. > If abuse clouds are

Re: decrypt.rb

2019-04-11 Thread Dave via dovecot
Aki, I just used the "EC key" instructions from the Dovecot MailCrypt wiki: https://wiki.dovecot.org/Plugins/MailCrypt " In order to generate an EC key, you must first choose a curve from the output of this command: > openssl ecparam -list_curves If you choose the curve prime256v1, generate

Secure Client-Initiated Renegotiation

2019-04-11 Thread sergio via dovecot
Hello. I've just tested my system that runs dovecot 2.3.4.1 on debian buster with testssl.sh (https://testssl.sh/) and is says: Secure Renegotiation (CVE-2009-3555)not vulnerable (OK) Secure Client-Initiated Renegotiation VULNERABLE (NOT ok), potential DoS threat Is this a configurati

Emails redownloading

2019-04-11 Thread azurit--- via dovecot
Hi, recently, we had a problem on one of our mail servers and, after reboot, HDD with emails wasn't mounted into system. Until we fixed it, LOTS of users logged in (Dovecot allowed login and recreated directory structure of mailboxes) and saw empty mailboxes. Now they are redownloading al

Re: Mail account brute force / harassment

2019-04-12 Thread James via dovecot
On 11/04/2019 14:33, Anton Dollmaier via dovecot wrote: Which is why a dnsbl for dovecot is a good idea. I do not believe the agents behind these login attempts are only targeting me, hence the addresses should be shared via a dnsbl. Probably there's an existing solution for both pro

Re: Mail account brute force / harassment

2019-04-12 Thread James via dovecot
On 12/04/2019 08:24, Aki Tuomi via dovecot wrote: Weakforced uses Lua so you can easily integrate DNSBL support into it. How does this help Dovecot block? A link to some documentation or example perhaps? We will not add DNSBL support to dovecot at this time. Is there a reason why you

Re: Mail account brute force / harassment

2019-04-12 Thread James via dovecot
On 12/04/2019 08:42, Aki Tuomi via dovecot wrote: On 12.4.2019 10.34, James via dovecot wrote: On 12/04/2019 08:24, Aki Tuomi via dovecot wrote: Weakforced uses Lua so you can easily integrate DNSBL support into it. How does this help Dovecot block? A link to some documentation or example

Re: Emails redownloading

2019-04-12 Thread azurit--- via dovecot
Citát "B. Reino via dovecot" : On 2019-04-12 07:43, azurit--- via dovecot wrote: Hi, recently, we had a problem on one of our mail servers and, after reboot, HDD with emails wasn't mounted into system. Until we fixed it, LOTS of users logged in (Dovecot allowed login and recr

Re: Mail account brute force / harassment

2019-04-12 Thread mj via dovecot
:27 AM, James via dovecot wrote: On 12/04/2019 08:42, Aki Tuomi via dovecot wrote: On 12.4.2019 10.34, James via dovecot wrote: On 12/04/2019 08:24, Aki Tuomi via dovecot wrote: Weakforced uses Lua so you can easily integrate DNSBL support into it. How does this help Dovecot block? A link to

Doveadm stats

2019-04-12 Thread @lbutlr via dovecot
Are there any examples of the utility of doveadm stats? in the man page: > dump accepts following types: command, session, user, domain, ip and >global. > >Filter can be > >user= > Match given user. I've tried the following commands after looking at the (s

Re: Emails redownloading

2019-04-12 Thread azurit--- via dovecot
Citát "B. Reino via dovecot" : On 2019-04-12 11:05, azurit--- via dovecot wrote: Citát "B. Reino via dovecot" : On 2019-04-12 07:43, azurit--- via dovecot wrote: Hi, recently, we had a problem on one of our mail servers and, after reboot, HDD with emails wasn't m

Re: lmtp_save_to_detail_mailbox override

2019-04-12 Thread @lbutlr via dovecot
On 12 Apr 2019, at 09:06, Andreas Thienemann via dovecot wrote: > > All users except one: Said user asked if it would be possible to disable > subaddressing (localuser+fol...@example.com) again. > > The setting controlling that is AFAIK the lmtp_save_to_detail_mailbox item. I

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2019-04-12 Thread Tanstaafl via dovecot
I'm resurrecting this again because I'm getting pretty close to possibly being ready to install a brand new dovecot server (finally), but I still need for dovecots LMTP to add the x-original-to header. So... was this completed quietly, or is support for it still not there? Thanks, Charles On Tu

Re: Mail account brute force / harassment

2019-04-14 Thread mj via dovecot
Hi, On 4/12/19 11:05 PM, Joseph Tam via dovecot wrote: "www.blocklist.de" is a nifty source.  Could you suggest other publically available blacklists? The ones we are using are: "file:///etc/ipset-blacklist/ip-blacklist-custom.list" # optional, for your perso

Re: Fwd: SOLR/Index?

2019-04-15 Thread Tanstaafl via dovecot
On 4/15/2019, 6:59:59 AM, Larry Rosenman via dovecot wrote: > If I login to roundcube with @lerctr.org <http://lerctr.org> it > finds the autoindexed mail. > > So, if I make everyone always authenticate as @lerctr.org > <http://lerctr.org> we should be fine. You

Documentation update

2019-04-17 Thread azurit--- via dovecot
Hi guys, this page needs to be updated: https://wiki2.dovecot.org/MailLocation/Maildir#Control_files (link was from here: https://wiki2.dovecot.org/MailLocation) Section 'Control files' is mentioning only 2 files but, in fact, Dovecot will store some additional files in CONTROL location: dov

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2019-04-18 Thread Tanstaafl via dovecot
Sadly, I guess not... I'm not sure what to make of this, seeing as both Wietse and Timo said it was almost a trivial thing to fix. On Fri Apr 12 2019 12:17:22 GMT-0400 (Eastern Standard Time), Tanstaafl via dovecot wrote: > I'm resurrecting this again because I'm getti

OAuth Passdb Grant

2019-04-19 Thread Tom via dovecot
I'm trying to implement the password grant flow, as specified at https://wiki2.dovecot.org/PasswordDatabase/oauth2, but am getting an error message. Can you please help? auth: Fatal: oauth2 /etc/dovecot/dovecot-oauth2.token.conf.ext: Error in configuration file /etc/dovecot/dovecot-oauth2.token.co

stats-writer error is back

2019-04-20 Thread @lbutlr via dovecot
1 dovecot dovecot 0 Apr 20 04:34 /var/run/dovecot/stats-writer Apr 20 04:45:00 mail postfix/pipe[80136]: 44mTxm3Mblzc3Td: to=, relay=dovecot, delay=0.06, delays=0.02/0.02/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service (lda(,munged,)Error: net_connect_unix(/var/run/dovecot

Re: stats-writer error is back

2019-04-20 Thread @lbutlr via dovecot
On 20 Apr 2019, at 14:05, Larry Rosenman via dovecot wrote: > service stats { > unix_listener stats-reader { > group = mail Why would I change the group from the group the socket is using? > mode = 0666 That cannot possibly be best practice. I'm not opening up an

Re: stats-writer error is back

2019-04-20 Thread @lbutlr via dovecot
On 20 Apr 2019, at 14:21, Larry Rosenman via dovecot wrote: > Then figure out what user/group needs the access and set the perms. Well, stats-write has an owner and group of dovecot, as I showed. dovecot dovecot 0 Apr 20 04:34 /var/run/dovecot/stats-writer -- 'I thought dwarf

Re: making selected accounts read-only

2019-04-23 Thread @lbutlr via dovecot
On 22 Apr 2019, at 10:20, Peter Chiochetti via dovecot wrote: > Am 22.04.19 um 12:11 schrieb Wojciech Puchar via dovecot: >> how to make selected few accounts readonly by pop3/imap? > > See https://wiki.dovecot.org/ACL > > No mention of pop though… Don't use pop?

Re: Sis to deduplicate attachments does not work?

2019-04-24 Thread Tanstaafl via dovecot
On Wed Apr 24 2019 04:12:30 GMT-0400 (Eastern Standard Time), Daniel Miller via dovecot wrote: > If you've got good hardware, including a proper UPS, I'd recommend dbox > (my server is presently using sdbox). With large mailboxes and > file-based backups you'll

msg header has bad magic value

2019-04-24 Thread 김태용 via dovecot
There was an error saving the message. 'Error: Corrupted dbox file /storage/m.1 (around offset = 21589): msg header has bad magic value' Why do I get an error? How can I fix it?

used Lazyexpunge

2019-04-28 Thread lty via dovecot
I used Lazyexpunge. I tried to create .DELETED without any hints and see that the creation was successful. I want to prevent users from creating .DELETED, what should I do? My settings > plugin { > lazy_expunge = .DELETED/ > } > # > > namespace { > prefix = .DELETED/ > hidden = yes > l

Re: Feature request: exclude IP/network in allow_nets extra field

2019-04-29 Thread @lbutlr via dovecot
On 29 Apr 2019, at 19:56, Zhang Huangbin via dovecot wrote: > Recently we need to allow some users to login from everywhere except some > IP/networks, Can you use firewall rules for this? > how can we accomplish this with "allow_nets"? Allow_nets specifies allowed ne

Re: Feature request: exclude IP/network in allow_nets extra field

2019-04-29 Thread Malcolm via dovecot
On 4/29/2019 11:20 PM, Zhang Huangbin via dovecot wrote: I understand what "allow" means. But it will be very handy to support something like "!a.b.c.d" to allow all but just exclude few IPs/networks. Isn't it? :) I'm not sure why: iptables -A INPUT -p tcp --matc

Re: Feature request: exclude IP/network in allow_nets extra field

2019-04-30 Thread @lbutlr via dovecot
On 30 Apr 2019, at 00:20, Zhang Huangbin via dovecot wrote: > On Apr 30, 2019, at 11:21 AM, @lbutlr via dovecot wrote: >> >> On 29 Apr 2019, at 19:56, Zhang Huangbin via dovecot >> wrote: >>> Recently we need to allow some users to login from everywher

Re: Dovecot release v2.3.6

2019-04-30 Thread James via dovecot
On 30/04/2019 14:21, Aki Tuomi via dovecot wrote: https://dovecot.org/releases/2.3/dovecot-2.3.6.tar.gz Trivial but... "mail-index-transaction-update.c", line 198: void function cannot return value Thanks. --- ../original/src/lib-index/mail-index-transaction-update.c 2019-04

Re: Feature request: exclude IP/network in allow_nets extra field

2019-04-30 Thread andre via dovecot
implemented this myself on a small open source project, I can send you the links of you want. André. Tue Apr 30 02:57:18 GMT+01:00 2019 Zhang Huangbin via dovecot : > Dear all, > > We use `allow_nets`[1] to restrict login clients, it works fine. > Recently we need to allow some users t

Re: Re: Feature request: exclude IP/network in allow_nets extra field

2019-04-30 Thread andre via dovecot
gt; I have implemented this myself on a small open source project, I can send you > the links of you want. > > André. > > Tue Apr 30 02:57:18 GMT+01:00 2019 Zhang Huangbin via dovecot > : > >> Dear all, >> >> We use `allow_nets`[1] to restrict login clients, i

Re: Dovecot release v2.3.6

2019-04-30 Thread @lbutlr via dovecot
On 30 Apr 2019, at 07:21, Aki Tuomi via dovecot wrote: > We are pleased to release Dovecot v2.3.6. pkg adult shows the following, not mentioned in the changes: dovecot-2.3.5.1 is vulnerable: dovecot -- json encoder crash CVE: CVE-2019-10691 WWW: https://vuxml.FreeBSD.org/freebsd/a64aa22f-6

Re: Dovecot release v2.3.6

2019-04-30 Thread @lbutlr via dovecot
On 30 Apr 2019, at 12:11, Aki Tuomi via dovecot wrote: > On 30 April 2019 21:06 @lbutlr via dovecot < dovecot@dovecot.org> wrote: >> >> dovecot-2.3.5.1 is vulnerable: >> dovecot -- json encoder crash >> CVE: CVE-2019-10691 > > We don't usually menti

Understanding virtual mailboxes (examples in 15-mailboxes.conf)

2019-04-30 Thread MRob via dovecot
The examples in 15-mailboxes.conf # If you have a virtual "All messages" mailbox: #mailbox virtual/All { # special_use = \All # comment = All my messages #} # If you have a virtual "Flagged" mailbox: #mailbox virtual/Flagged { # special_use = \Flagged # comment = All my flagg

2.3.6 lib-http assert failure

2019-05-01 Thread Peter via dovecot
connection lost after 100-continue ... : ok test-http-client-errors.c:1319: Assert failed: resp->status == 200 /bin/sh: line 1: 25431 Segmentation fault ./$bin make[3]: Leaving directory `/builddir/build/BUILD/dovecot-2.3.6/src/lib-http' make[3]: *** [check-l

2.3.6 lib-smtp test failure in CentOS 6

2019-05-01 Thread Peter via dovecot
After applying the patches in my previous message... I'm getting the following when building dovecot for CentOS 6 (but not for CentOS 7): lmtp payload - normal: parallel pipelining ssl ... : ok CLIENT: Panic: file smtp-client-connection.c: line 1309 (smtp_client_connectio

dynamic virtual mailboxes?

2019-05-02 Thread MRob via dovecot
hi, I spent time learning about virtual mailboxes. Is there some way to create dynamic virtual mailboxes? I mean, when I look at a mailbox, I want to see only unread messages or flagged messages in that mailbox.

Re: Understanding virtual mailboxes (examples in 15-mailboxes.conf)

2019-05-03 Thread MRob via dovecot
On 2019-05-01 22:14, Daniel Miller via dovecot wrote: On 4/30/2019 11:13 PM, MRob via dovecot wrote: The examples in 15-mailboxes.conf # If you have a virtual "All messages" mailbox:   #mailbox virtual/All {   #  special_use = \All   #  comment = All my messages   #}   # If

Re: dynamic virtual mailboxes?

2019-05-03 Thread MRob via dovecot
On 2019-05-03 16:03, Daniel Miller via dovecot wrote: On 5/2/2019 12:47 PM, MRob via dovecot wrote: hi, I spent time learning about virtual mailboxes. Is there some way to create dynamic virtual mailboxes? I mean, when I look at a mailbox, I want to see only unread messages or flagged messages

Re: 2.3.6 lib-smtp test failure in CentOS 6

2019-05-04 Thread Peter via dovecot
On 2/05/19 4:52 PM, Peter wrote: After applying the patches in my previous message... I'm getting the following when building dovecot for CentOS 6 (but not for CentOS 7): Any ideas on this or my other recent message? Peter

Re: dynamic virtual mailboxes?

2019-05-05 Thread MRob via dovecot
On 2019-05-05 02:37, Daniel Miller via dovecot wrote: On 5/3/2019 11:22 AM, MRob via dovecot wrote:> That is not dynamically generated and it isn't limited to just one mailbox (dovecot terminology here is confusing, normally a mailbox is a mail account (user), but in this context &qu

Re: Question about GIT repository

2019-05-06 Thread @lbutlr via dovecot
On 6 May 2019, at 02:28, Juan C. Blanco via dovecot wrote: > +---+ > | Juan C. Blanco| > | | > | Centr

Re: Question about GIT repository

2019-05-06 Thread Reto via dovecot
> Although I doubt very much anyone on the list needs your mailing address or > phone numbers, this would be ideal: > -- > Man is born free, but is everywhere in chains. > > Says the person with the useless quote banner...

Re: 2.3.6 lib-smtp test failure in CentOS 6

2019-05-06 Thread Peter via dovecot
On 7/05/19 11:08 AM, Stephan Bosch wrote: CLIENT: Error: Raw backtrace: /builddir/build/BUILD/dovecot-2.3.6/src/lib-smtp/.libs/lt-test-smtp-payload() [0x4547ea] -> /builddir/build/BUILD/dovecot-2.3.6/src/lib-smtp/.libs/lt-test-smtp-payload() [0x454891] -> /builddir/build/BUILD/dovecot-2.3.6/s

Re: 2.3.6 lib-smtp test failure in CentOS 6

2019-05-06 Thread Peter via dovecot
On 7/05/19 1:20 PM, Peter wrote: Other than the raw backtrace I left quoted above, unfortunately no. When I just tried to build it again it worked, so it's some intermitent build issue that I can't re-produce.  I'll try a few more times and see if it fails again, though. I ran the failed test

Re: Question about GIT repository

2019-05-07 Thread @lbutlr via dovecot
On 6 May 2019, at 14:58, Reto via dovecot wrote: >> Although I doubt very much anyone on the list needs your mailing address or >> phone numbers, this would be ideal: >> -- >> Man is born free, but is everywhere in chains. > > Says the person with the useless quot

Symlinked mailboxes and dovecot-uidlist.lock

2019-05-07 Thread Dave via dovecot
I have a scenario where I have two users, one account (user1) with it's own Maildir account, and another account (user2) (which I wish to see the same messages) with a symlinked Maildir to user1's Maildir.  I.E.: /home/user1/Maildir /home/user2/Maildir (where this Maildir is symlinked to /home/

Re: Question about GIT repository

2019-05-07 Thread Reto via dovecot
On Tue, May 07, 2019 at 04:36:20AM -0600, @lbutlr via dovecot wrote: > It's not 10 lines. > -- > You try to shape the world to what you want the world to be. Carving > your name a thousand times won't bring you back to me. Oh no, no I > might as well go and tell it to

Dovecot does not recognize imported messages

2019-05-08 Thread lty via dovecot
Today I tried to import mail directly on the server's home directory on the server. I copied it directly. I didn't use the imap protocol. Dovcot didn't recognize these emails. I didn't display these imported emails on my page, recalculating disk quotas. It will not increase the used capacity. I

Re: Dovecot does not recognize imported messages

2019-05-08 Thread lty via dovecot
I put it in the cur/ directory.

How to auto-subscribe to virtual namespace/prefix?

2019-05-08 Thread MRob via dovecot
In virtual namespace I can have: namespace myvirt { location = blah prefix=Virtual/ separator=/ mailbox "My folder" { auto = subscribe } } And i see email clients successful display subscribed "My folder" but the top-level prefix "Virtual/" is not subscribed. I see the Virtual/

<    1   2   3   4   5   6   7   8   9   10   >