Tony Finch wrote:
[...]
I'm still working on a way to do this - I'm sure it's not impossible, but I
haven't had much success yet. Ideally, the Linux machine would do an LDAP
query to the Exchange server, but unless you can help me figure out how to
do it, then I guess I'll just remain a "f*cking idiot admin".
It's fairly straightforward with Exim.
http://www.exim.org/eximwiki/MsExchangeAddressVerification
There are soooo many ways to do it.....
- you can have it done using LDAP online like described by the
documentation you pointed at....
- you can do it using LDAP offline by polling regularly and creating a
local database, like others pointed out
- using exim, you can simply perform callouts agains Exchange to
verify a given recipient actually exists
- someone told me that postfix could perform callouts like exim does?
- if postfix can't, you could use a very easy policy-daemon to perform
the callouts (I'd start using Perl Mail::Checkuser)
- sendmail could use a simple milter, probably not much harder than
postfix-policy-daemon
Basically, there is NO justification to bounce no-existant-recipients.
However, I admit that e.g. bounces caused by users being over-quota are
much harder to prevent, causing me lots of trouble...
--
CU,
Patrick.