MTA/Perl script for relaying only to Exchange-users

Glenn Steen glenn.steen at gmail.com
Fri Nov 23 03:41:00 GMT 2012


IIRC this was never detailed in the main site, but rather in the wiki (
http://wiki.mailscanner.info)... Somewhere under the docs for the
respective MTA...
The script you refer to was most likely for Postfix, but ISTR someone
adapting that for Sendmail use, but the bottom line is that nowadays...
Neither MTA needs that hack. In Sendmail, use a milter (there are more than
one that will do this, at least some that are FOSS;-), in Postfix use the
docs for recipient verification as found in the postconf man page/ob the
postfix.org site (it might still be in the sender address verification doc
there... don't do that, just the recipient bit)... Or, as said, look in the
wiki (might be slightly dated info there;-).

Having said all that, I personally still use a homegrown script around the
open-ldap tools and postmap, more for historical reasons/lazyness tgan
anything else. The reason for it all dates back to the time when I was
protecting an Exchange 5.5 which was managed by a contrary fellow who
wouldn't even try make it correctly reject unknown recipients. Now... I'm
in charge of the Exchange bit too, and the defaults for that MTA has
changed, so it will reject as expected (that too changed quite a few
versions back...  In Exchange 2000, IIRC:-).

Cheers
-- 
-- Glenn
Den 21 nov 2012 23:24 skrev "Jonas Lilja" <jonas.lilja at sigma.se>:

>  Hi, for a couple of years ago there was a guide on mailscanner.infoabout restricting the MTA (Sendmail) to only deliver email to valid users
> in an Exchange environment. This made the performance of the server much
> better because either MailScanner or Spamassassin need to process invalid
> emails.****
>
> ** **
>
> I remember that there was a perl-script which picked up the content from a
> textfile (with all smtp-addresses in the domain) and then build a special
> file in /etc/mail/****
>
> ** **
>
> I can’t find this guide on the site. Anyone who can help me?****
>
> ** **
>
> BR /Jonas Lilja****
>
> ** **
>
> ** **
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20121123/a2baaeb0/attachment.html 


More information about the MailScanner mailing list