Quantcast
Channel: iRedMail — iRedMail Support
Viewing all articles
Browse latest Browse all 12094

Sender address rejected: Domain not found;

$
0
0

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 14.04 LTS
- Related log if you're reporting an issue:
====

Been stuck on this for some time now.  I want messages generated from VMWare on the same local network as my e-mail server to arrive in my inbox.  It is already working from other servers on the network, but not from VMWare vCenter Server.  Getting this message:

/etc/log/mail.log wrote:

Oct 27 11:57:01 hostname postfix/smtpd[24394]: connect from unknown[x.x.x.x]
Oct 27 11:57:01 hostname postfix/smtpd[24394]: NOQUEUE: reject: RCPT from unknown[x.x.x.x]: 450 4.1.8 <user@servername.domain.location>: Sender address rejected: Domain not found; from=<user@servername.domain.location> to=<user@iredmail.fqdn> proto=ESMTP helo=<servername.iredmail.fqdn>
Oct 27 11:57:29  postfix/smtpd[24394]: last message repeated 9 times
Oct 27 11:57:29 hostname postfix/smtpd[24394]: too many errors after DATA from unknown[x.x.x.x]
Oct 27 11:57:29 hostname postfix/smtpd[24394]: disconnect from unknown[x.x.x.x]

This is probably the answer, but I don't exactly know what this means, or how to do it:

VMWare KB - Diagnosing why vCenter Server is not sending email alerts (1004070) wrote:

Verify that the mail server configuration allows for mail to be sent from the vCenter Server. The ability to send mail may be restricted so that anonymous email is not allowed or that specific user accounts are required to send mail. If this is the case a rule must be created to allow the vCenter Server to send email, as there is currently no way to configure SMTP authentication with vCenter Server.

Removing "reject_unknown_sender_domain, reject_unknown_ recipient_domain, ... " allowed the messages to be sent as desired.  (ref: http://www.1a-centosserver.com/centos_l … issue.php)

Since this reduces security, I hope for a solution that allows for a specific exception for <user@servername.domain.location>, which is what vCenter Server sends mail from.  It is a different domain than my e-mail server.

/etc/postfix/main.cf wrote:

smtpd_recipient_restrictions = <deleted>reject_unknown_sender_domain, reject_unknown_ recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_ unlisted_recipient, </deleted> permit_mynetworks, permit_sasl_authenticated, reject_una uth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname , check_policy_service inet:127.0.0.1:10031

It did not work, but I tried Postfix masquerading or changing outgoing SMTP email or mail address using /etc/postfix/generic per this article:
http://www.cyberciti.biz/tips/howto-pos … dress.html


This was posted previously, but is what I want to avoid:
http://www.iredmail.org/forum/topic4132 … found.html

Thanks for your support.


Viewing all articles
Browse latest Browse all 12094

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>