Topic: Recipient address rejected: User unknown
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check 1.5.2 MARIADB edition):
- Deployed with iRedMail Easy or the downloadable installer?: Installer
- Linux/BSD distribution name and version: Ubuntu 22.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? NO
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Logs:
550 5.1.1 <theo@example.com>: Recipient address rejected: User unknown
Dec 14 10:18:14 mail-1 postfix/submission/smtpd[177419]: NOQUEUE: reject: RCPT from unknown[2a01:cb1d:8833:1a00:dfe6:4b16:30d8:4f1]: 550 5.1.1 <theo@example.com>: Recipient address rejected: User unknown; from=<postmaster@example.com> to=<theo@example.com> proto=ESMTP helo=<theo-B550-AORUS-ELITE-V2>
Dec 14 10:18:14 mail-1 postfix/submission/smtpd[177419]: disconnect from unknown[2a01:cb1d:8833:1a00:dfe6:4b16:30d8:4f1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=0/1 quit=1 commands=6/7
Hello,
I want to send a mail to theo@example.com.
This user is not created in IRedAdmin but this is a gmail account (I created it in gmail)
However, if I send a mail to theo@example.com postfix seems to check if the user "theo" exists locally (in IRedmail)...
How can I disable this check?
I already tried to remove this: but it doesn't works..
# Sender restrictions
#smtpd_sender_restrictions =
# reject_non_fqdn_sender
# reject_unlisted_sender
# permit_mynetworks
# permit_sasl_authenticated
# check_sender_access pcre:/etc/postfix/sender_access.pcre
# reject_unknown_sender_domain
# Recipient restrictions
#smtpd_recipient_restrictions =
# reject_non_fqdn_recipient
# reject_unlisted_recipient
# check_policy_service inet:127.0.0.1:7777
# permit_mynetworks
# permit_sasl_authenticated
# reject_unauth_destination
# check_policy_service inet:127.0.0.1:12340
#smtpd_reject_unlisted_recipient = yes
#smtpd_reject_unlisted_sender = yes
Thanks!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.