1

Topic: Saving error

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Debian
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Getting this error message when sending mail. The mail gets sent and received and put in the sent folder.

IMAP Error: Could not save message in Sent in /opt/www/roundcubemail-1.3.0/program/steps/mail/sendmail.inc on line 655 (POST /mail/?_task=mail&_unlock=loading1512492203304&_lang=en_US&_framed=1&_saveonly=1&_action=send)

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Saving error

Any error in Dovecot log file?

3

Re: Saving error

This is a default iredmail install. Evidently dovecot logs are not enabled:
This is what the log had in it:

Dec  4 11:34:59 mail dovecot: master: Dovecot v2.2.27 (c0f36b0) starting up for pop3, imap, sieve, lmtp (core dumps disabled)

Where do I change the logging options?

4

Re: Saving error

Dovecot log files should be under /var/log/dovecot/

5

Re: Saving error

That is where i took that info from.

6

Re: Saving error

Any related log in files under /var/log/dovecot/? not just 'dovecot.log'.

7 (edited by dcihon 2017-12-13 23:03:43)

Re: Saving error

dcihon@mail:/var/log/dovecot$ ls -l
total 39748
-rw-r--r-- 1 root adm        0 Dec 11 00:05 dovecot.log
-rw-r--r-- 1 root adm      252 Dec  6 22:32 dovecot.log.1
-rw-r--r-- 1 root adm      215 Nov 27 20:01 dovecot.log.2.gz
-rw-r--r-- 1 root adm       20 Nov 19 00:08 dovecot.log.3.gz
-rw-r--r-- 1 root adm      127 Nov 12 21:30 dovecot.log.4.gz
-rw-r--r-- 1 root adm      288 Nov 11 09:22 dovecot.log.5.gz
-rw-r--r-- 1 root adm      127 Nov  4 13:47 dovecot.log.6.gz
-rw-r--r-- 1 root adm      279 Oct 28 10:56 dovecot.log.7.gz
-rw-r--r-- 1 root adm      506 Oct 20 06:01 dovecot.log.8.gz

This was in one of the archived logs:
Nov 27 20:01:08 mail dovecot: master: Error: service(auth): command startup failed, throttling for 2 secs
Nov 27 20:01:08 mail dovecot: lda: Fatal: Internal error occurred. Refer to server log for more information.
Nov 27 20:01:09 mail dovecot: auth: Fatal: Error reading configuration: Timeout reading config from /var/run/dovecot/config

8

Re: Saving error

dcihon wrote:

This was in one of the archived logs:

We don't need old log not related to your issue.

Please try to turn on debug mode in Dovecot and reproduce the issue again, then extract related log here for troubleshooting.
FYI: https://docs.iredmail.org/debug.dovecot.html

9

Re: Saving error

I see a lot of these errors:

 Dec 27 08:42:57 mail dovecot: imap(danc@dccathome.com): Debug: acl vfile: file /var/vmail/vmail1/dccathome.com/d/a/n/danc-2017.10.17.08.38.39//Maildir/.Saved Emails.Discover/dovecot-acl not found

10

Re: Saving error

This is safe to ignore.