LDAP and sendmail using perl!
Pete
pete at EATATHOME.COM.AU
Tue Aug 24 23:54:39 IST 2004
<x-flowed>
Chris Lyon wrote:
>I have been doing some research on how to get sendmail to only accept e-
>mails from valid systems. I also saw some of the past posts on LDAP and
>sendmail but I don't have access to the servers nor can I put a vb script
>on them to pull that information. So instead, I wrote a script to use LDAP
>to pull all the valid e-mail address from the LDAP tree. So I have all the
>vaild ones but can't figure out the right way to implement it.
>
>Based on my research I image I need to populate the /etc/mail/access file
>with all the e-mail addresses
>
>Quote:
>sample
>
>To: valid at address.com OK
>
>
>But how is that going to work? Should there be a deny somewhere? Any words
>of wizdom would be great!
>
>
>BTW, Once I have this tested I would be more then happy to release the
>script!
>
>------------------------ MailScanner list ------------------------
>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>'leave mailscanner' in the body of the email.
>Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
>
>
>
>
See the links to the maq above, it has already been writen and
instructions provided by others, there is no need for you to recreate
this process.
Pete
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>
More information about the MailScanner
mailing list