LDAP and sendmail using perl!

Chris Lyon cslyon at QXZI.NET
Wed Aug 25 00:16:32 IST 2004


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).



More information about the MailScanner mailing list