similar to: Testing validity of Dovecot config in a script

Displaying 20 results from an estimated 20000 matches similar to: "Testing validity of Dovecot config in a script"

2018 Nov 24
0
Testing validity of Dovecot config in a script
> On 24 November 2018 at 16:45 Ralph Seichter <m16+dovecot at monksofcool.net> wrote: > > > While trying to determine a given configuration is valid from within a > script, I found that the following works with Dovecot version 2.3.2.1: > > #!/usr/bin/env bash > doveconf -n >/dev/null || echo "Config is invalid" > > However, the return code
2017 Aug 09
4
is a self signed certificate always invalid the first time?
Cheers Remko and Ralph. I think there was some mention in the lets encrypt FAQ that certbot doesn't do email. But I understand I can use their generated very for dovecot, postfix and https? That would be good indeed. Anyone know of any manual, or can I just replace the certs in the dovecot and postfix locations with theirs? Do dovecot, postfix and apache all support .pem format? Sent from
2017 Aug 09
3
is a self signed certificate always invalid the first time?
Thanks Ralph, i?ll look into that. I think let?s encrypt uses certbot though and it can?t do email certificates (although i?m sure i can convert the cert i get from let?s encrypt, i?ll look into it. > On 9 Aug 2017, at 16:40, Ralph Seichter <m16+dovecot at monksofcool.net> wrote: > > On 09.08.2017 17:20, Alef Veld wrote: > >> So i?m using dovecot, and i created a self
2017 Sep 08
2
Dovecot and Letsencrypt certs
On 08 Sep 2017, at 10:08, Ralph Seichter <m16+dovecot at monksofcool.net> wrote: > What is Dovecot supposed to do? Keep track of the certificate expiry > date? And if that is passed, then what? Automatically shutdown/restart? > What if the certificate has not been updated in between? I think that > handling certificates is better left to the administrator. How I would do it is
2017 Sep 08
1
Dovecot and Letsencrypt certs
On 08 Sep 2017, at 12:21, Ralph Seichter <m16+dovecot at monksofcool.net> wrote: > On 08.09.2017 19:51, @lbutlr wrote: >> How I would do it is IF the certificate is expired, the dovecot should >> check if there is a new cert and if so, load it. > New cert as in file modification date or checksum changed? Either one, but checksum is going to be more reliable. > Might
2018 Oct 11
2
Struggling to get dovecot working with postfix auth
Hi, I am trying to create an authenticated relay server using Postfix and Dovecot. However I am having two problems : (a) If I create a dovecot config entry as follows : unix_listener /var/spool/postfix-authrelay/private/dovecot-auth { group = postfix mode = 0666 user = postfix } Dovecot is unable to create the socket ? I thought surely if dovecot is started as root it should
2018 Dec 05
1
BUG: sieve does not set seen-Flag
please send mail to dovecot-unsubscribe at dovecot.org Sent from my Samsung Galaxy smartphone. -------- Original message --------From: "?????? . via dovecot" <dovecot at dovecot.org> Date: 05/12/2018 08:26 (GMT+02:00) To: dovecot at dovecot.org Subject: Re[2]: BUG: sieve does not set seen-Flag Unsubscribe me please. I've been seeing these messages for several days and
2018 Oct 11
4
Struggling to get dovecot working with postfix auth
On Thursday, October 11, 2018 12:07 PM, Ralph Seichter <m16+dovecot at monksofcool.net> wrote: > On 11.10.18 11:30, Laura Smith wrote: > > > unix_listener /var/spool/postfix-authrelay/private/dovecot-auth { > > group = postfix > > mode = 0666 > > user = postfix > > } > > I suggest using "mode = 0660" instead. Makes no difference. >
2017 Sep 08
5
Dovecot and Letsencrypt certs
On Sep 8, 2017, at 07:56, Darac Marjal <mailinglist at darac.org.uk> wrote: > #!/bin/bash > > set -e > set -u > set -o pipefail > > if [[ ${1} == "deploy_cert" && ${2} == "mail.darac.org.uk" ]]; then > echo " + Hook: Restarting Dovecot..." > /usr/sbin/service dovecot restart > fi
2020 May 29
2
migrating dovecot to new server
> On 29/05/2020 20:12 Ralph Seichter <abbot at monksofcool.net> wrote: > > > * David Mehler: > > > I'd ideally like to back up all the mails in the maildir location, > > copy that over, load in my configuration files, and bring the system > > back up. > > I don't think this qualifies as "ideal" for migration. My recommendation
2019 Jun 18
2
mdbox to Maildir
On Tue, 18 Jun 2019 at 01:35, Ralph Seichter via dovecot < dovecot at dovecot.org> wrote: > * Odhiambo Washington via dovecot: > > > Is it possible? How do I do it for ALL mailboxes? > > This has been asked (and answered) recently; see the Dovecot Wiki. > > -Ralph > Could you kindly point me to the exact article in the wiki, please? -- Best regards, Odhiambo
2018 Dec 05
4
BUG: sieve does not set seen-Flag
* Jakobus Sch?rz: > 1543935543.M447415P13997.mymail,S=726,W=748:2,Sa > > Then i move this email to another IMAP-Folder, and then there is the > filename > > 1543935543.M447415P13997.mymail,S=726,W=748:2, > > As expected, the seen-flag disappeared... the same as thunderbird > shows. And what about the "dovecot-keywords" files in both folders? Do they match?
2020 Apr 21
2
sieve question
* mj: > Our autoreply message reads: "Your email has not been read nor > forwarded", which is also the case, forcing the sender to take action. No, it does not. An auto-reply message, even if it is actually read by the sender, can be ignored without penalty. An MTA rejection puts the ball into the sender's court because the message has never been accepted by the
2017 Aug 09
5
is a self signed certificate always invalid the first time?
So i?m using dovecot, and i created a self signed certificate with mkcert.sh based on dovecot-openssl.cnf. The name in there matches my mail server. The first time it connects in mac mail however, it says the certificate is invalid and another server might pretend to be me etc. I then have the option of trusting it. Is this normal behaviour? Will it always be invalid if it?s not signed by a
2018 Dec 31
2
Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1 (fwd)
Hi Aki, Oops; I did not think carefully enough about your instructions. Here is the output from $ dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf # 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf # Pigeonhole version 0.5.2 () # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 # Hostname: cpbl-t450s doveconf: Warning: please set
2020 Apr 20
5
sieve question
Hi Ralph! Thanks for your reply! On 4/20/20 12:19 PM, Ralph Seichter wrote: > I suggest you don't use Sieve for this, but simply configure Postfix > to reject messages to @old.domain.com with the desired message. MTA > rejections signal clearly that the message has not been delivered, and > you can also include an URL pointing to a web page with more detailed > information.
2018 Dec 31
2
Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1 (fwd)
Hi Aki, I am not 100% sure. I do not really know what my OS does. "ps -A" says dovecot is running, but if I say "sudo service dovecot stop", my email client works fine still (that is, assuming the old version of dovecot is installed). ie the on-demand instances of dovecot-imapd that Alpine calls are, I assume, started and stopped by Alpine. (?) Is my OS using dovecot
2018 Dec 31
2
Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1 (fwd)
Hi Aki, Bingo! Putting that line in dovecot.conf rather than my custom file, and then using my old custom file, unchanged, from Alpine works perfectly. My only remaining question, then, would be ... what was this (change) about / or is there any documentation that I should/could have read to know what to do without asking a lead developer? Thank you very much. I hope you had a great start
2019 Nov 21
4
[Sieve] Multiple email recipients, how?
Hi, First, I am very new to using Pigeonhole/Sieve with Dovecot and I am struggling with a problem which could be easy to solve but is just a lack of understanding on my end... We use a simple system for routing emails to different email users by postfixing the addresses with the actual user: xxxJohn at domain; yyyJohn at domain etc all will be delivered to user John. (This way John can
2018 Dec 31
2
Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1
Hi Aki, Yes, the same connect error: imap(meuser,)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied The mail location in "doveconf -n" (belo) does not reflect my preferences. In Alpine, if I acknowledge the error I get, which tells me to add novalidate-cert in my pinerc file, it prompts me for my POSIX username and password. After that, I get my