Re: doveadm pw usage

2022-04-25 Thread Richard Hector
On 24/04/22 22:45, ミユナ (alice) wrote: ok the helps says: pw   [-l] [-p plaintext] i just thought it specifies the text file. thanks for clarifying it. Bernardo Reino wrote: The argument to "-p" is not a file containing the password, but the password itself! The downside of

Re: how to setup IMAPs with letsencrypt

2022-04-25 Thread Richard Hector
On 24/04/22 13:14, ミユナ (alice) wrote: Richard Hector wrote: otherwise you'll have to use DNS challenge method to support multiple hostnames on the same certificate. Um, no I didn't. I replied to that. Please check your attributions :-) Cheers, Richard

Re: how to setup IMAPs with letsencrypt

2022-04-23 Thread Richard Hector
On 22/04/22 11:57, Joseph Tam wrote: Keep in mind the subject name (CN or SAN AltNames) of your certificate must match your IMAP server name e.g. if your certificate is made for "www.mydomain.com", you'll have to configure your IMAP clients to also use "www.mydomain.com" as the IMAP server name.

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

2020-10-23 Thread Richard Hector
Hi, I'm seeing the same, but I think it's every time the lda is called to deliver mail to a mailbox. Postfix runs it as vmail:vmail. My socket is owned by root:dovecot (on Debian buster). Should I add vmail to the dovecot group to enable it to write? Or is changing the socket to 0666 safer?

Re: OT: SASL questions

2020-08-21 Thread Richard Hector
On 21/08/20 7:15 pm, @lbutlr wrote: > On 21 Aug 2020, at 01:05, Richard Hector wrote: >> Is that a standard interface? ie can a client like postfix talk to >> either dovecot or cyrus without knowing the difference? > > Yes. Postfix does not care, though I find it is eas

OT: SASL questions

2020-08-21 Thread Richard Hector
Hi all, Apologies for the somewhat off-topic questions - I'm trying to get my head around SASL, and what it is/does. I can see that a (SMTP, IMAP etc) server can offer various authentication methods, which are pre-defined and which the client can choose from. SASL then seems to define how those

Re: Password database - external verification questions

2019-05-15 Thread Richard Hector via dovecot
On 10/05/19 10:10 AM, Richard Hector via dovecot wrote: > Hi all, > > I'm currently using a PostgreSQL database for my user/password db, > directly from dovecot. The trouble with that is that I'm stuck with > whatever hash algorithms dovecot supports - which IIRC means (a subset &

Password database - external verification

2019-05-09 Thread Richard Hector via dovecot
Hi all, I'm currently using a PostgreSQL database for my user/password db, directly from dovecot. The trouble with that is that I'm stuck with whatever hash algorithms dovecot supports - which IIRC means (a subset of?) what libc has been compiled with, which can be a bit restrictive. So I'd like

sql table definitions

2019-04-01 Thread Richard Hector via dovecot
Hi all, Trivial question ... 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 failing that, I can change the length of the

Re: How to backup maildir

2019-02-09 Thread Richard Hector via dovecot
On 10/02/19 4:50 PM, Robert Moskowitz via dovecot wrote: > I have been thinking, and reading, on how to back up my mailserver. I > have not found any approach that seems ready to use. > > > I have run years without any backup, but would really like to have > something in place.  I figure I can

Re: AuthDatabase CheckPassword broken?

2018-02-01 Thread Richard Hector
On 02/02/18 14:19, Mark Foley wrote: > Script didn't run: > > File "/root/tmp/checkpwtest.py", line 8 > o?= with os.fdopen(DOVECOT_PW_FD, 'r') as s: > ^ > SyntaxError: invalid syntax Copy/paste error? The beginning of that line doesn't seem to be in the original. Richard

Re: is a self signed certificate always invalid the first time

2017-08-19 Thread Richard Hector
On 18/08/17 20:05, Stephan von Krawczynski wrote: > On Fri, 18 Aug 2017 00:24:39 -0700 (PDT) > Joseph Tam wrote: > >> Michael Felt writes: >> I use acme.sh for all of my LetsEncrypt certs (web & mail), it is written in pure shell script, so

Re: Maildir migration - using separate INDEX and CONTROL directories?

2014-07-24 Thread Richard Hector
On 24/07/14 18:18, Steffen Kaiser wrote: On Thu, 24 Jul 2014, Richard Hector wrote: Is there a handy tool to move the files to the right places? Or is there a complete list of what files need to go where? IMHO: move all dovecot* files the migration script generates and the subscriptions

Re: Multiple servers and NFS

2014-07-24 Thread Richard Hector
On 25/07/14 00:01, Eduardo Ramos wrote: You can use one or more instances of Dovecot on the same machine, as you can see here (http://wiki2.dovecot.org/RunningDovecot) Running Multiple Invocations of Dovecot. The problem with DNS round-robind is that if you server goes down, DNS continues

Re: Multiple servers and NFS

2014-07-24 Thread Richard Hector
On 25/07/14 09:12, Richard Hector wrote: Rather than trying to draw increasingly complex diagrams in ASCII, I've put some here (without the LVS layer): https://walnut.gen.nz/mail-architectures.png I've come up with a revised plan - I think we can do without LVS; SMTP should just work

Re: Multiple servers and NFS

2014-07-24 Thread Richard Hector
On 25/07/14 15:30, Eduardo Ramos wrote: Hi Richard, In fact I thought it a little confusing. I had some bad experience with DNS RR when one of my IMAP server got down. Clients continued trying connect to broken server and it caused some problems. But when everything is ok, it works well.

Maildir migration - using separate INDEX and CONTROL directories?

2014-07-23 Thread Richard Hector
Hi all, I'm working on a migration from Courier to Dovecot, and the courier-dovecot-migrate.pl seems to work ok, but it puts all the metadata files (dovecot-uidlist etc) in the Maildir, while I want to put them in the appropriate places as specified: mail_location =

Multiple servers and NFS

2014-07-23 Thread Richard Hector
Hi all, For some reason, I didn't go to http://wiki2.dovecot.org/NFS until now, and I'm starting to get worried ... The plan was to have multple servers (MXes) receiving mail, and delivering via LMTP to multiple backend dovecot servers (with amavis in front of dovecot; LMTP both sides).