LDAP Rejection
Glenn Steen
glenn.steen at gmail.com
Thu Sep 21 14:48:20 IST 2006
On 21/09/06, Devon Harding <devonharding at gmail.com> wrote:
> Is there any way to reject incoming messages based on an LDAP lookup to my
> Active Directory forest?
>
> -Devon
>
I'm sure there are more efficient ways, but the way its done for
postfix (and could be for exim, postfix etc via similar features) is
detailed in the wiki:
http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:postfix:how_to:reject_non_existent_users#rejecting_unknown_non-local_users
The thing here is that one doesn't do a lookup/recipient, but rather
dump the whole shebang to a file ... and use the MTAs "local db
method" to look the recipient up, which make the lookup less
resource-hungry/prone to fail.
I'm sure there are more direct routes too, some milter (milter-ldap?)
or other, but those might be less ... slim:-).
--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
More information about the MailScanner
mailing list