anonaddy / docker

AnonAddy Docker image
MIT License
520 stars 56 forks source link

Suddenly not receiving mails anymore #235

Open Lexxior opened 1 year ago

Lexxior commented 1 year ago

Hello I have not changed anything on my setup but I suddenly can‘t receive any mails anymore. Any ideas why this might be?

willbrowningme commented 1 year ago

Please check the mail logs and logs in data/storage/logs.

Lexxior commented 1 year ago
   INFO  No scheduled commands are ready to run.  
mail.err: Aug 20 06:54:40 postfix/smtpd[15252]: error: open database /etc/postfix/aliases.lmdb: No such file or directory
mail.crit: Aug 20 06:54:40 postfix/smtpd[15252]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains
mail.warn: Aug 20 06:54:41 postfix/master[911]: warning: process /usr/libexec/postfix/smtpd pid 15252 exit status 1
mail.warn: Aug 20 06:54:41 postfix/master[911]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
crond: USER anonaddy pid 15253 cmd php /var/www/anonaddy/artisan schedule:run --no-ansi --no-interaction

this is the docker container log /data/storage/logs are all empfy files

willbrowningme commented 1 year ago

I'm afraid I'm not familiar with Docker so cannot be of much help.

I would play around with smtpd_relay_restrictions or smtpd_recipient_restrictions to try and fix the fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains error.