Missing: E-Mail in local folder

On an otherwise functioning system, emails disappear or are not displayed in the user mailbox.

There are 15 users on the server with a corresponding number of domains.

Basically, every user can send and receive.

However, there are problems with one constellation.
Emails from the mail order company OTTO are sent via Amazon’s mail server.

These leave the outgoing server, are processed by an upstream spam and virus filter and then delivered to the target server.


  1. /var/log/exim4/maillog
14:50:51 1sRtG7-0006Ei-FG DKIM: d=info.otto-payments.de s=vcmemm4aikylkgdd45s4chaugwjqglnx c=relaxed/simple a=rsa-sha256 b=2048 t=1720702243 [verification succeeded] 2024-07-11
14:50:51 1sRtG7-0006Ei-FG DKIM: d=amazonses.com s=qftdzk2dqsatjnlrq4r5brjbihpfcrsh c=relaxed/simple a=rsa-sha256 b=1024 t=1720702243 [verification succeeded]
14:51:02 1sRtG7-0006Ei-FG <= 01070190a1d89311-d0da5db0-422b-4d30-ba17-1d876d056184-000000@mail-from.info.otto-payments.de H=XXX.XXX.XXX [XX.XX.XX.XX] P=esmtp S=127401 id=01070190a1d89311-d0da5db0-422b-4d30-ba17-1d876d056184-000000@eu-central-1.amazonses.com
14:51:02 1sRtG7-0006Ei-FG => info <[email protected]> R=localuser T=local_delivery

2.) /var/log/mail.log

14:50:51 mx10 spamd[1242]: spamd: setuid to debian-spamd succeeded
14:50:51 mx10 spamd[1242]: spamd: checking message <01070190a1d89311-d0da5db0-422b-4d30-ba17-1d876d056184-000000@eu-central-1.amazonses.com> for debian-spamd:117
14:51:02 mx10 spamd[1242]: spamd: clean message (-104.9/5.0) for debian-spamd:117 in 10.7 seconds, 125560 bytes.
14:51:02 mx10 spamd[1242]: spamd: result: . -104 - DKIM_SIGNED,HTML_FONT_LOW_CONTRAST,HTML_MESSAGE,RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_SAFE,T_DKIM_INVALID,T_KAM_HTML_FONT_INVALID,T_SPF_HELO_TEMPERROR,URIBL_BLOCKED,USER_IN_WHITELIST scantime=10.7,size=125560,user=debian-spamd,uid=117,required_score=5.0,rhost=127.0.0.1,raddr=127.0.0.1,rport=50736,mid=<01070190a1d89311-d0da5db0-422b-4d30-ba17-1d876d056184-000000@eu-central-1.amazonses.com>,autolearn=ham autolearn_force=no

These are status emails about orders.

The emails are not visible in the mailbox.
For testing purposes, I added the two domains to a whitelist, but the emails still don’t arrive.

This all happens under Ubuntu 18.04.

I don’t know what the problem is and I’m afraid Hestia doesn’t support Ubuntu 18.04 anymore, anyway, did you see the Completed message in Exim log?

14:51:02 1sRtG7-0006Ei-FG => Completed

You can check it with this command:

exigrep 1sRtG7-0006Ei-FG /var/log/exim4/mainlog*

Just in case the message is in another mailbox/dir (replace YourUser by the actual user):

grep -r 1sRtG7-0006Ei-FG /home/YourUser/mail/

Hello sahsanu,

thanks for your feedback at this late hour :wink:

The email has the status “Completed” via “exigrep”.

I checked the inboxes of the other users. Apparently the missing emails have not been moved to other mailboxes either.

The query via “grep -r” has no output.

Conversely, I tested the output with another email and got the correct info.

1 Like

Then I would check sieve rules, maybe there is a rule that is deleting/discarding the message. If you don’t use sieve or procmail, etc. then I don’t know what’s going on.

cat /home/YourUser/mail/YourDomain/info/dovecot.sieve

Hello sahsanu,

thanks for your support.

I don’t use Sieve and procmail. I’m trying to solve the problem in another way. The emails are delivered via third parties in order to determine the IP networks or sender addresses.

Best regards

Tom