Postfix Ldap Setup

Jeff Mills Jeff.Mills at POCOLD.COM.AU
Thu Oct 14 05:16:58 IST 2004


<x-html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=191281304-14102004><FONT face=Arial color=#0000ff size=2>I'm 
not sure having LDAP open to the outside from exchange servers is a good idea - 
I only connect to my internal LDAP.</FONT></SPAN></DIV>
<DIV><SPAN class=191281304-14102004><FONT face=Arial color=#0000ff size=2>The 
perl script mentioned on the page I sent has plenty of commenting to explain 
itself.</FONT></SPAN></DIV>
<DIV><SPAN class=191281304-14102004><FONT face=Arial color=#0000ff size=2>The 
problem I had with it, is that it only queries the users container, which was no 
good to me since we move our users to OU's.</FONT></SPAN></DIV>
<DIV><SPAN class=191281304-14102004><FONT face=Arial color=#0000ff size=2>I had 
to modify the script to look into multiple OU's, but it was just a matter of 
adding multiple variables, one for each OU I wanted to 
scour.</FONT></SPAN></DIV>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> MailScanner mailing list 
  [mailto:MAILSCANNER at JISCMAIL.AC.UK]<B>On Behalf Of </B>Brian 
  Berglund<BR><B>Sent:</B> Thursday, 14 October 2004 2:06 PM<BR><B>To:</B> 
  MAILSCANNER at JISCMAIL.AC.UK<BR><B>Subject:</B> Re: Postfix Ldap 
  Setup<BR><BR></FONT></DIV>
  <DIV id=idOWAReplyText29077 dir=ltr>
  <DIV dir=ltr><FONT face=Arial color=#000000 size=2>Is this the perl script 
  that is mentioned online?</FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>My goal is to use the configs that Greg 
  has to query the Imail box for users since we host 300 domains in there as 
  well as use maybe your perl script to access outside exchange servers that we 
  have.&nbsp; </FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>I am a consultant looking to better 
  provide spam protection for my clients using a central system.&nbsp; 
  </FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>So Greg, if you can send me a how to or a 
  config to do the imail setup and Jeff a config/how to to do the perl 
  script.&nbsp; You guys would help me out very considerably.</FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>Thanks</FONT></DIV></DIV>
  <DIV dir=ltr><BR>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> MailScanner mailing list on behalf of 
  Jeff Mills<BR><B>Sent:</B> Wed 10/13/2004 10:53 PM<BR><B>To:</B> 
  MAILSCANNER at JISCMAIL.AC.UK<BR><B>Subject:</B> Re: Postfix Ldap 
  Setup<BR></FONT><BR></DIV>
  <DIV>
  <DIV><SPAN class=750585203-14102004><FONT face=Arial color=#0000ff size=2>I'm 
  doing the same thing here using a perl script to query active directory for a 
  list of recipients and it works just fine.</FONT></SPAN></DIV>
  <DIV><SPAN class=750585203-14102004><FONT face=Arial color=#0000ff 
  size=2>Saves a lot of bandwidth downloading mail for non existant 
  users.</FONT></SPAN></DIV>
  <DIV><SPAN class=750585203-14102004></SPAN>&nbsp;</DIV>
  <BLOCKQUOTE 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> MailScanner mailing list 
    [mailto:MAILSCANNER at JISCMAIL.AC.UK]<B>On Behalf Of </B>Greg 
    Deputy<BR><B>Sent:</B> Thursday, 14 October 2004 1:50 PM<BR><B>To:</B> 
    MAILSCANNER at JISCMAIL.AC.UK<BR><B>Subject:</B> Re: Postfix Ldap 
    Setup<BR><BR></FONT></DIV>
    <DIV><SPAN class=873484703-14102004><FONT face=Arial color=#0000ff 
    size=2>What exactly are you trying to do?</FONT></SPAN></DIV>
    <DIV><SPAN class=873484703-14102004><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=873484703-14102004><FONT face=Arial color=#0000ff size=2>I 
    am running a linux/postfix/mailscanner box as a gateway to my windows server 
    running imail for a couple hundred domains.&nbsp;&nbsp;I have a batch job 
    that grabs all the recipients from the imail box&nbsp;every 15 minutes so 
    the gateway has a specific list of addresses to accept mail for and hand off 
    to the imail box.&nbsp;&nbsp;Is that close to what you are trying to 
    do?&nbsp; </FONT></SPAN></DIV>
    <BLOCKQUOTE 
    style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
      <DIV></DIV>
      <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
      face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> MailScanner 
      mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] <B>On Behalf Of </B>Brian 
      Berglund<BR><B>Sent:</B> Wednesday, October 13, 2004 2:20 PM<BR><B>To:</B> 
      MAILSCANNER at JISCMAIL.AC.UK<BR><B>Subject:</B> Postfix Ldap 
      Setup<BR><BR></FONT></DIV>
      <DIV><SPAN class=190191921-13102004><FONT face=Arial size=2>Does anyone 
      know exactly how to get Postfix running on a Linux box to connect to an 
      Imail server and Active Directory servers else 
      where?<BR></FONT></SPAN></DIV>
      <DIV><SPAN class=190191921-13102004><FONT face=Arial size=2>I cannot seem 
      to connect to the local imail box using the ldap connection. 
      </FONT></SPAN></DIV>
      <DIV><SPAN class=190191921-13102004><FONT face=Arial 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=190191921-13102004><FONT face=Arial size=2>Can anyone 
      help?<BR></DIV></FONT></SPAN>
      <DIV>&nbsp;</DIV>
      <DIV align=left>
      <TABLE id=Table1 cellPadding=0 width=348 border=0>
        <TBODY>
        <TR>
          <TD>
            <DIV 
            style="FONT-WEIGHT: bold; FONT-SIZE: 14pt; FONT-FAMILY: Trebuchet MS">Brian 
            Berglund</DIV></TD>
          <TD></TD></TR>
        <TR>
          <TD>
            <DIV style="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma">Engineer</DIV></TD>
          <TD 
          style="FONT-SIZE: 10pt; LINE-HEIGHT: 20px; FONT-FAMILY: arial; TEXT-ALIGN: right"><A 
            href="mailto:bberglund at techpro.com"></B><B>bberglund at techpro.com</A><BR></TD></TR></TBODY></TABLE></DIV>---------------------------------------------------------- 
      <BR>
      <TABLE cellPadding=0 width=348 border=0>
        <TBODY>
        <TR>
          <TD><A href="http://www.techpro.com/" target=_blank><IMG height=81 
            src="techpro_email_logo.gif" width=110 border=0></A></TD>
          <TD 
          style="FONT-SIZE: 10pt; LINE-HEIGHT: 20px; FONT-FAMILY: arial; TEXT-ALIGN: right"><SPAN 
            style="FONT-WEIGHT: bold; COLOR: #f57900">Direct 
            Line</SPAN>:<B>&nbsp;630&nbsp;.938&nbsp;.5303</B><BR><SPAN 
            style="FONT-WEIGHT: bold; COLOR: #f57900">Direct 
            Fax</SPAN>:&nbsp;630&nbsp;.845&nbsp;.4603<BR><SPAN 
            style="FONT-WEIGHT: bold; COLOR: #f57900">Toll 
            Free</SPAN>:&nbsp;800&nbsp;.262&nbsp;.0537 ext.103<BR>318 Anderson 
            Boulevard<BR>Geneva, IL 60134 
      </TD></TR></TBODY></TABLE><BR>---------------------------------------------------------- 
      <BR>
      <TABLE id=Table2 cellPadding=0 width=348 border=0>
        <TBODY>
        <TR>
          <TD align=right colSpan=2><A 
            style="FONT-WEIGHT: bold; FONT-SIZE: 14pt; COLOR: #ababab; FONT-FAMILY: Trebuchet MS" 
            href="http://www.techpro.com/" target=_blank>w w w . t e c h p r o . 
            c o m</A><BR></TD></TR></TBODY></TABLE>
      <DIV 
      style="FONT-SIZE: 7.5pt; FONT-FAMILY: Arial; TEXT-ALIGN: justify"><BR><BR>
      <DIV style="COLOR: navy; TEXT-ALIGN: center">TechPro E-Mail 
      Disclaimer</DIV><SPAN style="COLOR: gray">The information contained in 
      this e-mail and any accompanying documents is confidential, may be 
      privileged, and is intended solely for the person and/or entity to whom it 
      is addressed (i.e. those identified in the "To" and "Cc" box). They are 
      the property of TechPro, Inc. Unauthorized review, use, disclosure, or 
      copying of this communication, or any part thereof, is strictly prohibited 
      and may be unlawful. If you have received this e-mail in error, please 
      return the e-mail and attachments to the sender and delete the e-mail and 
      attachments and any copy from your system. TechPro, Inc. Thank you for 
      your cooperation.</SPAN> </DIV>
      <DIV>&nbsp;</DIV>------------------------ MailScanner list 
      ------------------------ To unsubscribe, email <A 
      href="">jiscmail at jiscmail.ac.uk</A> with the words:<BR>'leave mailscanner' 
      in the body of the email.<BR>Before posting, read the MAQ (<A 
      href="http://www.mailscanner.biz/maq/">http://www.mailscanner.biz/maq/</A>)<BR>and 
      the archives (<A 
      href="http://www.jiscmail.ac.uk/lists/mailscanner.html">http://www.jiscmail.ac.uk/lists/mailscanner.html</A>). 
    </BLOCKQUOTE>------------------------ MailScanner list 
    ------------------------ To unsubscribe, email <A 
    href="">jiscmail at jiscmail.ac.uk</A> with the words:<BR>'leave mailscanner' 
    in the body of the email.<BR>Before posting, read the MAQ (<A 
    href="http://www.mailscanner.biz/maq/">http://www.mailscanner.biz/maq/</A>)<BR>and 
    the archives (<A 
    href="http://www.jiscmail.ac.uk/lists/mailscanner.html">http://www.jiscmail.ac.uk/lists/mailscanner.html</A>). 
  </BLOCKQUOTE></DIV>------------------------ MailScanner list 
  ------------------------ To unsubscribe, email <A 
  href="">jiscmail at jiscmail.ac.uk</A> with the words:<BR>'leave mailscanner' in 
  the body of the email.<BR>Before posting, read the MAQ (<A 
  href="http://www.mailscanner.biz/maq/">http://www.mailscanner.biz/maq/</A>)<BR>and 
  the archives (<A 
  href="http://www.jiscmail.ac.uk/lists/mailscanner.html">http://www.jiscmail.ac.uk/lists/mailscanner.html</A>). 
  ------------------------ MailScanner list ------------------------ To 
  unsubscribe, email <A 
  href="jiscmail at jiscmail.ac.uk">jiscmail at jiscmail.ac.uk</A> with the 
  words:<BR>'leave mailscanner' in the body of the email.<BR>Before posting, 
  read the MAQ (<A 
  href="http://www.mailscanner.biz/maq/">http://www.mailscanner.biz/maq/</A>)<BR>and 
  the archives (<A 
  href="http://www.jiscmail.ac.uk/lists/mailscanner.html">http://www.jiscmail.ac.uk/lists/mailscanner.html</A>).</BLOCKQUOTE></BODY></HTML>
------------------------ MailScanner list ------------------------
To unsubscribe, email <a href="jiscmail at jiscmail.ac.uk">jiscmail at jiscmail.ac.uk</a>
with the words:<br>
'leave mailscanner' in the body of the email.<br>
Before posting, read the MAQ (<a href="http://www.mailscanner.biz/maq/">http://www.mailscanner.biz/maq/</a>)<br>and
the archives (<a href="http://www.jiscmail.ac.uk/lists/mailscanner.html">http://www.jiscmail.ac.uk/lists/mailscanner.html</a>).
</x-html>



More information about the MailScanner mailing list