Closed tflori closed 3 years ago
Hi @tflori ,
Have you tried the following command? docker logs mailserver
? The default settings should be good enough to see the problem. You can also check the spam.<domain>
to see what was the reason for the rejection.
Yes, I tried the process logs from docker but I didn't found something useful there (no mail from ... rejected).
Where are these spam.<domain>
folders/files? I don't find them:
root@mail:/# find -name "spam.*" 2>/dev/null
root@mail:/#
So the spam
part is a service in the docker-compose, so you can open it and you can check the Rspamd results.
The docker logs mailserver
should return the postfix + dovecot logs because they are logging to docker.
In the linked file is no spam service. On my server I have a lot of services running all in the same docker-compose environment and for a second I thought I'm missing this service after upgrading to mailserver 1.1.
hm... @SaraSmiseth do you have any idea?
@tflori , in the meantime, could you please copy your docker-compose.yaml file here without the sensitive data
Ok, I have enough logs when I enable DEBUG_MODE
in the environments.
Now I got an email from dhl (contact form copy) but the password reset seems not to send emails at all. That is all I wanted to know - if my server rejects the mails or no mails are sent.
Is there a less verbose mode than debug mode but more than without? Especially I'm interested in these lines:
2020-09-02T16:04:49.741194+00:00 mail postfix/smtpd[1289]: < mail-ed1-f52.google.com[209.85.208.52]: MAIL FROM:<***@gmail.com> SIZE=2314
Use DEBUG_MODE to enable the debug mode. Switch to
true
to enable verbose logging forpostfix
,dovecot
,rspamd
andUnbound
. To debug components separately, use this syntax:DEBUG_MODE=postfix,rspamd
.
Errors are logged to /var/log/mail.err
and warnings are logged to /var/log/mail.warn
.
I check them like this:
sudo docker exec docker_mailserver_1 cat /var/log/mail.err
Thanks @SaraSmiseth that's at least some bit less verbose. Is there no way to make postfix less verbose but not silent?
It sounds like this one is solved. Please let me know if there is anything outstanding, or if you would like to re-open.
Classification
Please delete options that are not relevant.
Docker information
Description
My general issue is that it seems that mails from DHL are not getting it to my inbox. In the past I just checked the
/var/log/mail.log
to find out what is the issue with the emails (grep for dhl) but on this image I don't find where the logs for receiving emails are. Or do I have to set somewhere the logging to info or debug to see receiving issues?