Seive + Spamprobe terminates with signal 6

2020-04-21 Thread Mark Constable

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.
I have a dozen similar server setups and this is not happening on any
of the other servers and it was working just fine for a year up until
recently. This particular server is quite busy. There is plenty of disk
space and inode usage is about 2.5%. Permissions look the same as on
the other servers.

I'm hoping someone might have a suggestion as to the cause of this?

Apr 22 10:31:24 mail dovecot: 
lmtp(x...@example.com)<33016>: Error: program 
exec:/etc/dovecot/sieve/spamprobe (38010): Terminated abnormally with signal 6

Apr 22 10:31:24 mail dovecot: 
lmtp(x...@example.com)<33016>: Error: sieve: global: 
line 6: execute action: failed to execute to program `spamprobe': refer to server log for 
more information. [2020-04-22 10:31:24]

~ cat /etc/dovecot/sieve/global.sieve
require ["vnd.dovecot.execute", "fileinto", "envelope", "variables", 
"editheader"];
if header :contains "from" ["root@", "daemon@", "postmaster@"] { fileinto 
"Trash";
} elsif header :contains "to" ["root@", "daemon@", "postmaster@"] { fileinto 
"Trash"; }
if envelope :localpart :matches "to" "*" { set "lhs" "${1}"; }
if envelope :domain :matches "to" "*" { set "rhs" "${1}"; }
execute :pipe :output "SCORE" "spamprobe" ["-c", "-d", 
"/home/u/${rhs}/home/${lhs}/.spamprobe", "receive"];
addheader :last "X-Spam" "${SCORE}";
if header :matches "X-Spam" "SPAM*" { fileinto "Junk"; }

plugin {
  imapsieve_mailbox1_before = file:/etc/dovecot/sieve/retrain-as-spam.sieve
  imapsieve_mailbox1_causes = COPY
  imapsieve_mailbox1_name = Junk
  imapsieve_mailbox2_before = file:/etc/dovecot/sieve/retrain-as-good.sieve
  imapsieve_mailbox2_causes = COPY
  imapsieve_mailbox2_from = Junk
  imapsieve_mailbox2_name = *
  listescape_char = mail_log_cached_only = yes
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size
  sieve_before = file:/etc/dovecot/sieve/global.sieve
  sieve_dir = ~/sieve
  sieve_execute_bin_dir = /etc/dovecot/sieve
  sieve_extensions = +notify +imapflags +vacation-seconds
  sieve_global_dir = /etc/dovecot/sieve/
  sieve_global_extensions = +vnd.dovecot.debug +editheader +vnd.dovecot.pipe 
+vnd.dovecot.execute
  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


Re: Dovecot 2.3.10 fails to start due to missing dependency

2020-04-21 Thread Jacob Shea

-- Message 5 - Fourth Response --

Aki,

I ran the command as you requested. Now Dovecot seems to start correctly.

Here is the Pastebin of the Terminal output: https://pastebin.com/rgwzt6Ck

Question 1: Now, having installed Dovecot before (using 2.2.x), I never 
encountered this issue, only in 2.3.10. Was I supposed to do something 
in preparation or setup of Dovecot before starting it?


Question 2: Now that this cert has been generated, how will this cert be 
used for my setup? What I mean is, I have a signed CA cert for my domain 
that I would now configure Dovecot to use. Would my signed CA cert 
replace the cert that was created in /etc/pki/dovecot/private/dovecot.pem?


My apologies for my ignorance.

- Jacob

-- Message 4 - Third Response --

On 4/21/20 1:56 PM, Aki Tuomi wrote:

Process: 20384 ExecStart=/bin/sh -c  if [ ! -f /etc/pki/dovecot/certs/dovecot.pem ];  
then   SSLDIR=/etc/pki/dovecot/ OPENSSLCONFIG=/etc/pki/dovecot/dovecot-openssl.cnf 
/usr/libexec/dovecot/mkcert.sh >/dev/null 2>&1;  fi (code=exited, status=2)

It seems to fail because it fails to generate a cert.

Can you try running mkcert.sh by hand as root?

env SSLDIR=/etc/pki/dovecot/ OPENSSLCONFIG=/etc/pki/dovecot/dovecot-openssl.cnf 
/usr/libexec/dovecot/mkcert.sh

maybe it tells what goes wrong?

Aki


On 21/04/2020 20:53 Jacob Shea  wrote:

  
-- Message 3 - Second Response --


Aki,

I pasted all you requested to Pastebin.com

https://pastebin.com/fVLD495y

Thank you for your assistance,

- Jacob


-- Message 2 - Initial Response --

On 4/21/20 2:43 AM, Aki Tuomi wrote:

Can you show

journalctl -xe

and

systemctl status dovecot-init

and

/var/log/messages

Aki

-- Message 1 - Initial Message --

On 21/04/2020 06:02 Jacob Shea  wrote:


Greetings,
I installed Dovecot 2.3.10 on my Centos 7.7.1908 server, however it fails 
startup. This is a fresh/default install, meaning all the configs are default, 
downloaded from the dovecot.repo.

Here is my PasteBin: https://pastebin.com/376UQFLs
### Error Log, copied from Journalctl print out ###
Apr 20 21:10:01 server101 systemd[1]: Started Session 955 of user root.
Apr 20 21:10:01 server101 CROND[8057]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Apr 20 21:10:18 server101 polkitd[1293]: Registered Authentication Agent for 
unix-process:8065:44125203 (system bus name :1.2058 [/usr/bin/pkttyagent 
--notify-fd 5 --fallback], object path /org/freedesktop/Polic
Apr 20 21:10:18 server101 systemd[1]: Starting One-time Dovecot init service...
Apr 20 21:10:18 server101 systemd[1]: dovecot-init.service: main process 
exited, code=exited, status=2/INVALIDARGUMENT
Apr 20 21:10:18 server101 systemd[1]: Failed to start One-time Dovecot init 
service.
Apr 20 21:10:18 server101 systemd[1]: Dependency failed for Dovecot IMAP/POP3 
email server.
Apr 20 21:10:18 server101 systemd[1]: Job dovecot.service/start failed with 
result 'dependency'.
Apr 20 21:10:18 server101 systemd[1]: Unit dovecot-init.service entered failed 
state.
Apr 20 21:10:18 server101 systemd[1]: dovecot-init.service failed.
Apr 20 21:10:18 server101 polkitd[1293]: Unregistered Authentication Agent for 
unix-process:8065:44125203 (system bus name :1.2058, object path 
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8
lines 6106-6158/6158 (END)
### Linux Server Version ###
[root@server101 log]# cat /etc/centos-release
CentOS Linux release 7.7.1908 (Core)
### Dovecot Version ###
Installed Packages
Name : dovecot
Arch : x86_64
Epoch : 2
Version : 2.3.10
Release : 2
Size : 15 M
Repo : installed
  From repo : dovecot-2.3-latest
Summary : Secure imap and pop3 server
URL : http://www.dovecot.org/
License : MIT and LGPLv2
Description : Dovecot is an IMAP server for Linux/UNIX-like systems, written 
with security
: primarily in mind. It also contains a small POP3 server. It supports mail
: in either of maildir or mbox formats.
:
: The SQL drivers and authentication plug-ins are in their subpackages.

Any help or suggestions are appreciated.
Sincerely,
Jacob S.





Re: Dovecot 2.3.10 fails to start due to missing dependency

2020-04-21 Thread Aki Tuomi
   Process: 20384 ExecStart=/bin/sh -c  if [ ! -f 
/etc/pki/dovecot/certs/dovecot.pem ];  then   SSLDIR=/etc/pki/dovecot/ 
OPENSSLCONFIG=/etc/pki/dovecot/dovecot-openssl.cnf 
/usr/libexec/dovecot/mkcert.sh >/dev/null 2>&1;  fi (code=exited, status=2)

It seems to fail because it fails to generate a cert.

Can you try running mkcert.sh by hand as root? 

env SSLDIR=/etc/pki/dovecot/ OPENSSLCONFIG=/etc/pki/dovecot/dovecot-openssl.cnf 
/usr/libexec/dovecot/mkcert.sh

maybe it tells what goes wrong?

Aki

> On 21/04/2020 20:53 Jacob Shea  wrote:
> 
>  
> -- Message 3 - Second Response --
> 
> Aki,
> 
> I pasted all you requested to Pastebin.com
> 
> https://pastebin.com/fVLD495y
> 
> Thank you for your assistance,
> 
> - Jacob
> 
> 
> -- Message 2 - Initial Response --
> 
> On 4/21/20 2:43 AM, Aki Tuomi wrote:
> > Can you show
> >
> > journalctl -xe
> >
> > and
> >
> > systemctl status dovecot-init
> >
> > and
> >
> > /var/log/messages
> >
> > Aki
> -- Message 1 - Initial Message --
> >> On 21/04/2020 06:02 Jacob Shea  wrote:
> >>
> >>
> >> Greetings,
> >> I installed Dovecot 2.3.10 on my Centos 7.7.1908 server, however it fails 
> >> startup. This is a fresh/default install, meaning all the configs are 
> >> default, downloaded from the dovecot.repo.
> >>
> >> Here is my PasteBin: https://pastebin.com/376UQFLs
> >> ### Error Log, copied from Journalctl print out ###
> >> Apr 20 21:10:01 server101 systemd[1]: Started Session 955 of user root.
> >> Apr 20 21:10:01 server101 CROND[8057]: (root) CMD (/usr/lib64/sa/sa1 1 1)
> >> Apr 20 21:10:18 server101 polkitd[1293]: Registered Authentication Agent 
> >> for unix-process:8065:44125203 (system bus name :1.2058 
> >> [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path 
> >> /org/freedesktop/Polic
> >> Apr 20 21:10:18 server101 systemd[1]: Starting One-time Dovecot init 
> >> service...
> >> Apr 20 21:10:18 server101 systemd[1]: dovecot-init.service: main process 
> >> exited, code=exited, status=2/INVALIDARGUMENT
> >> Apr 20 21:10:18 server101 systemd[1]: Failed to start One-time Dovecot 
> >> init service.
> >> Apr 20 21:10:18 server101 systemd[1]: Dependency failed for Dovecot 
> >> IMAP/POP3 email server.
> >> Apr 20 21:10:18 server101 systemd[1]: Job dovecot.service/start failed 
> >> with result 'dependency'.
> >> Apr 20 21:10:18 server101 systemd[1]: Unit dovecot-init.service entered 
> >> failed state.
> >> Apr 20 21:10:18 server101 systemd[1]: dovecot-init.service failed.
> >> Apr 20 21:10:18 server101 polkitd[1293]: Unregistered Authentication Agent 
> >> for unix-process:8065:44125203 (system bus name :1.2058, object path 
> >> /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8
> >> lines 6106-6158/6158 (END)
> >> ### Linux Server Version ###
> >> [root@server101 log]# cat /etc/centos-release
> >> CentOS Linux release 7.7.1908 (Core)
> >> ### Dovecot Version ###
> >> Installed Packages
> >> Name : dovecot
> >> Arch : x86_64
> >> Epoch : 2
> >> Version : 2.3.10
> >> Release : 2
> >> Size : 15 M
> >> Repo : installed
> >>  From repo : dovecot-2.3-latest
> >> Summary : Secure imap and pop3 server
> >> URL : http://www.dovecot.org/
> >> License : MIT and LGPLv2
> >> Description : Dovecot is an IMAP server for Linux/UNIX-like systems, 
> >> written with security
> >> : primarily in mind. It also contains a small POP3 server. It supports mail
> >> : in either of maildir or mbox formats.
> >> :
> >> : The SQL drivers and authentication plug-ins are in their subpackages.
> >> 
> >> Any help or suggestions are appreciated.
> >> Sincerely,
> >> Jacob S.
> >>


Re: sieve question

2020-04-21 Thread Ralph Seichter
* 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 recipient's MX. By the way, a rejection is "legally safe", while
your catch-all-and-let-messages-rot approach is not, in case you have
not considered that.

Of course, you can do as you please, but that does not change the facts
and mechanics involved.

-Ralph


Re: Dovecot 2.3.10 fails to start due to missing dependency

2020-04-21 Thread Jacob Shea

-- Message 3 - Second Response --

Aki,

I pasted all you requested to Pastebin.com

https://pastebin.com/fVLD495y

Thank you for your assistance,

- Jacob


-- Message 2 - Initial Response --

On 4/21/20 2:43 AM, Aki Tuomi wrote:

Can you show

journalctl -xe

and

systemctl status dovecot-init

and

/var/log/messages

Aki

-- Message 1 - Initial Message --

On 21/04/2020 06:02 Jacob Shea  wrote:


Greetings,
I installed Dovecot 2.3.10 on my Centos 7.7.1908 server, however it fails 
startup. This is a fresh/default install, meaning all the configs are default, 
downloaded from the dovecot.repo.

Here is my PasteBin: https://pastebin.com/376UQFLs
### Error Log, copied from Journalctl print out ###
Apr 20 21:10:01 server101 systemd[1]: Started Session 955 of user root.
Apr 20 21:10:01 server101 CROND[8057]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Apr 20 21:10:18 server101 polkitd[1293]: Registered Authentication Agent for 
unix-process:8065:44125203 (system bus name :1.2058 [/usr/bin/pkttyagent 
--notify-fd 5 --fallback], object path /org/freedesktop/Polic
Apr 20 21:10:18 server101 systemd[1]: Starting One-time Dovecot init service...
Apr 20 21:10:18 server101 systemd[1]: dovecot-init.service: main process 
exited, code=exited, status=2/INVALIDARGUMENT
Apr 20 21:10:18 server101 systemd[1]: Failed to start One-time Dovecot init 
service.
Apr 20 21:10:18 server101 systemd[1]: Dependency failed for Dovecot IMAP/POP3 
email server.
Apr 20 21:10:18 server101 systemd[1]: Job dovecot.service/start failed with 
result 'dependency'.
Apr 20 21:10:18 server101 systemd[1]: Unit dovecot-init.service entered failed 
state.
Apr 20 21:10:18 server101 systemd[1]: dovecot-init.service failed.
Apr 20 21:10:18 server101 polkitd[1293]: Unregistered Authentication Agent for 
unix-process:8065:44125203 (system bus name :1.2058, object path 
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8
lines 6106-6158/6158 (END)
### Linux Server Version ###
[root@server101 log]# cat /etc/centos-release
CentOS Linux release 7.7.1908 (Core)
### Dovecot Version ###
Installed Packages
Name : dovecot
Arch : x86_64
Epoch : 2
Version : 2.3.10
Release : 2
Size : 15 M
Repo : installed
 From repo : dovecot-2.3-latest
Summary : Secure imap and pop3 server
URL : http://www.dovecot.org/
License : MIT and LGPLv2
Description : Dovecot is an IMAP server for Linux/UNIX-like systems, written 
with security
: primarily in mind. It also contains a small POP3 server. It supports mail
: in either of maildir or mbox formats.
:
: The SQL drivers and authentication plug-ins are in their subpackages.

Any help or suggestions are appreciated.
Sincerely,
Jacob S.





Re: INBOX folders disappeared after upgrading

2020-04-21 Thread John Stoffel
> "Dave" == Dave   writes:

Dave> On Thu, April 16, 2020 2:33 pm, John Stoffel wrote:
>> Makes sense.  I'm not a dovecot expert, but in terms of RHEL, have you
>> checkd that the yum update didn't change file permissions, or enable
>> selinux or do something like that?

Dave> old (before upgrade) dir was like this (from backup):

I think your dovecot config has changed in some manner.  Can you share
the output of 'dovecot -n' please?

Dave> drwx--  2 dave dave  245760 Mar 10 16:56 cur
Dave> -rw-rw-r--  1 dave dave   48744 Mar  9 14:48 dovecot.index
Dave> -rw-rw-r--  1 dave dave 1920452 Mar  2 06:49 dovecot.index.cache
Dave> -rw-rw-r--  1 dave dave1808 Mar 10 17:01 dovecot.index.log
Dave> -rw-rw-r--  1 dave dave   32792 Mar  9 14:48 dovecot.index.log.2
Dave> -rw-rw-r--  1 dave dave 450 Sep 15  2017 dovecot.index.thread
Dave> -rw-rw-r--  1 dave dave3192 Aug 26  2019 dovecot.mailbox.log
Dave> -rw-rw-r--  1 dave dave  206829 Mar 10 16:56 dovecot-uidlist
Dave> -rw-rw-r--  1 dave dave   8 May  7  2019 dovecot-uidvalidity
Dave> -r--r--r--  1 dave dave   0 Nov 14  2016 dovecot-uidvalidity.582a69fb
Dave> -r--r--r--  1 dave dave   0 Nov 14  2016 dovecot-uidvalidity.582a6a01
Dave> drwxrwxr-x  5 dave dave 167 Aug 28  2019 .DRAFTS
Dave> drwxrwxr-x 33 dave dave4096 Mar  2  2019 .INBOX
Dave> drwx--  2 dave dave4096 Mar 10 16:56 new
Dave> drwxrwxr-x  5 dave dave 192 Dec 21 14:33 .SENT
Dave> drwxrwxr-x  5 dave dave 192 Feb 12 16:04 .SPAM
Dave> -rw-rw-r--  1 dave dave 728 Aug 26  2019 subscriptions
Dave> drwx--  2 dave dave  10 Mar 10 18:17 tmp
Dave> drwxrwxr-x 14 dave dave 320 Sep 11  2019 .TRASH

Dave> new dir is now like so (maybe this gives some clues to someone,
Dave> altho I assume the dovecot guys would understand the changes
Dave> that have been made - I tried to dig thru changelogs to some
Dave> level):

I suspect it's a config change that was put in place by the RHEL
upgrade, which is why you need to provide the 'dovecot -n' output.

Dave> drwx--.  2 dave dave  221184 Apr 17 02:28 cur
Dave> -rw-rw-r--.  1 dave dave   80008 Apr 16 13:33 dovecot.index
Dave> -rw-rw-r--.  1 dave dave 2113444 Apr 16 13:30 dovecot.index.cache
Dave> -rw-rw-r--.  1 dave dave   29992 Apr 17 02:34 dovecot.index.log
Dave> -rw-rw-r--.  1 dave dave 450 Sep 15  2017 dovecot.index.thread
Dave> -rw-rw-r--.  1 dave dave3192 Aug 26  2019 dovecot.mailbox.log
Dave> -rw-rw-r--.  1 dave dave  227210 Apr 17 02:28 dovecot-uidlist
Dave> -rw-rw-r--.  1 dave dave   8 Mar 28 09:31 dovecot-uidvalidity
Dave> -r--r--r--.  1 dave dave   0 Nov 14  2016 dovecot-uidvalidity.582a6a04
Dave> drwxrwxr-x.  5 dave dave4096 Mar 28 09:31 DRAFTS
Dave> drwxrwxr-x.  5 dave dave4096 Aug 28  2019 .DRAFTS
Dave> drwxrwxr-x. 32 dave dave4096 Mar  2  2019 .INBOX
Dave> drwx--.  2 dave dave4096 Apr 20 18:13 new
Dave> drwxrwxr-x.  5 dave dave4096 Mar 28 09:31 SENT
Dave> drwxrwxr-x.  5 dave dave4096 Apr 15 19:21 .SENT
Dave> drwxrwxr-x.  5 dave dave4096 Mar 17 13:22 .SPAM
Dave> -rw-rw-r--.  1 dave dave 728 Aug 26  2019 subscriptions
Dave> drwx--.  2 dave dave   6 Apr 20 18:13 tmp
Dave> drwxrwxr-x.  5 dave dave4096 Mar 28 09:31 TRASH
Dave> drwxrwxr-x. 14 dave dave4096 Sep 11  2019 .TRASH

Dave> no config changes were done, just binary updates.. I compared configs
Dave> against the backup to check

How did you compare them?  

>> Can you see the mail using none IMAP based tools?  What do the dovecot
>> and postfix logs show?  And what about squirrelmail?  Check all your
>> logs for permissions issues.

Dave> I put the old subscriptions file back and do (pure dovecot at this point):

Dave> [dave@vm1 ~]$ doveadm mailbox list
Dave> SENT
Dave> TRASH
Dave> DRAFTS
Dave> SPAM
Dave> INBOX

Dave> (SPAM was an old folder I had created many years back, other than it,
Dave> everything had been created as folders under INBOX)

Dave> subscriptions (snippet)

Dave> SENT
Dave> TRASH
Dave> DRAFTS
Dave> INBOX/Facebook
Dave> SPAM
Dave> INBOX/Amazon
Dave> INBOX/Linkedin
Dave> INBOX/bills
Dave> INBOX/ADT
Dave> INBOX/food
Dave> INBOX/money
Dave> INBOX/art
Dave> INBOX/pets
Dave> 

>> doveadm log errors

Dave> alot of errs related to the previous folders that used to work

Dave> Apr 07 15:21:43 Warning: imap(dave): Subscriptions file
Dave> /home/davej/Maildir/subscriptions: Removing invalid entry: INBOX/property
Dave> Apr 15 14:55:39 Warning: imap(dave): Subscriptions file
Dave> /home/dave/Maildir/subscriptions: Removing invalid entry: INBOX/Facebook

This smells funky, are there any *other* errors or warnings in the log
file other than these types of messages?

John




Re: sieve question

2020-04-21 Thread mj

Hi all,

Thanks for the interesting discussion.

The idea behind the catch-all mailbox is basically to have a 
transitional period between now and the nullmx config we did not know 
about. (thanks for mentioning that, we will do it!)


Our autoreply message reads: "Your email has not been read nor 
forwarded", which is also the case, forcing the sender to take action.
It is just kept in a simple catch-all mailbox, for a couple of 
weeks/months, in case we discover that something important was 
accidentally still sent to the old domain.


And yes, that would be neither fish nor flesh for the time being, but 
only during the transitional period. Afterwards we will put the nullmx 
config in place.


Thanks for again for all your thoughts: appreciated.

MJ

On 4/21/20 4:02 AM, LuKreme wrote:

On Apr 20, 2020, at 19:13, @lbutlr  wrote:


The other thing you can do is NOMX the old domain.


Sorry, nullmx is what I meant.

Btw, I think this is the best solution.

Sent from my iPhone



Re: replication newbie: some beginner questions

2020-04-21 Thread Stefan G. Weichinger
Am 17.04.20 um 03:37 schrieb @lbutlr:
> On 15 Apr 2020, at 07:50, Stefan G. Weichinger 
> wrote:
>> So I think about how to get the mailboxes from A to B.
>> 
>> We use one UID afaik:
>> 
>> mail_home = /home/vmail/%d/%u mail_location = maildir:~
>> 
>> I read about dsync and wonder:
>> 
>> * does it make sense in this case to set up replication and let
>> the servers replicate at first while still running on the old
>> server?
> 
> I ave done this (dovevot mailers under a email user) and I simply
> used rsync to copy the mail to the new machine.
> 
> Once I had synced, I then synced again, shutdown the mail server,
> synced on last time, and started the mail server on the new hardware.
> The last sync only had to catch up a few emails, so all told I was
> down for a shorter time than a simple reboot.
> 
> That said, doing it via replication would have been “better” but in
> my case wasn’t worth the time it would have taken to setup, test,
> test, backup all the mail an extra time anyway, and then implement.

thanks for that feedback

Today I will setup the new server and try to enable replication.

I will connect both dovecots to the same instance of mariadb which
should let them know about all the existing mailboxes ... and then I
will see.

My question around the sieve-scripts is still open ... I assume I will
maybe try to replicate a sub-set of the mailboxes, check things ... and
then decide how to proceed.


Unicode in mail addresses

2020-04-21 Thread Jasper Michalke

Dear Dovecot people,
I have a question concering Unicode support: Does Dovecot support Unicode 
characters in both parts of the mail address? E.g. dфҿ@.tld
Thank you for any reply,
The one with the braid | Der mit dem Zopf


Re: Dovecot 2.3.10 fails to start due to missing dependency

2020-04-21 Thread Aki Tuomi
Can you show

journalctl -xe

and

systemctl status dovecot-init

and 

/var/log/messages

Aki

> On 21/04/2020 06:02 Jacob Shea  wrote:
> 
> 
> Greetings,
> I installed Dovecot 2.3.10 on my Centos 7.7.1908 server, however it fails 
> startup. This is a fresh/default install, meaning all the configs are 
> default, downloaded from the dovecot.repo. 
> 
> Here is my PasteBin: https://pastebin.com/376UQFLs
> ### Error Log, copied from Journalctl print out ###
> Apr 20 21:10:01 server101 systemd[1]: Started Session 955 of user root.
> Apr 20 21:10:01 server101 CROND[8057]: (root) CMD (/usr/lib64/sa/sa1 1 1)
> Apr 20 21:10:18 server101 polkitd[1293]: Registered Authentication Agent for 
> unix-process:8065:44125203 (system bus name :1.2058 [/usr/bin/pkttyagent 
> --notify-fd 5 --fallback], object path /org/freedesktop/Polic
> Apr 20 21:10:18 server101 systemd[1]: Starting One-time Dovecot init 
> service...
> Apr 20 21:10:18 server101 systemd[1]: dovecot-init.service: main process 
> exited, code=exited, status=2/INVALIDARGUMENT
> Apr 20 21:10:18 server101 systemd[1]: Failed to start One-time Dovecot init 
> service.
> Apr 20 21:10:18 server101 systemd[1]: Dependency failed for Dovecot IMAP/POP3 
> email server.
> Apr 20 21:10:18 server101 systemd[1]: Job dovecot.service/start failed with 
> result 'dependency'.
> Apr 20 21:10:18 server101 systemd[1]: Unit dovecot-init.service entered 
> failed state.
> Apr 20 21:10:18 server101 systemd[1]: dovecot-init.service failed.
> Apr 20 21:10:18 server101 polkitd[1293]: Unregistered Authentication Agent 
> for unix-process:8065:44125203 (system bus name :1.2058, object path 
> /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8
> lines 6106-6158/6158 (END)
> ### Linux Server Version ###
> [root@server101 log]# cat /etc/centos-release
> CentOS Linux release 7.7.1908 (Core)
> ### Dovecot Version ###
> Installed Packages
> Name : dovecot
> Arch : x86_64
> Epoch : 2
> Version : 2.3.10
> Release : 2
> Size : 15 M
> Repo : installed
> From repo : dovecot-2.3-latest
> Summary : Secure imap and pop3 server
> URL : http://www.dovecot.org/
> License : MIT and LGPLv2
> Description : Dovecot is an IMAP server for Linux/UNIX-like systems, written 
> with security
> : primarily in mind. It also contains a small POP3 server. It supports mail
> : in either of maildir or mbox formats.
> :
> : The SQL drivers and authentication plug-ins are in their subpackages.
> 
> Any help or suggestions are appreciated.
> Sincerely,
> Jacob S.
>