Blocking incorrectly addressed mail when relaying to Exchange

Plant, Dean dean.plant at ROKE.CO.UK
Fri Feb 13 15:06:33 GMT 2004

Thanks for this Kevin. This is something we will be looking at in the

Dean Plant

-----Original Message-----
From: Kevin Spicer [mailto:kevin at KEVINSPICER.CO.UK]
Sent: 12 February 2004 22:12
Subject: Blocking incorrectly addressed mail when relaying to Exchange

Theres been some interest expressed in this in the past.  Recently
Jan-Peter Koopman posted a vb script to the list to produce a list of
email addresses from active directory (he was using it with exim I
believe).  I've managed to get this to work for sendmail, with a little
perl script of my own and sendmail's ldap_routing feature (which despite
its name doesn't need to use ldap).  I've added a description of how I
did this (and the necessary scripts) to the FAQ


[By the way this isn't the only way to do this - some people may prefer
to use LDAP directly from sendmail]
Kevin Spicer (kevin AT kevinspicer DOT co DOT uk)

This message is digitally signed using the GNU Privacy Guard.
My public key may be obtained from

Registered Office: Roke Manor Research Ltd, Siemens House, Oldbury, Bracknell,
Berkshire. RG12 8FZ

The information contained in this e-mail and any attachments is confidential to
Roke Manor Research Ltd and must not be passed to any third party without
permission. This communication is for information only and shall not create or
change any contractual relationship.

More information about the MailScanner mailing list