[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [magicmail-users] BMS Tools



> I apologize if this isn't the correct list for this question.  I'm in
> the process of bringing a new mail server online, and I am using
> magic-smtpd which is working fine.  I would also like to use BMS Tools
> to utilize LinuxMagic's lists.  This is the second server I've set up
> using BMS, so I'm somewhat familiar with the process.  My problem is
> that neither server is able to download the lists from
> http://www.linuxmagic.com/updates/blocklists/.  When I run
> update_lists.pl it would simply exit without downloading anything.  I
> edited the script to show the output, and now I see the following when
> the script is executing:

Robert,

     I am sorry it has taken us so long to get this fixed up for you, 
but I believe I have found the problem.  For some reason, it seems the 
web server hosting our lists started sending the index page out with 
HREF tags in capital rather than lowercase letters.  This likely 
corresponds to an upgrade we did on our end, and I will look further 
into this on Monday.  In the mean time, I tested here with the script 
you sent to the list, and I found that by using the original mirror:

http://www.linuxmagic.com/updates/blocklists/

and your original script with one change, I was able to download the 
lists.  The change you will need to make is on the line that looks like 
this:

while ($filelist =~ s/^.*?href=\"([^\"]*)\"//s) {

add a single 'i' character after the 's' so that it reads:

while ($filelist =~ s/^.*?href=\"([^\"]*)\"//si) {

which will make the match case-insensitive and allow the script to see 
the files.  Note that the script will still not work with the other 
mirror, as that mirror does not expose a directory listing as it is 
designed to work with a different script that we use with the commercial 
version of MagicMail.

     Please let me know if this fixes the problem for you, and thanks 
for bringing this to our attention.

     - Josh

-- 
Josh Wilsdon <josh@wizard.ca> VP, Technical Development
Wizard IT Services - http://www.wizard.ca
Linux Support Specialist - http://linuxmagic.com
Unix Administration, Website Hosting, Network Services, Programming
(604) 589-0037 Beautiful British Columbia, Canada
LinuxMagic is a TradeMark of Wizard Tower TechnoServices Ltd.
--------------------------------------------------------
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to which
they are addressed.  If you have received this email in error please
notify the system manager.  Please note that any views or opinions
presented in this email are solely those of the author and do not
necessarily represent those of the company.