On Fri, Dec 05, 2008 at 09:12:34PM -0800, Evan Platt wrote:

> My primary MX record for my domain is an anti-spam server. This server 
> then delivers to my mail server (so basically my postfix and firewall 
> only allow smtp connections from a few IP's).
> 
> However the problem is the anti-spam server essentially allows anything 
> at my domain - [EMAIL PROTECTED], etc. I maintain a list of allowed 
> aliases in postfix - /etc/postfix/aliases. My anti-spam server can query 
> an ldap server, and then reject at SMTP time, any invalid e-mail 
> addresses. So basically, is there a way for postfix to act as a LDAPS 
> server and allow a outside server query to check if a alias is valid?
> 
> Hope this makes sense...  I'm running Postfix 2.1.5 - I can obviously 
> provide my postconf -n, but not sure that's needed..

- OpenLDAP's slapd(8) is an LDAP server.
- Postfix's smtpd(8) is an SMTP server.

If you install an LDAP server, and store aliases there, Postfix can also
query it. Then both the edge gateway and Postfix have the same user list.

If you deploy an edge gateway that can do SMTP recipient verification,
then Postfix can act as a recipient validity oracle without LDAP by
rejecting invalid SMTP recipients (via the SMTP protocol).

- Postfix does not provide an LDAP server.
- OpenLDAP does not provide an SMTP server.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[EMAIL PROTECTED]>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to