Topic: local processes sending notification emails - emails rejected
In this case, it's cfengine... so, if something happens, cfengine uses localhost as its mail server and sends an email to the appropriate address. The from address is set to cfengine@fqdn.of.the.mail.server
However, postfix on the iredmail server is rejecting these mails with:
package postfix/smtpd[32398]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.0 <cfengine@fqdn.of.mail.server>: Sender address rejected: User unknown in local recipient table; from=<cfengine@fqdn.of.mail.server> to=<destination@some.other.domain> proto=SMTP helo=<mail.server.fqdn>
The mail server is in a different domain that the domain for which it has the MX record (and perhaps if it was in the mail domain it would just work?).
So, I guess I need to add that address, cfengine@fqdn.of.mail.server as an authorized sending address in the postgresql db someplace, or in a postfix config file someplace? Suggestions/hints/solutions?
Thanks.
==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL): 0.8.1 PGSQL
- Linux/BSD distribution name and version: RHEL6.3/64
====
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.