Writing custom sieve plugins and extensions

2025-02-05 Thread Mark via dovecot
I am a pretty heavy user of Sieve, and one of the services where I have extensive Sieve scripts is Protonmail.  For my own mailserver setup, Dovecot's sieve-test has been excellent. I have a library of example email messages, and my own tooling setup for being able to test whether a given change

Re: The end of Dovecot Director?

2022-11-01 Thread Mark Moseley
TL;DR: Sure, this affects medium/large/Enterprise folks (that's where I was using Director -- though currently retired, so no existing self-interest in this email). This will also affect *any* installation with a whopping two dovecot servers with mdbox backends talking to a single li

Re: Thunderbird can't connect to Dovecot (bad certificate: SSL alert number 42)

2022-09-14 Thread Mark Stevens
allow the exception. I allowed the exception which worked and TB is fine now. I only did this because my ssl cert is a wildcard for the domain but does not explicitly list the hostname. Mark On 9/14/2022 8:23 AM, Meikel wrote: Hello. Am 14.09.2022 um 13:59 schrieb Christian Mack: Sound to me

Simplifying Support of Virtual and System Users

2022-03-28 Thread Mark Olbert
ils-when-using-usernamedomain-format> on ServerFault. It works fine. But being able to pass a username_format parameter to the PAM module (which I tried, but it was rejected) would be a lot simpler, and a lot more intuitive. - Mark

Re: TLS connection closed unexpectedly

2022-01-07 Thread Mark Moseley
On Fri, Jan 7, 2022 at 1:34 PM John Fawcett wrote: > On 07/01/2022 21:03, Ken Wright wrote: > > On Fri, 2022-01-07 at 18:50 +0100, John Fawcett wrote: > >> it may or may not be related to the tls issue, but I think you will > >> want to investigate that message about the SQL query syntax error. >

Re: JMAP support?

2021-03-08 Thread Mark Constable
On 8/3/21 18:08, @lbutlr wrote: Two years on so what is the status of JMAP support in Dovecot now? I don't think anything has changed on this front. Last I saw, only Cyrus has partial support for JMAP mail, but not the other parts of JMAP. Such a pity. I just two weeks battling with Cyrus-i

JMAP support?

2021-03-07 Thread Mark Constable
On Fri Jan 25 2019 Aki wrote: > There is no JMAP support in any dovecot version yet. Two years on so what is the status of JMAP support in Dovecot now?

Re: Why Last-login?

2021-03-03 Thread Mark Moseley
On Wed, Mar 3, 2021 at 11:16 AM @lbutlr wrote: > On 03 Mar 2021, at 05:33, Yassine Chaouche > wrote: > >> Am I missing some reason I would need/want to keep track of that > specific login time separately? > > > What about mbox files ? > > Is anyone foolish enough to use mbox in 2021? > > It's de

LMDB support?

2021-02-23 Thread Mark Constable
Hi all, is there any way I could use LMDB for userdb and passdb lookups?

Feature Request: Redis support for username and TLS

2020-11-03 Thread Mark Moseley
I was wondering if there was any imminent support in 2.3.12+ for using a username to log into Redis, as well as support for using TLS to connect to Redis. And if not, I'd like to put in a feature request for those two things (AUTH with username/password, and TLS connections to Redis). Specifically

Re: Sieve filter script EXECUTION FAILED

2020-10-30 Thread Mark Moseley
On Fri, Oct 30, 2020 at 11:34 AM @lbutlr wrote: > On 30 Oct 2020, at 11:57, Aki Tuomi wrote: > > But I think the sed here is missing 's' from start, so this does not > actually do anything... > > Copy/paste/edit error. The s is there in the file. > > darkmode.sh: > #!/bin/sh > echo $1 | sed -e '

Re: LMTP Authentication Error

2020-10-11 Thread Mark Moseley
On Sat, Oct 10, 2020 at 12:08 PM David Morsberger wrote: > I wish someone could help me. I’m trying to track auth in the lmtp code. > Nice code base but I’m having trouble tracking the call stack for the error > > Sent from my iPhone > > > On Oct 9, 2020, at 08:00, David Morsberger wrote: > > >

Re: Backup questions - errors

2020-09-06 Thread Mark Patruck
On 8/28/20 9:54 AM, Mark Patruck wrote: Hi, although i've search the archives, there are questions left regarding backup strategies and errors that occur. I'm using dovecot 2.3.11.3 with mdbox (mailbox size 50MB - 30GB). Every night, i ran the following command: doveadm -o mail_f

Backup questions - errors

2020-08-28 Thread Mark Patruck
og_file_seq 38 -> 39 Error: Mailbox list index was marked as fsck'd mdbox/dovecot.list.index Error: Mailbox list index was marked as fsck'd mdbox/dovecot.list.index Error: Mailbox list index was marked as fsck'd mdbox/dovecot.list.index Thanks, -Mark -- M

Re: I need some help with my Dovecot and Postfix configs - I'm unable to log in on my mail server

2020-07-19 Thread Mark Constable
On 19/7/20 8:43 pm, Bernardo Reino wrote: You can also read: https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration and set-up the necessary XML file at your server so that Thunderbird can pickup the settings automatically. I've done this for one server, but don't have t

Re: Outlook vs Thunderbird

2020-07-15 Thread Mark Constable
DSA # https://ssl-config.mozilla.org MEDIUM # openssl dhparam -dsaparam 2048 > /etc/dovecot/dh.pem #ssl_prefer_server_ciphers = no #ssl_min_protocol = TLSv1.2 #ssl_cipher_list = ECDHE-ECDSA ~ dovecot --version 2.3.7.2 (3c910f64b) Apologies to the OP for hijacking this thread. -- Mark Con

Re: Dovecot permission denied errors on NFS after upgrade to 2.2.17

2020-07-13 Thread Mark Moseley
On Mon, Jul 13, 2020 at 7:36 AM Claudio Corvino wrote: > Thanks Jochen, > > no mixups present at all, file assigned to UID 501. > > Since this problem started few hours after the Debian upgrade, I think > it is related to it. > > I don't know if something has changed on the NFS client side on Deb

Re: Outlook vs Thunderbird (re disabling SSL)

2020-07-07 Thread Mark Constable
On 8/7/20 2:04 am, Alexander Dalloz wrote: FWIW I meant if the client is Windows7/old-Outlook then changing either 993/SSL or 143/STARTTLS to 143/NONE could help pick up the mail. We had to do this for a 100 or so clients a few months ago after upgrading to Ubuntu 20.04. Curious, what's the rat

Re: Outlook vs Thunderbird

2020-07-06 Thread Mark Constable
On 7/7/20 3:50 pm, @lbutlr wrote: you could try disabling SSL/STARTTLS on port 143. What? I’ve never seen SSL/StARTTLS on port 143,a dn I doubt that would work? I thought you had a problem picking up IMAP mail. I see now you mean you move messages within Thunderbird and the Outlook 2010 app d

Re: Outlook vs Thunderbird

2020-07-06 Thread Mark Constable
old version of Outlook has passed its time. FWIW if they happen to be using Windows7 and dovecot has been updated recently then you could try disabling SSL/STARTTLS on port 143. -- Mark Constable 0419 530 037 https://spiderweb.com.au

Re: Apple mail works but thunderbird unable to connect

2020-06-22 Thread Mark Stevens
make sure ports are set correctly in IPtables as it seems to be failing on TLS/SSL (open port 993) Mark On 6/22/2020 12:19 PM, Dshah wrote: Dear all, I am stuck on this issue for days, I am able to connect on my IMAP server using Apple mail client but thunderbird shows me this error

Re: Send SPF SoftFails to Junk

2020-06-13 Thread Mark Constable
On 14/6/20 8:07 am, Scott A. Wozny wrote: Messages from domains set with a softfail that come from bad sources are tagged in the message header with "Softfail (domain owner discourages use of this host)", but end up in the user's Inbox, anyway. I suppose I kind of figured DoceCot would see the S

I can no longer use TLS for Windows7 and Outlook

2020-05-30 Thread Mark Constable
I currently use Ubuntu 20.04 with Dovecot 2.3.7.2 and OpenSSL 1.1.1f. A few months ago there was an update to all these systems and since then I've had to talk W7 and old Mac clients through disabling ports 993/995 with TLS enabled back to ports 143/110 without SSL or they could not pick up email

Re: SV: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new ma

2020-05-09 Thread Mark Constable
On 10/5/20 3:33 am, Sebastian Nielsen wrote: And then this in plugins.conf: plugin { sieve_plugins = sieve_imapsieve imapsieve_mailbox1_name = Trash imapsieve_mailbox1_before = file:/etc/dovecot/sieve/trash.sieve } Maybe adding this will help... imapsieve_mailbox1_causes = COPY FLAG

Re: Seive + Spamprobe terminates with signal 6

2020-05-08 Thread Mark Constable
On 22/4/20 10:40 am, Mark Constable wrote: Ubuntu 20.04, Dovecot 2.3.7.2, SpamProbe v1.4d. For the past weeks my sieve filters that call spamprobe have been crashing out for some users. For Googles sake, solved. I reverted to the older Bionic version of the Ubuntu spamprobe package and that

Re: problem with a public folder

2020-04-24 Thread Mark Constable
mail/public prefix = Public/ separator = / subscriptions = yes type = public } -- Mark Constable 0419 530 037 https://spiderweb.com.au

Re: problem with a public folder

2020-04-24 Thread Mark Constable
ail 512 Apr 15 23:20 .TestFolder/ Try renaming the above folder to TestFolder (remove the dot). namespace { location = sdbox:/var/vmail/public/:CONTROL=~/mail/public:INDEX=~/mail/public:INDEXPVT=~/mail/public prefix = Public/ separator = / subscriptions = yes type = public } --

Seive + Spamprobe terminates with signal 6

2020-04-21 Thread Mark Constable
xecute sieve_max_redirects = 30 sieve_max_script_size = 1M sieve_pipe_bin_dir = /etc/dovecot/sieve sieve_plugins = sieve_imapsieve sieve_extprograms sieve_quota_max_scripts = 0 sieve_quota_max_storage = 0 sieve_redirect_envelope_from = recipient sieve_vacation_default_period = 60s sieve_vacation_max_period = 0 sieve_vacation_min_period = 5s sieve_vacation_send_from_recipient = yes } -- Mark Constable 0419 530 037 https://spiderweb.com.au

imapc master login for shared mailboxes

2020-03-21 Thread Mark Zealey
to any other account (in this case domain owner logging in to any accounts under their domain) ? Thanks Mark

RE: Unable to authenticate on Dovecot - auth-userdb issue?

2020-01-11 Thread Mark ADAMS
x_listener stats-reader { group = mail mode = 0666 } unix_listener stats-writer { group = mail mode = 0666 } } ssl = required ssl_cert = mailto:ad+li...@uni-x.org> Sent: Friday, January 10, 2020 11:34 AM To: Mark ADAMS<mailto:mada...@msn.com> Subject: Re: Unable to auth

Unable to authenticate on Dovecot - auth-userdb issue?

2020-01-02 Thread Mark ADAMS
Some general information: Mageia Linux 5.4.6-desktop-2.mga7 2.3.7.2 (3c910f64b) postfix + dovecot + mysql 192.168.1.105 (shuttle) the email server machine 192.168.1.103 (pvr) the mail client machine I am unable to authenticate to send email. I've looked at postfix but I can't get past doveco

Re: Cert for ip range?

2019-11-27 Thread Mark Moseley via dovecot
On Wed, Nov 27, 2019 at 11:31 AM Aki Tuomi wrote: > > > On 27/11/2019 21:28 Mark Moseley via dovecot > wrote: > > > > > > On Tue, Nov 26, 2019 at 11:22 PM Aki Tuomi via dovecot < > dovecot@dovecot.org> wrote: > > > > > > On 21.11.2019 23

Re: Cert for ip range?

2019-11-27 Thread Mark Moseley via dovecot
On Tue, Nov 26, 2019 at 11:22 PM Aki Tuomi via dovecot wrote: > > On 21.11.2019 23.57, Marc Roos via dovecot wrote: > > Is it possible to configure a network for a cert instead of an ip? > > > > Something like this: > > > > local 192.0.2.0 { > > ssl_cert = > ssl_key = > } > > > > Or >

Recovering emails from "dead" server

2019-10-29 Thread Mark | Small World Systems via dovecot
I have a Linix server that won't boot. I've patched in a live CD and mounted the original HDDs so I can browse the files using SSH. I am trying to find where all my customer emails are stored so that I can (hopefully) copy them off this "dead" server onto a new server which is also running cPan

Re: Quota and maildir does not work with subfolders of INBOX

2019-09-10 Thread Mark Moseley via dovecot
On Mon, Sep 9, 2019 at 8:57 PM Niels Kobschätzki via dovecot < dovecot@dovecot.org> wrote: > On 9/9/19 6:18 PM, @lbutlr via dovecot wrote: > > On 9 Sep 2019, at 09:27, Niels Kobschätzki > wrote: > >> The moment I remove those folders, the size gets calculated correctly. > Unfortunately those fold

Re: [BUG?] Double quota calulation when special folder is present

2019-08-06 Thread Mark Moseley via dovecot
On Tue, Apr 9, 2019 at 9:52 PM Aki Tuomi wrote: > > On 10 April 2019 05:00 Mark Moseley via dovecot > wrote: > > > On Wed, Apr 3, 2019 at 9:37 PM Mark Moseley < moseleym...@gmail.com> > wrote: > > > On Wed, Mar 20, 2019 at 2:13 PM Mark Moseley < moseleym

Re: Using userdb/passdb data in director_username_hash

2019-04-12 Thread Mark Moseley via dovecot
On Fri, Apr 12, 2019 at 11:14 AM Aki Tuomi wrote: > > > On 12 April 2019 21:09 Mark Moseley via dovecot > wrote: > > > > > > TL;DR: > > > > Can director_username_hash use %{userdb:...} or %{passdb:...} ? > > > > =

Using userdb/passdb data in director_username_hash

2019-04-12 Thread Mark Moseley via dovecot
TL;DR: Can director_username_hash use %{userdb:...} or %{passdb:...} ? This is on Ubuntu Precise, running dovecot 2.2.36. It's a fully production, director-ized env, so assume everything is working correctly. Happy to post doveconf if it's relevant but wanted

Re: [BUG?] Double quota calulation when special folder is present

2019-04-09 Thread Mark Moseley via dovecot
On Wed, Apr 3, 2019 at 9:37 PM Mark Moseley wrote: > > On Wed, Mar 20, 2019 at 2:13 PM Mark Moseley > wrote: > >> Just hoping to get some dev eyes on this. I'm incredibly reluctant to >> throw the word 'bug' around >> (since 99 times out of 1

Re: Where to report (potential) Dovecot bugs

2019-04-09 Thread Mark Moseley via dovecot
On Tue, Apr 9, 2019 at 2:35 PM John Fawcett via dovecot wrote: > On 09/04/2019 22:03, Mark Moseley via dovecot wrote: > > I'm curious if this is still the right place to report potential bugs > > with Dovecot. > > > > Is there a Dovecot bug tracker somewh

Where to report (potential) Dovecot bugs

2019-04-09 Thread Mark Moseley via dovecot
I'm curious if this is still the right place to report potential bugs with Dovecot. Is there a Dovecot bug tracker somewhere?

Re: [BUG?] Double quota calulation when special folder is present

2019-04-03 Thread Mark Moseley via dovecot
On Wed, Mar 20, 2019 at 2:13 PM Mark Moseley wrote: > Just hoping to get some dev eyes on this. I'm incredibly reluctant to > throw the word 'bug' around > (since 99 times out of 100, it's not -- it's almost always the config), > but I can't think of a

[BUG?] Double quota calulation when special folder is present

2019-03-20 Thread Mark Moseley via dovecot
Just hoping to get some dev eyes on this. I'm incredibly reluctant to throw the word 'bug' around (since 99 times out of 100, it's not -- it's almost always the config), but I can't think of any way that this could be a config issue, esp when the pre-2.2.34 version works as expected. I noticed dur

Re: Double quota calulation when special folder is present

2019-03-15 Thread Mark Moseley via dovecot
On Wed, Mar 13, 2019 at 4:46 AM Bernd Wurst via dovecot wrote: > Hello, > > we're operating dovecot on a small server. Some years ago, we migrated > from courier IMAP to dovecot. Therefore, we defined our default > Namespace "inbox" with prefix "INBOX." to have this compatible. I found > this in

Re: Inbox quota usage doubled when mailbox_list_index enabled, under some circumstances

2019-03-12 Thread Mark Moseley via dovecot
On Tue, Aug 14, 2018 at 12:31 PM Chris Dillon wrote: > I’ve had the opportunity to test the same configuration with a fresh build > of the git master branch (2.4.devel) and the issue also occurs there. I > see that "mailbox_list_index = yes" is now enabled by default. It can > still be disabled

Authenticating with checkpassword

2019-02-21 Thread Mark Foley via dovecot
anism? Is there a solution to this? THX --Mark

Re: Need to authenticate Outlook and NTLM

2019-02-19 Thread Mark Foley via dovecot
On Tue, 19 Feb 2019 08:53:13 +0200 Aki Tuomi wrote: > > On 19.2.2019 4.48, Mark Foley via dovecot wrote: > > On Mon, 18 Feb 2019 10:17:16 - Stuart Henderson wrote: > >> On 2019-02-13, Mark Foley via dovecot wrote: > >>> Is it possible that no one on this li

Re: Need to authenticate Outlook and NTLM

2019-02-18 Thread Mark Foley via dovecot
On Mon, 18 Feb 2019 10:17:16 - Stuart Henderson wrote: > > On 2019-02-13, Mark Foley via dovecot wrote: > > Is it possible that no one on this list is authenticating Outlook with > > Dovecot and NTLM? > > Yes, it's possible, the outdated instructions you found o

Re: Need to authenticate Outlook and NTLM

2019-02-13 Thread Mark Foley via dovecot
Is it possible that no one on this list is authenticating Outlook with Dovecot and NTLM? --Mark -Original Message- Date: Fri, 08 Feb 2019 00:51:01 -0500 To: dovecot@dovecot.org Subject: Re: Need to authenticate Outlook and NTLM From: Mark Foley via dovecot More on this ... I short

Re: doveadm import with subfolder oddity

2019-02-12 Thread Mark Moseley via dovecot
On Mon, Feb 4, 2019 at 1:59 PM Mark Moseley wrote: > This has got to be something weird in my config. And the standard > disclaimer of '"happy to post doveconf -n, but wanted to see if this is > normal first" :) > > Background: Ubuntu Xenial, running 2.2.36. Mailbo

Re: Doveadm service as non-root user

2019-02-12 Thread Mark Moseley via dovecot
On Mon, Feb 4, 2019 at 12:04 PM Mark Moseley wrote: > > On Fri, Feb 1, 2019 at 11:37 PM Aki Tuomi > wrote: > >> >> On 01 February 2019 at 23:16 Mark Moseley < moseleym...@gmail.com> >> wrote: >> >> >> Running: Ubuntu xenial, dovecot 2.2.3

Re: Need to authenticate Outlook and NTLM

2019-02-07 Thread Mark Foley via dovecot
NTLM authentication? As far as I know, I don't have Squid. If I leave off the --helper-protocol bit on the ntlm_auth command line, it returns an OK status. Is there a way to NOT pass "--helper-protocol=squid-2.5-ntlmssp"? Would this help? --Mark -Original Message- Date:

Need to authenticate Outlook and NTLM

2019-02-07 Thread Mark Foley via dovecot
successfully connected from Outlook using active domain credentials? If so, what's the secret? What am I not doing correctly? Thanks for any and all help! --Mark dovecot log: Feb 07 23:39:40 auth: Debug: Loading modules from directory: /usr/local/lib/dovecot/auth Feb 07 23:39:40 aut

doveadm import with subfolder oddity

2019-02-04 Thread Mark Moseley
This has got to be something weird in my config. And the standard disclaimer of '"happy to post doveconf -n, but wanted to see if this is normal first" :) Background: Ubuntu Xenial, running 2.2.36. Mailbox type is mdbox and I've got a period separator in my inbox namespace: namespace { hidden =

Re: Doveadm service as non-root user

2019-02-04 Thread Mark Moseley
On Fri, Feb 1, 2019 at 11:37 PM Aki Tuomi wrote: > > On 01 February 2019 at 23:16 Mark Moseley < moseleym...@gmail.com> wrote: > > > Running: Ubuntu xenial, dovecot 2.2.36 > > I've been working on moving our user base from maildir to mdbox and trying > to com

Doveadm service as non-root user

2019-02-01 Thread Mark Moseley
Running: Ubuntu xenial, dovecot 2.2.36 I've been working on moving our user base from maildir to mdbox and trying to come up with solutions for things like moving emails around. In the past, with maildir, our support guys could just mv the files around and done. For mdbox, I've been working on get

Re: "unknown user - trying the next userdb" Info in log

2019-01-29 Thread Mark Moseley
On Tue, Jan 29, 2019 at 9:58 PM James Brown via dovecot wrote: > On 30 Jan 2019, at 4:35 pm, Aki Tuomi wrote: > > > > On 30 January 2019 at 07:12 James Brown < jlbr...@bordo.com.au> wrote: > > > >> My settings: > ... > >> userdb { > >> driver = passwd > >> } > >> userdb { > >> driver = prefetch

Re: IMAP preauth and stats-writer

2019-01-16 Thread Mark Hills
ng for the opoosite where dovecot is really the self-contained 'imap' command without crossing any priviledge boundary; just a process consuing CPU and RAM resources like any other. To date I haven't used any of the dovecot stats (not dismissing them, just haven't had a cause to) Thanks again -- Mark

IMAP preauth and stats-writer

2019-01-05 Thread Mark Hills
to connect to a central stats service. As of an upgrade today (2.3.2.1_1 -> 2.3.4_3 on FreeBSD) it looks like that 'fix' stopped working, and I get: imap(mark,)Error: net_connect_unix() failed: Permission denied It goes to stderr, which breaks Alpine. "()" is actually t

email not visible in users mail client

2018-12-20 Thread Mark Foley
ere possibly something about the message that affects naming? Dovecot version 2.2.33.2 THX --Mark

Re: Need to convert mbox to Maildir

2018-10-02 Thread Mark Foley
On Tue, 2 Oct 2018 21:17:20 +0300 Sami Ketola wrote: > > > On 2 Oct 2018, at 21.05, Mark Foley wrote: > > > > I have a mbox file of emails. I want to convert this to Maildir giving me > > individual message > > files per email. I've looked at dsync, but

Need to convert mbox to Maildir

2018-10-02 Thread Mark Foley
NBOX. I don't want to put these mbox messages into any particular user's Maildir hierarchy, just export to file-per-message format to a destination directory of my choosing. Is this possible? THX --Mark

Re: folders not visible on copied mail folders

2018-07-19 Thread Mark Foley
s for your help! --Mark -Original Message- From: Mark Foley Date: Thu, 19 Jul 2018 21:21:34 -0400 Organization: Ohio Highway Patrol Retirement System To: dovecot@dovecot.org Subject: Re: folders not visible on copied mail folders On Thu, 19 Jul 2018 08:11:40 +0200 Steffen Kaiser wrote: &

Re: folders not visible on copied mail folders

2018-07-19 Thread Mark Foley
On Thu, 19 Jul 2018 08:11:40 +0200 Steffen Kaiser wrote: > > On Thu, 19 Jul 2018, Mark Foley wrote: > > On Wed, 18 Jul 2018 07:23:06 +0200 Steffen Kaiser > > wrote: > >> > >> On Tue, 17 Jul 2018, Mark Foley wrote: > >>> On Tue, 17 Jul

Re: folders not visible on copied mail folders

2018-07-18 Thread Mark Foley
On Wed, 18 Jul 2018 07:23:06 +0200 Steffen Kaiser wrote: > > On Tue, 17 Jul 2018, Mark Foley wrote: > > On Tue, 17 Jul 2018 08:06:24 +0200 Steffen Kaiser > > wrote: > >> > >> On Mon, 16 Jul 2018, Mark Foley wrote: > >> > >>> We had

Re: folders not visible on copied mail folders

2018-07-17 Thread Mark Foley
On Tue, 17 Jul 2018 08:06:24 +0200 Steffen Kaiser wrote: > > On Mon, 16 Jul 2018, Mark Foley wrote: > > > We had a user quit recently. Three days ago I copied his entire Maildir > > folder to another user > > to that user's Maildir/.JoesEmail. I changed owners

folders not visible on copied mail folders

2018-07-16 Thread Mark Foley
#x27;doveadm index -u newowner JoesEmail' and 'doveadm force-resync -u newowner JoesEmail'. This didn't help. I did this once before with a previous user who quit and only changed ownership, no subscribing, no doveadm, and that worked. What am I doing wrong? THX --Mark

Re: limit pop login per user and per minute

2018-03-22 Thread Mark Moseley
On Thu, Mar 22, 2018 at 1:41 PM, Joseph Tam wrote: > On Thu, 22 Mar 2018, Markus Eckerl wrote: > > The problem is, that he misconfigured the servers of these customers. In >> detail: their servers are trying to fetch email every 2 - 5 seconds. For >> every email address. >> >> In the past I conta

Re: AuthDatabase CheckPassword broken?

2018-02-01 Thread Mark Foley
Script didn't run: File "/root/tmp/checkpwtest.py", line 8 o?= with os.fdopen(DOVECOT_PW_FD, 'r') as s: ^ SyntaxError: invalid syntax --Mark -Original Message- From: Mark Foley Date: Thu, 01 Feb 2018 15:34:15 -0500 Organization: Ohio Highway Pa

Re: AuthDatabase CheckPassword broken?

2018-02-01 Thread Mark Foley
On Thu, 1 Feb 2018 10:02:10 +0200 Aki Tuomi wrote: > > On 01.02.2018 08:00, Mark Foley wrote: > > I had been using the CheckPassword authentication interface with dovecot > > 2.2.15, > > https://wiki2.dovecot.org/AuthDatabase/CheckPassword, and it was working. &g

AuthDatabase CheckPassword broken?

2018-01-31 Thread Mark Foley
from fd 3. I've checked the information read from fd 3 with 2.2.33.2 and I get followed by 3 nulls. I'm guessing the 2nd null is supposed to be the password. Why is this no longer working? How can I fix it? THX --Mark

Re: Dovecot 2.3.0 TLS

2018-01-23 Thread Mark Moseley
On Tue, Jan 23, 2018 at 10:05 AM, Aki Tuomi wrote: > > > On January 23, 2018 at 7:09 PM Arkadiusz Miśkiewicz > wrote: > > > > > > On Thursday 11 of January 2018, Aki Tuomi wrote: > > > > > Seems we might've made a unexpected change here when we revamped the > ssl > > > code. > > > > Revamped, in

Re: Locks directory change

2018-01-07 Thread Mark Moseley
On Thu, Oct 26, 2017 at 7:30 AM, Aki Tuomi wrote: > > > On October 26, 2017 at 4:30 PM Federico Bartolucci > wrote: > > > > > > Hello, > > > > it's the first time for me writing to the list, I'm trying to change the > > location into which the Dovecot's locks are done reserving a special > > tem

Re: Lua Auth

2017-12-22 Thread Mark Moseley
On Fri, Dec 22, 2017 at 5:18 AM, wrote: > > > On December 22, 2017 at 8:20 AM Mark Moseley > wrote: > > > > > > On Thu, Dec 21, 2017 at 9:51 PM, Aki Tuomi wrote: > > > > > > > > >

Re: Lua Auth

2017-12-21 Thread Mark Moseley
On Thu, Dec 21, 2017 at 9:51 PM, Aki Tuomi wrote: > > > On December 22, 2017 at 6:43 AM Mark Moseley > wrote: > > > > > > > > > > > > > > > > > > > 2) Is there an appropriate way to return data with spaces in it (or >

Re: Lua Auth

2017-12-21 Thread Mark Moseley
> > > > > 2) Is there an appropriate way to return data with spaces in it (or > presumably other non-alphanum chars. My quota name had a space in it, > which > somehow got interpreted as 'yes' , i.e.: > > imap: Error: Failed to initialize quota: Invalid quota root quota: Unknown > quota backend: ye

Re: v2.3.0 release candidate released

2017-12-18 Thread Mark Moseley
On Mon, Dec 18, 2017 at 2:32 PM, Timo Sirainen wrote: > On 18 Dec 2017, at 23.16, Mark Moseley wrote: > > > > doveadm(test1-sha...@test.com): Panic: file buffer.c: line 97 > > (buffer_check_limits): assertion failed: (buf->used <= buf->alloc) > .. >

Re: v2.3.0 release candidate released

2017-12-18 Thread Mark Moseley
On Mon, Dec 18, 2017 at 1:16 PM, Mark Moseley wrote: > On Mon, Dec 18, 2017 at 7:23 AM, Timo Sirainen wrote: > >> https://dovecot.org/releases/2.3/rc/dovecot-2.3.0.rc1.tar.gz >> https://dovecot.org/releases/2.3/rc/dovecot-2.3.0.rc1.tar.gz.sig >> >> It's f

Re: v2.3.0 release candidate released

2017-12-18 Thread Mark Moseley
On Mon, Dec 18, 2017 at 7:23 AM, Timo Sirainen wrote: > https://dovecot.org/releases/2.3/rc/dovecot-2.3.0.rc1.tar.gz > https://dovecot.org/releases/2.3/rc/dovecot-2.3.0.rc1.tar.gz.sig > > It's finally time for v2.3 release branch! There are several new and > exciting features in it. I'm especiall

Re: Howto authenticate smartPhone via Active Directory

2017-12-05 Thread Mark Foley
On Tue, 5 Dec 2017 16:42:15 +0100 mj wrote: > Hi, > > Not much time to reply now. > > On 12/05/2017 05:21 AM, Mark Foley wrote: > > mj - thanks! That the first useful example I've received from any > > forum/list. I'm getting ready > > to try my con

Can passdb be bypassed for non-plaintext authentication mechanisms

2017-12-04 Thread Mark Foley
sdb (and userdb?) for these mechanism? --Mark

Re: Howto authenticate smartPhone via Active Directory

2017-12-04 Thread Mark Foley
/pass_attrs settings. Is this because you use the originals or because you have commented them out? My current settings are: user_attrs = quotaFieldAD=quota_rule=*:storage=%$MB pass_attrs = userPassword=password My auth_mechanisms are: auth_mechanisms = plain login gssapi Is this sufficien

Re: Howto authenticate smartPhone via Active Directory

2017-12-03 Thread Mark Foley
uot; auth fails it says, "unknown user - trying the next passdb", which is checkpassword (which apparently succeeds), then it goes on to gssapi which also succeeds. Is there a way to only have it do checkpassword if all shadow and gssapi fail? My mechanisms are: auth_mechanisms = plain

Re: Howto authenticate smartPhone via Active Directory

2017-12-03 Thread Mark Foley
I'm not sure I should try configuring PAM on the AD/DC. Is there some otherway I can get authentication using domain credentials besides pam? the phone can send user and password. --Mark -Original Message- > Date: Sun, 03 Dec 2017 15:22:56 +0200 > Subject: Re: Howto a

Re: Upgrade to 2.2.32 from 2.2.15 failed

2017-12-03 Thread Mark Foley
On Sat, 25 Nov 2017 10:13:58 +0200 (EET) Aki Tuomi wrote: > > > On November 25, 2017 at 7:04 AM Mark Foley wrote: > > > > I have a problem. I have been running Dovecot 2.2.15 and I'd like to > > upgrade. My distro > > (Slackware) has dovecot 2.2.32 avai

Howto authenticate smartPhone via Active Directory

2017-12-02 Thread Mark Foley
I have a Samba4 Active Directory server. Dovecot authenticates AD Users with domain credentials using GSSAPI (Thunderbird client). I believe I have Dovecot set to attempt authentication via shadow first and. failing that, it does authenticate via GSSAPI. Smartphones connect to Dovecot via port 1

Re: Lua Auth

2017-12-01 Thread Mark Moseley
On Thu, Nov 30, 2017 at 5:26 AM, Stephan Bosch wrote: > > > Op 29-11-2017 om 6:17 schreef Aki Tuomi: > >> On November 29, 2017 at 4:37 AM Mark Moseley >>> wrote: >>> >>> >>> Just happened to be surfing the docs and saw this. This is

iPhone no longer authenticating

2017-12-01 Thread Mark Foley
I've switched a user to being an active directory user. That user's email client authorizes just fine with dovecot using GSSAPI. However, now his iPhone won't authorize. In the dovecot log file I get: Dec 01 14:27:28 auth: Debug: client in: AUTH1 PLAIN service=imap secured sessio

Unable to build sieve plugin

2017-11-30 Thread Mark Foley
t_mail_get_special': edit-mail.c:1592:8: error: 'MAIL_FETCH_STORAGE_ID' undeclared (first use in this function) case MAIL_FETCH_STORAGE_ID: ^ edit-mail.c:1592:8: note: each undeclared identifier is reported only once for each function it appears in This was followed by several more errors and the make failed. What did I do wrong? --Mark

Lua Auth

2017-11-28 Thread Mark Moseley
Just happened to be surfing the docs and saw this. This is beyond awesome: https://wiki2.dovecot.org/AuthDatabase/Lua Any words of wisdom on using it? I'd be putting a bunch of mysql logic in it. Any horrible gotchas there? When it says 'blocking', should I assume that means that a auth worker pr

Re: Mark message as read when moved to Trash

2017-11-25 Thread Mark Foley
See: https://forum.kde.org/viewtopic.php?f=215&t=55940 --Mark Felix Rubio Dalmau wrote: > Hi all, > > When I send a message to trash, without previously reading it (just > with the subject is enough to say I do not want to read it), it remains as > "unread&quo

Re: Upgrade to 2.2.32 from 2.2.15 failed

2017-11-24 Thread Mark Foley
No, is that something that would make a difference between 2.2.15 and 2.2.32? --Mark On Fri, 24 Nov 2017 21:37:47 -0800 Gary wrote: > Out of curiosity, do you do a !SSLv3 in the conf file? > > >   Original Message   >> From: mfo...@ohprs.org >> Sent: November 24, 201

Upgrade to 2.2.32 from 2.2.15 failed

2017-11-24 Thread Mark Foley
ttom. I'm suspecting something to do with line 18 where is says "Auth process broken." If anyone has any insight I'd deeply appreciate it as I'd love to upgrade. THX -- Mark 1 Nov 24 19:22:24 master: Info: Dovecot v2.2.32 (dfbe293d4) starting up for imap (core dumps disab

Re: stats module

2017-11-03 Thread Mark Moseley
On Fri, Nov 3, 2017 at 9:35 AM, Jeff Abrahamson wrote: > Sorry, Aki, I don't follow you. Did I do it wrong in the file 91-stats > that I shared in my original mail (attached here)? > > Jeff > > > On 03/11/17 16:50, Aki Tuomi wrote: > > You need to add the stats listener, by yourself. > > > > Aki

Re: Conditionally disabling auth policy

2017-09-28 Thread Mark Moseley
On Thu, Sep 28, 2017 at 9:34 AM, Aki Tuomi wrote: > > > On September 28, 2017 at 7:20 PM Mark Moseley > wrote: > > > > > > On Wed, Sep 27, 2017 at 10:06 PM, Aki Tuomi > wrote: > > > > > > > > > > > On 27.09.2017 20:14, Ma

Re: Conditionally disabling auth policy

2017-09-28 Thread Mark Moseley
On Wed, Sep 27, 2017 at 10:06 PM, Aki Tuomi wrote: > > > On 27.09.2017 20:14, Mark Moseley wrote: > > On Wed, Sep 27, 2017 at 10:03 AM, Marcus Rueckert > wrote: > > > >> On 2017-09-27 16:57:44 +, Mark Moseley wrote: > >>> I've been digging

Re: Conditionally disabling auth policy

2017-09-27 Thread Mark Moseley
On Wed, Sep 27, 2017 at 10:03 AM, Marcus Rueckert wrote: > On 2017-09-27 16:57:44 +0000, Mark Moseley wrote: > > I've been digging into the auth policy stuff with weakforced lately. > There > > are cases (IP ranges, so could be wrapped up in remote {} blocks) where >

Conditionally disabling auth policy

2017-09-27 Thread Mark Moseley
I've been digging into the auth policy stuff with weakforced lately. There are cases (IP ranges, so could be wrapped up in remote {} blocks) where it'd be nice to skip the auth policy (internal hosts that I can trust, but that are hitting the same servers as the outside world). Is there any way to

Re: lazy_expunge doesn't work since upgrade 2.2.30 to 2.2.32

2017-09-18 Thread Mark Moseley
On Fri, Sep 15, 2017 at 1:42 PM, Harald Leithner wrote: > Am 2017-09-15 21:25, schrieb Mark Moseley: > >> On Wed, Sep 6, 2017 at 2:01 AM, Harald Leithner >> wrote: >> >> Any idea why this doesn't setup work anymore in 2.2.32? >>> >>> thx &

Re: lazy_expunge doesn't work since upgrade 2.2.30 to 2.2.32

2017-09-15 Thread Mark Moseley
On Wed, Sep 6, 2017 at 2:01 AM, Harald Leithner wrote: > Any idea why this doesn't setup work anymore in 2.2.32? > > thx > > Harald > > I just ran into the same thing myself. For me, when I added this to the "location" in the expunged namespace, it started working again: ...:LISTINDEX=expunged.

  1   2   3   4   5   6   >