Wietse Venema: > Alex: > > Hi, > > > > >> We have set up an application using the amazon cloud service, and > > >> having a problem with relaying. How do I properly authorize the amazon > > >> servers to relay mail through our server? > > >> > > >> Aug 11 17:06:39 portal postfix/smtpd[13792]: NOQUEUE: reject: RCPT > > >> from ec2-184-72-46-254.us-west-1.compute.amazonaws.com[184.72.46.254]: > > >> 554 5.7.1 <mail.example.com>: Helo command rejected: You are not in > > >> example.com; from=<helpd...@example.com> to=<r...@example.com> > > >> proto=ESMTP helo=<mail.example.com> > > > > > > 1) Remove all the "extra" rules that you have added to main.cf. These > > > rules are causing the above error. > > > > > > 2) Start at http://www.postfix.org/BASIC_CONFIGURATION_README.html. > > > > I see that this error is being produced by my helo_checks file, but it > > also catching a lot of malicious mail as well. > > If the "relay" clients have a static IP address, see: > http://www.postfix.org/BASIC_CONFIGURATION_README.html.
Otherwise, see http://www.postfix.org/SASL_README.html (for SASL authentication) or http://www.postfix.org/TLS_README.html (for TLS authenticationa nd encryption). Wietse