Using sendmail on FC5<br><br><div><span class="gmail_quote">On 9/21/06, <b class="gmail_sendername">Daniel Maher</b> &lt;<a href="mailto:daniel.maher@ubisoft.com">daniel.maher@ubisoft.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">












<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Yes!</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">The basic premise is to configure your MTA
(sendmail, postfix, whatever) to verify the "RCPT TO:" header field
against an LDAP request, via a built-in or modular mechanism. &nbsp;In reality, it
is outside of the scope of MailScanner <i><span style="font-style: italic;">specifically</span></i>,
but is an interesting and worthwhile exercise nonetheless.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">What MTA are you using? &nbsp;That will define
your next course of action, since the methodology is (obviously) different from
depending on that factor.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<div>

<p><font color="navy" face="Courier New" size="1"><span style="font-size: 8pt; color: navy;" lang="FR-CA">--</span></font></p>

<p><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy;" lang="FR-CA">&nbsp; _<br>
&nbsp;°v°&nbsp; </span></font><font color="navy" face="Arial Narrow" size="2"><span style="font-size: 10pt; color: navy;" lang="FR-CA">Daniel Maher</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy;" lang="FR-CA">
<br>
/(_)\ </span></font><font color="navy" face="Arial Narrow" size="2"><span style="font-size: 10pt; color: navy;" lang="FR-CA">Administrateur
Système Unix</span></font><font color="navy"><span style="color: navy;" lang="FR-CA"></span></font></p>

<p><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy;" lang="FR-CA">&nbsp;</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy;">^ ^</span>
</font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy;"> &nbsp;</span></font><font color="navy" face="Arial Narrow" size="2"><span style="font-size: 10pt; color: navy;">Unix System
Administrator</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">&nbsp;</span></font></p>

<p><em><i><font color="navy" face="Arial" size="1"><span style="font-size: 7.5pt; font-family: Arial; color: navy;">Sentio aliquos togatos
contra me conspirare.</span></font></i></em></p>

</div>

<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:mailscanner-bounces@lists.mailscanner.info" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mailscanner-bounces@lists.mailscanner.info</a>
[mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mailscanner-bounces@lists.mailscanner.info</a>] <b><span style="font-weight: bold;">
On Behalf Of </span></b>Devon Harding<br>
<b><span style="font-weight: bold;">Sent:</span></b> September 21, 2006 9:20 AM<br>
<b><span style="font-weight: bold;">To:</span></b> MailScanner
 discussion<br>
<b><span style="font-weight: bold;">Subject:</span></b> LDAP Rejection</span></font></p>

</div><span class="q">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Is there any way to reject incoming messages based on an LDAP lookup to
my Active Directory forest?<br>
<br>
-Devon</span></font></p>

</span></div>

</div>

</div>



<br>--<br>MailScanner mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">
http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br><br>Before posting, read <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting
</a><br><br>Support MailScanner development - buy the book off the website!<br><br><br></blockquote></div><br>