1

Topic: smtpd_reject_unlisted_sender

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 MARIADB edition.
- Linux/BSD distribution name and version: Ubuntu 16.04 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.
====

I have domain lfoto.lv hosted on iRedAdmin. I want to be able to recive emails from mail users of the domain that don't exist. So I tried smtpd_reject_unlisted_sender parameter in postfix, but not working.

# postconf | grep smtpd_reject_unlisted_sender
smtpd_reject_unlisted_sender = no

From mail.log

Mar 23 11:31:38 mx1 postfix/smtpd[63337]: connect from ups.it-lideris.lv[192.168.3.15]
Mar 23 11:31:38 mx1 postfix/smtpd[63337]: Anonymous TLS connection established from ups.it-lideris.lv[192.168.3.15]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Mar 23 11:31:38 mx1 postfix/smtpd[63337]: NOQUEUE: reject: RCPT from ups.it-lideris.lv[192.168.3.15]: 550 5.1.0 <c15lfoto@lfoto.lv>: Sender address rejected: User unknown in virtual mailbox table; from=<c15lfoto@lfoto.lv> to=<lauris@it-lideris.lv> proto=ESMTP helo=<v05.it-lideris.lv>
Mar 23 11:31:38 mx1 postfix/smtpd[63337]: disconnect from ups.it-lideris.lv[192.168.3.15] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 rset=1 quit=1 commands=6/8

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: smtpd_reject_unlisted_sender

Search "reject_unlisted_sender" in /etc/postfix/main.cf.