Re: How to auto-subscribe to virtual namespace/prefix?

2019-05-08 Thread MRob via dovecot
FYI in subscription file for namespace I see empty line when the top level prefix is subscribed. Works perfectly just need to make it automatic On 2019-05-08 20:50, MRob via dovecot wrote: In virtual namespace I can have: namespace myvirt { location = blah prefix=Virtual/ separator

Re: How to auto-subscribe to virtual namespace/prefix?

2019-05-08 Thread MRob via dovecot
one solution that work is put a mailbox into the parent namespace like: mailbox "Virtual/" { auto = subscribe } nothing in the "namespace myvirt" would work. On 2019-05-08 21:02, MRob via dovecot wrote: FYI in subscription file for namespace I see empty line when the

dict lookup too long time

2019-05-08 Thread hfh--- via dovecot
hi, The following error message sometimes appears on my server log,it causes the mailbox to exceed the disk capacity limit. May 9 09:54:11 imap dovecot: imap(h...@cndns.com): Error: dict-client: Lookup 'priv/quota/storage' failed: Connection closed: read(size=8192) failed: Connection reset by

Re: Re: dict lookup too long time

2019-05-09 Thread hfh--- via dovecot
logging some error,dict process is not dead. h...@cndns.com From: Aki Tuomi via dovecot Date: 2019-05-09 14:21 To: h...@cndns.com; dovecot Subject: Re: dict lookup too long time On 9.5.2019 8.00, hfh--- via dovecot wrote: hi, The following error message sometimes appears on my server log,it

smtputf8

2019-05-09 Thread Jerry via dovecot
I am trying to find out if Dovecot supports "smtputf8". Obviously, I am looking in the wrong places, but I just cannot find a definitive answer. Thanks! -- Jerry pgpvijdRHHK3h.pgp Description: OpenPGP digital signature

Re: smtputf8

2019-05-09 Thread Admin via dovecot
Have a look at this recent discussion: http://dovecot.2317879.n4.nabble.com/SMTPUTF8-support-td67266.html > Am 09.05.2019 um 22:15 schrieb Jerry via dovecot : > > I am trying to find out if Dovecot supports "smtputf8". Obviously, I > am looking in the wrong places, bu

Re: Dovecot does not recognize imported messages

2019-05-09 Thread lty via dovecot
I changed the user permissions, this is a must. Because an email is sent to this user, all emails are identified. > Did you do something like "chown -R vmail:vmail /var/mail" after copy > messages? > > ср, 8 мая 2019 г. в 12:57, lty via dovecot : > > Today I t

Re: smtputf8

2019-05-10 Thread Jerry via dovecot
On Thu, 9 May 2019 22:25:59 +0200, Admin via dovecot stated: >> Am 09.05.2019 um 22:15 schrieb Jerry via dovecot : >> >> I am trying to find out if Dovecot supports "smtputf8". Obviously, I >> am looking in the wrong places, but I just cannot find a definitiv

Re: smtputf8

2019-05-10 Thread Jerry via dovecot
On Fri, 10 May 2019 15:27:03 +0300, Aki Tuomi stated: >On 10.5.2019 13.16, Jerry via dovecot wrote: >> On Thu, 9 May 2019 22:25:59 +0200, Admin via dovecot stated: >> >>>> Am 09.05.2019 um 22:15 schrieb Jerry via dovecot >>>> : >>>> >>

Re: IMAPSieve message marked as HAM should go through full sieve script of user

2019-05-10 Thread @lbutlr via dovecot
On 10 May 2019, at 02:34, Matthias Fechner via dovecot wrote: > If I click in my email program now on `Not Spam` it is learn as HAM but moved > to the INBOX. > I would like that the email is not moved to INBOX but it should be moved > through the sieve script of the user again, as

Re: smtputf8

2019-05-10 Thread @lbutlr via dovecot
On 10 May 2019, at 06:27, Aki Tuomi via dovecot wrote: > On 10.5.2019 13.16, Jerry via dovecot wrote: >> Okay, if I am interpreting that correctly, Dovecot does not support >> "smtputf8". Are there any plans to make Dovecot fully support it? > Yes, there are pl

dovecot 2.2.36 and wforce

2019-05-13 Thread Tobi via dovecot
Hi list I'm trying to setup dovecot 2.2.36 on a Centos6 to communicate with a wforce daemon on the remote side. wforce is latest released from git repo. Daemon part is working and I can successfully send queries from remote systems to wforce via curl For dovecot I configured in /etc/dovecot/conf.

Re: dovecot 2.2.36 and wforce

2019-05-13 Thread Tobi via dovecot
the auth policy settings in dovecot.conf it works like charm :-) Cheers tobi Am 13.05.19 um 18:12 schrieb Aki Tuomi: > >> On 13 May 2019 18:54 Tobi via dovecot wrote: >> >> >> Hi list >> >> I'm trying to setup dovecot 2.2.36 on a Centos6 to communi

weakforced and GeoIP lookups

2019-05-14 Thread Tobi via dovecot
Hi list hope it's okay to ask weakforced questions here as well, but I could not find a dedicated mailinglist for wforce. I want to enable GeoIP lookups in my wforce daemon. In a first step I installed luarocks and lua-compat53 to install mmdblua module. Then I added newGeoIP2DB("country", "/usr

Re: weakforced and GeoIP lookups

2019-05-14 Thread Tobi via dovecot
clean it still shows that GEOIP is not found. Does the lib has to explicitly specified as argument like > --with-maxminddb-libdir to configure? Cheers tobi Am 14.05.19 um 17:14 schrieb Neil Cook via dovecot: > Hi Tobi, > > This looks like you haven’t included the libmaxmin

Re: Graceful dovecot reload for LE certificate renewals

2019-05-14 Thread @lbutlr via dovecot
On 14 May 2019, at 08:24, Sidsel Jensen via dovecot wrote: > Is any work going into implementing a more “graceful reload” for dovecot like > the one for nginx where existing connections are preserved with the old cert > and new connections get the new cert? I hope so. Right now I

Re: weakforced and GeoIP lookups

2019-05-14 Thread Tobi via dovecot
th to maxminddb include directory [default=auto] > --with-maxminddb-libdir path to maxminddb library directory [default=auto] > > Neil > >> On 14 May 2019, at 17:44, Tobi via dovecot > <mailto:dovecot@dovecot.org>> wrote: >> >> Hi Neil >> >> accordin

Re: weakforced and GeoIP lookups

2019-05-14 Thread Tobi via dovecot
--with-maxminddb-includedir >                           path to maxminddb include directory [default=auto] > --with-maxminddb-libdir path to maxminddb library directory [default=auto] > > Neil > >> On 14 May 2019, at 17:44, Tobi via dovecot > <mailto:dovecot@dovecot.org>> wrote

Re: Permissions fix

2019-05-15 Thread Tanstaafl via dovecot
On Wed May 15 2019 12:58:39 GMT-0400 (Eastern Standard Time), Lefteris Tsintjelis via dovecot wrote: > Is there a fast way for dovecot to set and/or fix its directory permissions? I don't think so. I suggested dovecot implement something like postfix does, but I believe the response

imap failing

2019-05-15 Thread @lbutlr via dovecot
mail kernel: pid 59433 (imap-login), uid 0: exited on signal 11 (core dumped) master: Error: service(imap-login): command startup failed, throttling for 16 secs May 15 17:21:37 imap-login: Fatal: master: service(imap-login): child 92934 killed with signal 11 (core dumped) I also get a password

Mutual auth and MS Outlook

2019-05-15 Thread dovecot--- via dovecot
I am trying to get Dovecot IMAP and Outlook to talk to each other with SSL and client certificates enabled. In Dovecot, I have the following options enabled: ssl_ca = ... ssl_verify_client_cert = yes auth_ssl_require_client_cert = yes auth_ssl_username_from_cert = yes when I try to conne

Setting up individual encrypted user keys using mail-crypt-plugin

2019-05-15 Thread emordin via dovecot
Hi, I have setup up a simple mail server using the ISPMail tutorial and I'm trying to learn how to create email encryption at rest. I'm having a tough time understanding how to set this up... So say a user logins thru roundcube and they type in their password...so the password authenticates to

Re: imap failing

2019-05-16 Thread LuKreme via dovecot
Ugh. Sorry about this, using gmail and it’s weird and annoying meant to send to list On Thu, May 16, 2019 at 00:46 LuKreme wrote: > One more bit of info. After leaving s_client up for a bit, I got another > line > > CONNECTED(0003) > 675481056:error:140790E5:SSL routines:ssl23_write:ssl hand

Re: imap failing

2019-05-16 Thread LuKreme via dovecot
At a loss. I've removed and reinstalled all the ports that use openssl.so.10 now, and still having the same issue. At this point, I'm looking at just upgrading the whole system to freebsd 12.0 and seeing what happens. Not sure why the core files don't seem to cooperate with gdb, butI assume that is

Re: imap failing

2019-05-18 Thread @lbutlr via dovecot
On 16 May 2019, at 12:58, LuKreme via dovecot wrote: > At a loss. I've removed and reinstalled all the ports that use > openssl.so.10 now, and still having the same issue. Was never able to get this sorted out, and the attempt to update to FreeBSD12 in-lace did not work, so I ended

Do we need ssl_dh_parameters_length in version 2.3

2019-05-18 Thread MRob via dovecot
Hi, I couldn't really find documentation about ssl_dh_parameters_length except for mention in passing on the page https://wiki2.dovecot.org/SSL/DovecotConfiguration For version 2.3 and above is that setting necessary? If so what are the values I can use, is setting it high like 4096 beneficial

Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-19 Thread mabi via dovecot
Hello, I am trying to setup the last_login plugin on Dovecot 2.3 in order to log a user's last IMAP login into a separate PostgreSQL table called last_login. I am actually following that guide: https://docs.iredmail.org/track.user.last.login.html with the exception that I use PostgreSQL instea

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-19 Thread mabi via dovecot
‐‐‐ Original Message ‐‐‐ On Sunday, May 19, 2019 2:58 PM, John Fawcett via dovecot wrote: > I guess it is not supported for PostgreSQL or Sqlite, since they don't > have "ON DUPLICATE KEY UPDATE" statement which is what is being used in > MySQL. That's it,

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-19 Thread mabi via dovecot
‐‐‐ Original Message ‐‐‐ On Sunday, May 19, 2019 3:57 PM, Aki Tuomi wrote: > It would be a feature request, also note that it's only available since > version 9.5, so it really won't help anyone before that. Would opening an issue as feature request on GitHub on the dovecot/core project

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-19 Thread mabi via dovecot
‐‐‐ Original Message ‐‐‐ On Sunday, May 19, 2019 4:44 PM, John Fawcett via dovecot wrote: > I don't have PostgresSql, would you be able to verify if this syntax would > work: INSERT INTO last_logins (last_login,username,domain) VALUES > (1558273000,'u...@domain.tl

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-19 Thread mabi via dovecot
‐‐‐ Original Message ‐‐‐ On Sunday, May 19, 2019 7:36 PM, John Fawcett via dovecot wrote: > Attached is a tentative patch. I've verified no regression for mysql. There > should be no regression for sqlite as the code path is identical. > > Are you able to test for pg

Permission denied

2019-05-19 Thread @lbutlr via dovecot
mail dovecot: lda(user@domain)<955>: msgid=<4562sm6yyyzv...@mail.covisp.net>: save failed to INBOX: Mailbox INBOX: open(/usr/local/virtual/user@domain/tmp/1558293345.M130062P955.mail.covisp.net) failed: Permission denied The permissions on /usr/local/virual have not changed and are still owed b

Directory name have some malicious characters.

2019-05-19 Thread hfh via dovecot
Directory name have some malicious characters, is it safe?How can I exclude some characters,thanks!

Create a malicious directory

2019-05-19 Thread lty via dovecot
Use scripts to create some malicious directories. Here is my creation process. How can I prevent the creation of these directories? I used the python imapclient script to create a directory. There may be no big threat to dovecot, but it is dangerous for doveadm.

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-19 Thread mabi via dovecot
‐‐‐ Original Message ‐‐‐ On Sunday, May 19, 2019 10:45 PM, John Fawcett via dovecot wrote: > so basically if this works just as well: > > INSERT INTO last_logins (last_login,username,domain) VALUES > (1558273000,'u...@domain.tld','domain.tld') ON CONF

Re: Create a malicious directory

2019-05-20 Thread Reto via dovecot
How is that dangerous? If you pipe output from a directory listing to *any* command you need to sanitize it. That's normal if you have data that can be created by a user. The issue is known since the very beginning of Linux

Re: Create a malicious directory

2019-05-20 Thread @lbutlr via dovecot
On 20 May 2019, at 06:50, Reto via dovecot wrote: > How is that dangerous? Exactly. -- At night when the bars close down Brandy walks through a silent town And loves a man who's not around

[mail-crypt-plugin] How to decrypt mailbox?

2019-05-20 Thread emordin via dovecot
Hi, So I am able to encrypt email using the crypt plugin, but when I try to access the email by logging in thru mutt or roundcube the email is still encrypted. Is the decryption process automatic or do I have to create a custom program with the decrypt.rb code? Thanks. Sent with [ProtonMail](h

Dovecot documentation

2019-05-21 Thread @lbutlr via dovecot
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

Problems after upgrade from 2.2 to 2.3

2019-05-21 Thread Lampa via dovecot
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: Resour

Re: JMAP support in Dovecot

2019-05-21 Thread Tanstaafl via 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

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-21 Thread mabi via dovecot
‐‐‐ 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

How to get original recipient from Postfix when using LMTP?

2019-05-21 Thread MRob via dovecot
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

[mail-crypt-plugin] How to decrypt mailbox?

2019-05-21 Thread emordin via dovecot
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_pl

weakforced: Possible to access the ip address of report/allow?

2019-05-21 Thread Tobi via dovecot
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

Re: weakforced: Possible to access the ip address of report/allow?

2019-05-22 Thread Tobi via dovecot
d=%{client_id} protocol=%s > > But you can add additional parameters: > > login=%{requested_username} pwhash=%{hashed_password} remote=%{rip} > device_id=%{client_id} protocol=%s attrs/local_ip=%{lip} > > The above will add the local dovecot IP address to the attrs, which can then &g

Re: JMAP support in Dovecot

2019-05-22 Thread Tanstaafl via dovecot
On Wed May 22 2019 05:44:59 GMT-0400 (Eastern Standard Time), Aki Tuomi via dovecot wrote: > Unfortunately we have not been able to work on this much, but also the > JMAP spec was until very recently still being worked. We have open > dialogue with the Thunderbird people, they haven

Re: How to get original recipient from Postfix when using LMTP?

2019-05-22 Thread MRob via dovecot
On 2019-05-22 08:18, Tuomo Soini via dovecot wrote: On Tue, 21 May 2019 18:24:46 + MRob via dovecot wrote: 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

Re: How to get original recipient from Postfix when using LMTP?

2019-05-22 Thread Tanstaafl via dovecot
On Wed May 22 2019 13:34:42 GMT-0400 (Eastern Standard Time), MRob via dovecot wrote: > On 2019-05-22 08:18, Tuomo Soini via dovecot wrote: >> On Tue, 21 May 2019 18:24:46 + >> MRob via dovecot wrote: >> >>> Many people prefer to use LMTP for delivery from pos

Re: JMAP support in Dovecot

2019-05-22 Thread @lbutlr via dovecot
On 22 May 2019, at 07:42, Tanstaafl via dovecot wrote: > Thanks Aki - no pressing need because of the old chicken/egg problem I > guess... I have to say, looking at JAMP it looks very interesting. I'd love to throw a JAMP webmail implementation up and play with it. -- "I

Catch all for dovecot authentication?

2019-05-23 Thread Tobi via dovecot
Hi I'm aware that there are several good reasons not to do what I want, but in my use-case it would be an interesting feature. So please no discussions about the reasonableness I have some spamtrap SMTP servers (postfix). Currently SMTP AUTH is disabled. But as I daily have thousands of AUTH trie

Re: Catch all for dovecot authentication?

2019-05-23 Thread @lbutlr via dovecot
On 23 May 2019, at 01:44, Marc Roos via dovecot wrote: > I would like to redirect sometimes a user to a 5GB garbage messages mailbox. So you want to setup a service where random spammer/hacker can trivially DDOS your system? How many simultaneous 5GB streams can you handle? How much will y

Re: Catch all for dovecot authentication?

2019-05-23 Thread Tobi via dovecot
ls with virusses, available to download? > > > > -Original Message- > From: Tobi via dovecot [mailto:dovecot@dovecot.org] > Sent: donderdag 23 mei 2019 9:12 > To: dovecot@dovecot.org > Subject: Catch all for dovecot authentication? > > Hi > > I'm aware

MailCrypt plugin questions

2019-05-23 Thread MRob via dovecot
I read the mailcrypt plugin document on the wiki and had couple questions. 1. If I want per-user encryption am I correct I should configure global keys with all related settings override in the userdb lookup? 2. If I do not want to encrypt some user accounts, is it enough to omit the mail_cr

Re: MailCrypt plugin questions

2019-05-23 Thread MRob via dovecot
1. If I want per-user encryption am I correct I should configure global keys with all related settings override in the userdb lookup? 2. If I do not want to encrypt some user accounts, is it enough to omit the mail_crypt_global_private_key from the userdb lookup? In other word, mail_plugins st

Workaround for infinite loop in XCLIENT command bug

2019-05-24 Thread mabi via dovecot
Hello, I am running Dovecot 2.3.5 package on OpenBSD 6.5 and it looks like this bug which has been fixed in 2.3.6 is hitting me: lib-smtp: client: Fix infinite loop in XCLIENT command interaction with server https://github.com/dovecot/core/commit/5d03f39b345127b80d145ee90772739baa7ab810 so I wa

Re: Workaround for infinite loop in XCLIENT command bug

2019-05-24 Thread mabi via dovecot
‐‐‐ Original Message ‐‐‐ On Friday, May 24, 2019 10:40 AM, Aki Tuomi via dovecot wrote: > Try setting login_trusted_networks= Thank you Aki for your answer. Unfortunately on my Dovecot mailbox backend servers I already have login_trusted_networks set to the IP of my Dovecot L

Re: Workaround for infinite loop in XCLIENT command bug

2019-05-24 Thread mabi via dovecot
‐‐‐ Original Message ‐‐‐ On Friday, May 24, 2019 11:23 AM, Aki Tuomi wrote: > There is no maintainer for this package in OpenBSD? Not really, well AFAIK packages for OpenBSD are updated every 6 months with the new release of OpenBSD which is always around May and November. Exceptions ar

Re: Workaround for infinite loop in XCLIENT command bug

2019-05-26 Thread mabi via dovecot
‐‐‐ Original Message ‐‐‐ On Saturday, May 25, 2019 12:18 AM, Sami Ketola via dovecot wrote: > just add: > > protocol lmtp { > login_trusted_networks= > } Thank you so much Sami for the further details. I added the login_trusted_networks specifically to the lmtp protoco

Unknown error message

2019-05-26 Thread Jerry via dovecot
dovecot 2.3.6 (7eab80676) FreeBSD 12.0-RELEASE-p5 amd64 I have recently been finding error messages similar to the following in my Dovecot log file: May 26 06:58:32 imap(ger...@seibercom.net)<87791>: Error: stat(/var/mail/vmail/seibercom.net/gerard/.dovecot.sieve/tmp) failed: Not a directory T

Re: Unknown error message

2019-05-26 Thread Luuk via dovecot
On 26-5-2019 13:53, Jerry via dovecot wrote: dovecot 2.3.6 (7eab80676) FreeBSD 12.0-RELEASE-p5 amd64 I have recently been finding error messages similar to the following in my Dovecot log file: May 26 06:58:32 imap(ger...@seibercom.net)<87791>: Error: stat(/var/mail/vmail/seiberc

pam authentication error?

2019-05-27 Thread @lbutlr via dovecot
Getting this: auth-worker(5045): Error: pam(kremels,xxx.xxx.xxx.xxx: pam_authenticate() failed: authentication error (/etc/pam.d/dovecot missing?) # cat /etc/pam.d/dovcot authrequiredpam_unix.so nullok account requiredpam_unix.so (file was last updated in April of 2018) pa

ssl_dh

2019-05-27 Thread @lbutlr via dovecot
Does ssl_dh need to be manually updated each time the underlying certificate renews? -- 2+2=5 for sufficiently large values of 2.

Re: pam authentication error?

2019-05-27 Thread @lbutlr via dovecot
On 27 May 2019, at 14:18, @lbutlr via dovecot wrote: > auth-worker(5045): Error: pam(kremels,xxx.xxx.xxx.xxx: pam_authenticate() > failed: authentication error (/etc/pam.d/dovecot missing?) Stopped dovecot, reloaded it, stopped it and postfix, rebuilt dovecot just for grins. Nothing see

Re: Hello some help on login users saying it's disabled

2019-05-27 Thread @lbutlr via dovecot
On 25 May 2019, at 15:34, Remo Mattei via dovecot wrote: > Hello I am experiencing some strange issue with the dovecot, the web round > cube works fine but when I try to connect with an iPhone over IMAP IMAPs it > tells me that the account is disabled. Should be fine. Most my user

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-28 Thread mabi via dovecot
‐‐‐ Original Message ‐‐‐ On Monday, May 20, 2019 12:37 AM, John Fawcett via dovecot wrote: > 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). > > The

mail_max_userip_connections

2019-05-28 Thread hfh--- via dovecot
mail_max_userip_connections Can I set up an ip whitelist list, and the ip in this whitelist is unrestricted? thanks!!! h...@cndns.com

Re: Convert Maildir to Dbox?

2019-05-28 Thread @lbutlr via dovecot
Are you sure you read it? https://wiki2.dovecot.org/MailboxFormat/dbox seems pretty clear. -- This is my signature. There are many like it, but this one is mine.

Re: Dict issue with PostgreSQL for last_login plugin (duplicate key)

2019-05-28 Thread mabi via dovecot
‐‐‐ Original Message ‐‐‐ On Wednesday, May 29, 2019 8:01 AM, Aki Tuomi wrote: > We'll take this under consideration, but no promises. Thank you very much Aki for consdering this. It would be really fair for all the PostgreSQL users out there.

Re: JMAP support in Dovecot

2019-05-29 Thread Tanstaafl via dovecot
e to read about actual user experiences - how about a collection of comments from your users? Thanks again, Charles p.s. Even though I've always hosted my own, I'm very tempted to sign up for a paid account to see for myself. On Tue May 28 2019 03:49:25 GMT-0400 (Eastern Standard Time),

Re: Convert Maildir to Dbox?

2019-05-29 Thread Tanstaafl via dovecot
On Wed May 29 2019 02:00:24 GMT-0400 (Eastern Standard Time), Aki Tuomi via dovecot wrote: > On 29.5.2019 8.17, @lbutlr via dovecot wrote: >> Are you sure you read >> it? https://wiki2.dovecot.org/MailboxFormat/dbox seems pretty clear. > David, in particular, is there some ques

[mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-29 Thread emordin via dovecot
In Folder key plugin operation mode, using the following password query: password_query = SELECT \ email as user, password, \ '%w' AS userdb_mail_crypt_private_password \ FROM virtual_users WHERE email='%u'; Say I have two 'email' users...will each 'email' have a 'userdb_mail_crypt_private_passw

failed to pipe to program sa-learn-spam.sh

2019-05-30 Thread @lbutlr via dovecot
Error: program `/usr/lib/dovecot/sieve/sa-learn-spam.sh' terminated abnormally, signal 11 Error: sieve: pipe action: failed to pipe message to program `sa-learn-spam.sh': refer to server log for more information. [2019-05-29 17:59:12] What server log? This is all that get logged. # pwd /usr/l

[mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-30 Thread emordin via dovecot
Please disregard the previous question. But I have another... I have set up Folder Key encryption, and have sent an email to my mail server which is CRYPTED, however when I try to login to read the email I'm getting a 'Private key not available: Cannot decrypt <...>: error:03070068:bignum routi

[mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-30 Thread emordin via dovecot
So I believe I generated a key successfully with: 'doveadm mailbox cryptokey generate -u user -UR' because I got the output with the check mark and the Public ID string of characters. However I still can't read the CRYPTED emails when logging in with IMAP.. i'm still getting the following error

[mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-31 Thread emordin via dovecot
> Can you try > > doveadm -o plugin/mail_crypt_private_password=desired_password mailbox > > cryptokey generate -u user -UR > > Aki I tried that and got the following: user@host:~$ doveadm -o plugin/mail_crypt_private_password=desired_password mailbox > cryptokey generate -u user -UR Folder Pu

(4) [mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-31 Thread emordin via dovecot
>> Can you try >> >> doveadm -o plugin/mail_crypt_private_password=desired_password mailbox > cryptokey generate -u user -UR >> >> Aki > > I tried that and got the following: > > [user at host](https://dovecot.org/mailman/listinfo/dovecot) :~$ doveadm -o plugin/mail_crypt_private_password=

[mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-31 Thread emordin via dovecot
So when I tried this way I got the following output: user'@'host:~$ doveadm -o plugin/mail_crypt_private_password=desired_password mailbox > cryptokey generate -u user -UR user'@'host:~$ And when I tried this way I got the following output: user'@'host:~$doveadm -o plugin/mail_crypt_private_p

[mail-crypt-plugin] Password Query for Folder Keys questions

2019-05-31 Thread emordin via dovecot
> Can you try rm dovecot-attributes file? Okay it worked. I kinda did that by 'rm -rf' the entire /var/vmail/domain, and then I ran the following: doveadm -o plugin/mail_crypt_private_password=desired_password mailbox cryptokey generate -u user -UR And I got the check mark and the ID string of

[mail-crypt-plugin] Private key location in Folder Key Mode

2019-05-31 Thread emordin via dovecot
Hi, So I am trying to locate the private key in dovecot-attributes but I can't seem to find it. I have went thru the strings in the file with the lib-dcrypt document as a guide but the private key doesn't seem to be in there. I'm guessing the private key is an internal attribute located here '

[mail-crypt-plugin] Private key location in Folder Key Mode

2019-06-01 Thread emordin via dovecot
Nice. It worked but I think there is a little output error (probably not a big issue): When I type the following command I get this output: user'@'host:~$ doveadm -o plugin/mail_crypt_private_private_password=1234 mailbox cryptokey export -u username -U /var/vmail/domain/username/Maildir/dovec

Re: Stats/Metrics in 2.3

2019-06-02 Thread @lbutlr via dovecot
On Jun 2, 2019, at 8:23 AM, Nikolai Lusan via dovecot wrote: > I have attached my current /etc/dovecot/conf.d/10-stats.conf The list does not allow attachments, so a link to the file somewhere like pastern or dropbox or whatever is needed for people to see the file. Or simply paste the f

Re: Stats/Metrics in 2.3

2019-06-02 Thread @lbutlr via dovecot
On Jun 2, 2019, at 8:36 AM, @lbutlr via dovecot wrote: > somewhere like pastern or dropbox Pastebin, even. -- "I am enclosing two tickets to the first night of my new play; bring a friend if you have one." - GB Shaw to Churchill "Cannot possibly attend first night,

Re: Stats/Metrics in 2.3

2019-06-02 Thread @lbutlr via dovecot
On Jun 2, 2019, at 11:40 AM, Charles Marcus via dovecot wrote: > On June 2, 2019 10:36:11 AM EDT, "@lbutlr via dovecot" > wrote: >> >> On Jun 2, 2019, at 8:23 AM, Nikolai Lusan via dovecot >> wrote: >>> I have attached my current /etc/dovecot/con

Re: Stats/Metrics in 2.3

2019-06-03 Thread Tanstaafl via dovecot
On 6/2/2019, 1:46:37 PM, @lbutlr via dovecot wrote: > Yep, I just wasn’t sure how large that file might be (One mailing > list didn’t like the inline 14,000 line log file for some > inexplicable reason). Well, there is a pretty big difference between a huge log file and a small co

Re: failed to pipe to program sa-learn-spam.sh

2019-06-06 Thread @lbutlr via dovecot
On Jun 4, 2019, at 1:43 PM, Stephan Bosch via dovecot wrote: > Op 30-5-2019 om 9:46 schreef @lbutlr via dovecot: >> Error: program `/usr/lib/dovecot/sieve/sa-learn-spam.sh' terminated >> abnormally, signal 11 >> Error: sieve: pipe action: failed to pipe message to pro

Re: failed to pipe to program sa-learn-spam.sh

2019-06-06 Thread @lbutlr via dovecot
On Jun 6, 2019, at 4:45 AM, @lbutlr via dovecot wrote: > imapsieve_mailbox2_before = file:/usr/lib/dovecot/sieve/report-ham.sieve > imapsieve_mailbox2_causes = COPY > imapsieve_mailbox2_from = Junk > imapsieve_mailbox2_name = * One other note, this sieve works just fine.

Re: failed to pipe to program sa-learn-spam.sh

2019-06-06 Thread @lbutlr via dovecot
On Jun 6, 2019, at 1:03 PM, @lbutlr via dovecot wrote: > On Jun 6, 2019, at 4:45 AM, @lbutlr via dovecot wrote: >> imapsieve_mailbox2_before = file:/usr/lib/dovecot/sieve/report-ham.sieve >> imapsieve_mailbox2_causes = COPY >> imapsieve_mailbox2_from = Junk >&

Re: failed to pipe to program sa-learn-spam.sh

2019-06-06 Thread @lbutlr via dovecot
On Jun 6, 2019, at 1:18 PM, @lbutlr via dovecot wrote: > Hang on. I think this might be sa-learn that is crashing. Fixing sa-learn eliminated the error dovecot was reporting. -- When the stars threw down their spears And watered heaven with their tears, Did He smile his work to see? Did

doveconf complains No matches on !include conf.d/* line but still writes out contents in conf.d

2019-06-08 Thread runappz via dovecot
I'm on dovecot 2.3.3 (dcead646b). Output of `dovecot -n`: # 2.3.3 (dcead646b): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.3 (f018bbab) doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 98: No matches doveconf: Error: managesieve-login: dump-capability process r

Case sensitive problem for vacation with dovecot lmtp pigeonhole

2019-06-09 Thread kadafax--- via dovecot
Hi list, This issue was raised here by John Fawcett on 12/02/19 but got no response. So, as I'm facing the same issue, I would like to try again: When using the vacation sieve extension, if I send an email to user.n...@mydomain.com it will work, but not to user.n...@mydomain.com. Is there a wa

Sql user and maildirs

2019-06-09 Thread @lbutlr via dovecot
For many years I had the following in my dovecot.conf: userdb { args = /usr/local/etc/dovecot/dovecot-sql.conf.ext default_fields = uid=vpopmail gid=vchkpw mail_location=/usr/local/virtual/%u/Maildir mail=maildir:/usr/local/virtual/%u/Maildir driver = sql } Recently, I started having quit

Re: Compile problem on Solaris

2019-06-10 Thread James via dovecot
On 10/06/2019 14:40, Roderick Johnstone via dovecot wrote: Compiling dovecot 2.2.36.1 with the native compiler on Solaris 10 is giving the error below. ... -m64 -c -o sha3.lo sha3.c libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I/export/home/exim_build_20190605/build_local/include -m64

Re: Sql user and maildirs

2019-06-10 Thread @lbutlr via dovecot
On 9 Jun2019, at 09:42, @lbutlr via dovecot wrote: > …should I set concat('/usr/local/virtual/', maildir) as home and also set > concat(‘maildir:/usr/local/virtual/', maildir, 'Maildir') as mail here rather > than in the userdb block? I went ahed and did this

Sieve to strip html from multipart messages

2019-06-10 Thread @lbutlr via dovecot
Is is possible (I’m sure it is, so how) to strip multipart messages that are HTML and text of the HTML portion and leave the bare text message without also stripping other parts (like images or attached files). Or also to take messages that are only HTML and strip the HTML and replace it with a

Updating passwords

2019-06-12 Thread @lbutlr via dovecot
I created some new users in my MySQL database using postfoxadmin. The passwords looked correct in the database and show the right prefix {SHA256-CRYPT} but logins were failing, so I manually created new passwords from the command line: doveadm pw -s SHA256-CRYPT -p “a password" -u krem...@kreme

Re: Updating passwords

2019-06-12 Thread @lbutlr via dovecot
> On 12 Jun2019, at 13:47, @lbutlr wrote: > > doveadm pw -s SHA256-CRYPT -p “a password" -u krem...@kreme.com Well, I did make SOME progress. One fo the passwords that I simply could not get to work at all had a $ in it, and evidently;y the shell expansion kicked in with the double quotes.

Sieve logging?

2019-06-12 Thread @lbutlr via dovecot
I am trying to create some sieve scripts to filter my mailing lists and am wondering if sieve logs anywhere, and it so where? I don’t see anything in mail.log beyond lines like: dovecot: lda(krem...@kreme.com)<39790>: sieve: msgid=<267d5d71-d99c-4790-8706-c1a92bcc9...@kreme.com>: stored mail in

Re: Sieve logging?

2019-06-13 Thread @lbutlr via dovecot
On 13 Jun2019, at 02:18, Matt Anton via dovecot wrote: > > Sieve logs are in users’s homes and can be configured with « sieve_user_log »: > > « sieve_user_log = > The path to the file where the user log file is written. If not configured, a > default location is used.

Re: Sieve to strip html from multipart messages

2019-06-13 Thread @lbutlr via dovecot
On 13 Jun2019, at 05:57, David Pottage via dovecot wrote: > On 2019-06-10 20:39, @lbutlr via dovecot wrote: >> Is is possible (I’m sure it is, so how) to strip multipart messages >> that are HTML and text of the HTML portion and leave the bare text >> message without also

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