MTA/Perl script for relaying only to Exchange-users

Dave Helton dave at KD0YU.COM
Fri Nov 23 22:54:31 GMT 2012


Running the script in a cron job would work....  seems to me to be a lot of overhead.

mimedefang (another milter) has a check_with_ad_server_for_valid_user() function.
(it's not called that but you get the idea..)
I used to use it a lot, but I convinced a customer the Exchange server was not worth the money or effort.
(long time ago, when it wasn't ;)

Since mimedefang has segments that are only called during certain parts of the mail conversation...
you can implement as much or as little as you like.  BTW... written in perl.


From: mailscanner-bounces at [mailto:mailscanner-bounces at] On Behalf Of Chris Stone
Sent: Friday, November 23, 2012 3:18 PM
To: MailScanner discussion
Subject: Re: MTA/Perl script for relaying only to Exchange-users

On Fri, Nov 23, 2012 at 11:28 AM, Peter Bonivart <bonivart at<mailto:bonivart at>> wrote:
On Fri, Nov 23, 2012 at 6:16 PM, Chris Stone <axisml at<mailto:axisml at>> wrote:
> milter-ahead is going to be a ton more efficient than any perl based script.
> milter-ahead is written in C, supports caching and numerous indexed or flat
> text file databases for the local cache.
I assume the script was only used to extract the recipient addresses
from AD and build the necessary Sendmail files via a cron job so
performance shouldn't be an issue at all.

This message has been scanned for viruses and dangerous content
by MailScanner at KD0YU.COM, and is believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list