Topic: send-email-without-smtp-authentication
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.2 OPENLDAP edition.
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: debian11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): ldap
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro? yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi, i do not understand, i follow https:__docs.iredmail.org/allow.send.without.smtp.auth.html#allow-some-user-to-send-email-without-smtp-authentication
i ve replaced X.Y.Y.Z.W with my public ip addresses and domaine.com is a replace of my own domain
file /opt/iredapd/settings.py :
MYNETWORKS = ['10.0.0.0/9', 'X.Y.Z.W/24']
ALLOWED_FORGED_SENDERS = ['uparis1@domaine.com']
file /etc/postfix/sender_access.pcre :
/^uparis1@comaine\.com$/ OK
/^10\./ OK
then test in thunderbird
when i try to sen and email as uparis1 without auth (but with start_ssl) i ve got
Jan 26 15:05:04 vm-deb64-20 postfix/submission/smtpd[2446]: connect from unknown[10.64.1.136]
Jan 26 15:05:04 vm-deb64-20 postfix/submission/smtpd[2446]: Anonymous TLS connection established from unknown[10.64.1.136]: TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
Jan 26 15:05:04 vm-deb64-20 postfix/submission/smtpd[2446]: NOQUEUE: reject: RCPT from unknown[10.64.1.136]: 554 5.7.1 <unknown[10.64.1.136]>: Client host rejected: Access denied; from=<uparis1@domaine.com> to=<lolo@domaine.com> proto=ESMTP helo=<[10.64.1.136]>
with auth and start_ssl it works
where is my mistake ?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.