Topic: Allow unauthenticated mail (internal network) - blocks web access
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: Ubuntu 18.04 Server LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
For a device I need to setup a way to send unauthenticated mails (internal network only).
Done so far:
* added: /etc/postfix/accepted_unauth_senders, contains:
sender@report.xy OK
created the hash with "postmap hash:/etc/postfix/accepted_unauth_senders"
* modified "etc/postfix/main.cf" and added
check_sender_access hash:/etc/postfix/accepted_unauth_senders
* restarted POSTFIX, runs fine.
Next step:
* Added "/opt/iredapd/settings.py" (which is actually "/opt/iredapd-2.2/settings.py")
ALLOWED_FORGED_SENDERS = ['user@report.xy']
and restartet iRedMailADP ... and even the whole box.
Problem:
After I modified "/opt/iredapd/settings.py" I can't login via browser (Roundcube, iRedAdmin-Pro) anymore.
Removing the line and restarting, everything is fine. The status checks of Postfix/iRedMail don't give me any clues.
What can I do?
Greetings,
Peter
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.