OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: 550 Relay Denied

From: Noel Jones (njonesmegan.vbhcs.org)
Date: Wed May 09 2007 - 13:15:13 CDT


At 10:20 AM 5/9/2007, Dave Morrow wrote:
>Hi all.
>
>This is my first post to this list and I will apologize up front if
>this is a "RTFM" kind of question.
>
>I have been following an online how-to on setting up
>Courier-Postfix-LDAP and have run into 1 minor snag.
>I have everything working with Virtual mailboxes (no Linux accounts)
>with the exception of sending outbound mail. I keep getting stuck
>with 550 Relay Access Denied when I try to send out.
>
>Can someone point me in the right direction to getting my virtual
>domains (which are defined in OpenLDAP) to be allowed to relay.
>
>Any help would be greatly appreciated.
>

Postfix allows relaying when either the client IP is listed in
mynetworks, or the client has authenticated via SMTP-AUTH aka. SASL.

If the client has a static IP address (or is within a block you
control) adding the IP to mynetworks is the simplest solution.

If the client has a dynamic IP address, you must set up sasl
authentication, usually this also includes setting up TLS
encryption. Postfix must be compiled with sasl and tls support, and
also requires either cyrus-sasl or dovecot to handle the authentication.

http://www.postfix.org/SASL_README.html
http://www.postfix.org/TLS_README.html

If you need more help, here are instructions about what we like to see.
http://www.postfix.org/DEBUG_README.html#mail
Include output of "postconf -n" and any changes you have made to master.cf.
Also include complete log entries showing the problem and a full
description of what isn't working.
If the problem includes difficulity in configuring sasl, include
output from the "saslfinger" tool.
Specifically, we do not care to see your main.cf.

--
Noel Jones