SA Update Failed | MDaemon Technologies, Ltd.

SA Update Failed


  • Yesterday sa-update failed, today it has failed again. Is there a problem with Spamassassin updates?

     

    **** SA-Update log removed to reduce the length of this thread, there are more logs below.****



  • SA-Updates are working for me in my tests.

    According to the log you posted the update is not able to download any content from https://spamassassin.apache.org/updates/MIRRORED.BY
    or https://sa-update.spamassassin.org/MIRRORED.BY.  If you open your favorite browser on the mail server and enter either of those urls, do you get a file that starts with "#HOW TO UPDATE"?

    Do you have a firewall, AV solution, proxy, or anything else that might be preventing the update from working correctly?  If you do, what do the logs for that show is happening?

    Are you able to ping spamassassin.apache.org and sa-update.spamassassin.org?


  • We have received a couple other reports of the same issue.  If you manually run an update from MDaemon, is the update successful?

    From Remote Administration Spam Filter / Filter Settings / Updates, click the check for Updates now button.

     

     


  • @Arron

    I too have the same problem since Wednesday 1/29/25.

    I have tried running the updates manually, all with the same result.

    This also happened 5/18/22 and the problem then turned out to be a bad SHA512 verification code at the mirror.

    Other perhaps related issues:
    1.  I cannot find the AntiSpam log file mentioned at "Security/Spam Filter/Updates even though I checked the box "Log Spam Filter updates"

    2.  Back in 2022, I was able to get a lot of information by running the command: sa-update.exe --updatedir="c:\mdaemon\spamassassin\default_rules" --nogpg –D.  When I tried that this morning, I received the error:  The program can’t start because libidn2-0_.dll is missing from you computer.  Try reinstalling the program to fix this problem.

    I too have the same problem since Wednesday 1/29/25.

    I have tried running the updates manually, all with the same result.

    This also happened 5/18/22 and the problem then turned out to be a bad SHA512 verification code at the mirror.

    Other perhaps related issues:
    1.  I cannot find the AntiSpam log file mentioned at "Security/Spam Filter/Updates even though I checked the box "Log Spam Filter updates"

    2.  Back in 2022, I was able to get a lot of information by running the command: sa-update.exe --updatedir="c:\mdaemon\spamassassin\default_rules" --nogpg –D.  When I tried that this morning, I received the error:  The program can’t start because libidn2-0_.dll is missing from you computer.  Try reinstalling the program to fix this problem.
     


  • @Arron 

    Manual update don't work. I can access https://spamassassin.apache.org/updates/MIRRORED.BY and https://sa-update.spamassassin.org/MIRRORED.BY and get the following page.

    #HOW TO UPDATE
    #
    # SOURCE: https://svn.apache.org/repos/asf/spamassassin/site/updates/
    #
    # 'svn checkout' the repo, update this file, and commit it
    #
    # A svnpubsub update on spamassassin.apache.org will instantly pull
    # from SVN after the commit.
    #
    # A cron'd update on sa-vm.apache.org will also automatically pull
    # from SVN to /www/spamassassin.apache.org/updates which is also the
    # [updates] rsync module path the mirrors are syncing from.
    
    #CONTACT: Matthias Leisi
    http://sa-update.dnswl.org/ weight=3
    
    #CONTACT: Kevin A. McGrail
    https://www.sa-update.pccc.com/ weight=5
    
    #CONTACT: Rene Schwarz
    https://sa-update.space-pro.be/ weight=1
    
    #CONTACT: Dave Jones
    http://sa-update.ena.com/ weight=5
    
    #CONTACT: Dave Warren
    #https://sa-update.razx.cloud/ weight=5
    
    #CONTACT: Jens Schleusener
    # Removed per list reqest 27.7.2022
    #http://sa-update.fossies.org/ weight=1
    
    #CONTACT: tobisworld gmail
    http://sa-update.verein-clean.net/ weight=10
    
    #CONTACT: Giovanni Bechis
    https://sa-update-asf.snb.it/ weight=5
    
    #CONTACT: Giovanni Bechis
    https://sa-update.spamassassin.org/ weight=10
    

  • With the browser I can get the file Mirrored.BY, but in the MDaemon path the file is empty.  C:\\MDaemon\\spamassassin\\default_rules\\updates_spamassassin_org\\MIRRORED.BY

    C:\Users\Administrador>dir C:\MDaemon\spamassassin\default_rules\updates_spamass
    assin_org\MIRRORED.BY
     El volumen de la unidad C no tiene etiqueta.
     El número de serie del volumen es: 7BF0-4BF6
    
     Directorio de C:\MDaemon\spamassassin\default_rules\updates_spamassassin_org
    
    03/02/2025  10:01                 0 MIRRORED.BY
                   1 archivos              0 bytes
                   0 dirs  469.726.289.920 bytes libres
    
    C:\Users\Administrador>

  • We've had others report that if they rename the MDaemon\SpamAssassin\default_rules\updates_spamassassin_org\ directory and then manually run an update it will fix the updates.  The first update they run still fails but, the next update is successful.  Please try this and let us know if it fixes it for you.

     

     


  • @Wayne 

    In order to see the AntiSpam log you will need to have "Log Each service into a separate log file" enabled. (Setup / Server Settings / Logging / Log Mode).

    The program can’t start because libidn2-0_.dll is missing from you computer.  Try reinstalling the program to fix this problem.

    So far I'm unable to reproduce this issue.  Have you customized the SpamAssassin rules or plugins?

    What version of MDaemon are you running?

    Do you get the same error when MDaemon runs SA-Update?  

    Are you running it from an elevated command prompt?


  • Hi Arron,  I tried changing the directory name and it didn't work. Then I downloaded the file with a browser and copied it to MDaemon\SpamAssassin\default_rules\updates_spamassassin_org\ and it worked.

    EDIT (log added):

    Edit (log removed ) 


  • Great, thank you for letting us know you were able to get it working.  

     


  • Arron,

    Your suggestion to "rename the MDaemon\SpamAssassin\default_rules\updates_spamassassin_org\ directory and then manually run an update " did the trick. - SUCCESS

    I received an email confirmation indicating success the FIRST time I clicked "Check for updates now" in the MDaemon GUI.

    Thank you.


  • @Wayne Great, thank you for letting us know!


  • Hi Arron,

     

    leider klappt das Vorgehen bei uns nicht. Die Umbenennung des Verzeichnisses und des manuellen Downloads hilft nicht. Der Fehler bleibt gleich.

    Im Log AntiSpam.log finde ich den folgenden Fehler:

    error: unable to refresh mirrors file for channel updates.spamassassin.org, using old file
    error: no mirror data available for channel updates.spamassassin.org
    channel 'updates.spamassassin.org': MIRRORED.BY file contents were missing, channel failed

     

     


  • Arron,

    Good morning.  After my success yesterday after renaming the "updates_spamassassin_org" directory, I am back to FAILURE.

    When I tried later in the day to update through the GUI, I did not receive an email confirmation and the date/time of the 69 files in the directory did not change.  My normal mid-afternoon update notification never occurred,

    I just tried again this morning to manually update and nothing - no email and 69 file date/time remained the same as yesterday's success (2/3/2025 10:45 AM).

    So I renamed the "updates_spamassassin_org" directory and again tired a manual update.  This time, I receied a FAILED email.  When I check the new directory, it only contaied the single file MIRRORED.BY..

    I still cannot run SA-UPDATE.exe from an adminstrative command prompt.  Error message in a popup window is:  "The program can’t start because libidn2-0_.dll is missing from you compute.  Try reinstalling the program to fix this problem".

    The console window shows: "error: gpg required but not found!  It is not recommended, but you can use "sa-update" with the --no-gpg to skip the verification."

    I tried that recommendation and got the same popup window but this time, the console shows:  "plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/Hashcash.pm in @INC (you may need to install the Mail::SpamAssassin::Plugin::Hashcash module) (@INC contains: ./lib PERL2EXE_STORAGE D:\Comm\MDAEMON\SpamAssassin C:\Users\ADMINI~1\AppData\Local\Temp\2\p2xtmp-2200) at (eval 187) line 1."

    I downloaded and installed (without uninstalling) the latest MDemon (MD2452_en_x64.exe yesterday.  Didn't help.

    Also, still cannot find the AntiSpam log file and I did check my setting to ensure they were as you recommended 22 hours ago.

    Please let me know if I can provide any additional information to help with this.

    Wayne


  • An additional oddity. 

    70 files in the "\MDAEMON\SpamAssassin\default_rules\updates_spamassassin_org" directory that I renamed yesterday had modified dates of 11/19/2024 2:16 PM

    Since then, I have received about 2-1/2 months of emails indicated SUCCESS for the SF Update before I received the FAILED email on 1/29/25.

    Does this iindicate that there were no new SF updates for that 2-1/2 months?  or are things just generally awry?

    Curious minds want to know.

    Wayne


  • I tried just now to update from the MDaemon GUI and  sa-update failed again.

    Tue 2025-02-04 15:07:40.191: -------------  Starting SA-UPDATE --------------
    Feb  4 15:07:43.043 [91780] dbg: logger: adding facilities: all
    Feb  4 15:07:43.043 [91780] dbg: logger: logging level is DBG
    Feb  4 15:07:43.044 [91780] dbg: generic: SpamAssassin version 4.0.0
    Feb  4 15:07:43.044 [91780] dbg: generic: Perl 5.030001, PREFIX=./, DEF_RULES_DIR=C:\\MDaemon\\spamassassin\\default_rules, LOCAL_RULES_DIR=C:\\MDaemon\\spamassassin\\default_rules, LOCAL_STATE_DIR=./var
    Feb  4 15:07:43.044 [91780] dbg: config: timing enabled
    Feb  4 15:07:43.044 [91780] dbg: config: score set 0 chosen.
    Feb  4 15:07:43.053 [91780] dbg: util: defining getpwuid() wrapper using 'unknown' as username
    Feb  4 15:07:43.058 [91780] dbg: generic: Site path is C:\\MDaemon\\spamassassin\\default_rules
    Feb  4 15:07:43.058 [91780] dbg: generic: sa-update version 4.0.0 / svn1900642
    Feb  4 15:07:43.058 [91780] dbg: generic: using update directory: C:\\MDaemon\\spamassassin\\default_rules
    Feb  4 15:07:43.432 [91780] dbg: diag: perl platform: 5.030001 MSWin32
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] module installed: Digest::SHA, version 6.02
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] module installed: HTML::Parser, version 3.72
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] module installed: Net::DNS, version 1.37
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] module installed: NetAddr::IP, version  4.079
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] module installed: Time::HiRes, version 1.976
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] module installed: Archive::Tar, version 2.32
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] module installed: IO::Zlib, version 1.10
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module installed: Digest::SHA1, version 2.13
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module installed: MIME::Base64, version 3.15
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module installed: DB_File, version 1.858
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module installed: Net::SMTP, version 3.11
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: Net::LibIDN2 ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: Net::LibIDN ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: Mail::SPF ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: MaxMind::DB::Reader ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: MaxMind::DB::Reader::XS ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: Geo::IP ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: IP::Country::DB_File ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: IP::Country::Fast ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: Razor2::Client::Agent ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module installed: IO::Socket::IP, version 0.39
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module installed: IO::Socket::INET6, version 2.73
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: IO::Socket::SSL ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module installed: Compress::Zlib, version 2.09
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: Mail::DKIM ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module installed: DBI, version 1.642
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: DBD::SQLite ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module installed: LWP::UserAgent, version 6.42
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module installed: Encode::Detect::Detector, version 1.01
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: Net::Patricia ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: Net::CIDR::Lite ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module installed: Net::DNS::Nameserver, version 1895
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: BSD::Resource ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module installed: Archive::Zip, version 1.67
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module installed: IO::String, version 1.08
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: Email::Address::XS ('require' failed)
    Feb  4 15:07:43.432 [91780] dbg: diag: [...] optional module not installed: Mail::DMARC ('require' failed)
    Feb  4 15:07:43.475 [91780] dbg: util: secure_tmpfile created a temporary file C:\\Windows\\TEMP\\.spamassassin91780QD36Wttmp
    Feb  4 15:07:43.475 [91780] dbg: channel: attempting channel updates.spamassassin.org
    Feb  4 15:07:43.490 [91780] dbg: channel: using existing directory C:\\MDaemon\\spamassassin\\default_rules\\updates_spamassassin_org
    Feb  4 15:07:43.490 [91780] dbg: channel: channel cf file C:\\MDaemon\\spamassassin\\default_rules\\updates_spamassassin_org.cf
    Feb  4 15:07:43.490 [91780] dbg: channel: channel pre file C:\\MDaemon\\spamassassin\\default_rules\\updates_spamassassin_org.pre
    Feb  4 15:07:43.510 [91780] dbg: channel: metadata version = 1923498, from file C:\\MDaemon\\spamassassin\\default_rules\\updates_spamassassin_org.cf
    Feb  4 15:07:43.569 [91780] dbg: dns: 0.0.4.updates.spamassassin.org => 1923512, parsed as 1923512
    Feb  4 15:07:43.569 [91780] dbg: channel: preparing temp directory for new channel
    Feb  4 15:07:43.571 [91780] dbg: channel: created tmp directory C:\\Windows\\TEMP\\.spamassassin91780tUAlbhtmp
    Feb  4 15:07:43.571 [91780] dbg: generic: lint checking site pre files once before attempting channel updates
    Feb  4 15:07:43.571 [91780] dbg: generic: SpamAssassin version 4.0.0
    Feb  4 15:07:43.572 [91780] dbg: generic: Perl 5.030001, PREFIX=./, DEF_RULES_DIR=./default_rules, LOCAL_RULES_DIR=./default_rules, LOCAL_STATE_DIR=./var
    Feb  4 15:07:43.572 [91780] dbg: config: timing enabled
    Feb  4 15:07:43.573 [91780] dbg: config: score set 0 chosen.
    Feb  4 15:07:43.576 [91780] dbg: ignore: using a test message to lint rules
    Feb  4 15:07:43.642 [91780] dbg: config: global_state_dir set to C:\\ProgramData\\.spamassassin
    Feb  4 15:07:43.643 [91780] dbg: config: using "C:\\MDaemon\\spamassassin\\default_rules" for site rules pre files
    Feb  4 15:07:43.700 [91780] dbg: config: read file C:\\MDaemon\\spamassassin\\default_rules/MDaemon.pre
    Feb  4 15:07:43.715 [91780] dbg: config: read file C:\\MDaemon\\spamassassin\\default_rules/init.pre
    Feb  4 15:07:43.715 [91780] dbg: config: read file C:\\MDaemon\\spamassassin\\default_rules/sh.pre
    Feb  4 15:07:43.722 [91780] dbg: config: read file C:\\MDaemon\\spamassassin\\default_rules/v310.pre
    Feb  4 15:07:43.731 [91780] dbg: config: read file C:\\MDaemon\\spamassassin\\default_rules/v312.pre
    Feb  4 15:07:43.737 [91780] dbg: config: read file C:\\MDaemon\\spamassassin\\default_rules/v320.pre
    Feb  4 15:07:43.747 [91780] dbg: config: read file C:\\MDaemon\\spamassassin\\default_rules/v330.pre
    Feb  4 15:07:43.764 [91780] dbg: config: read file C:\\MDaemon\\spamassassin\\default_rules/v340.pre
    Feb  4 15:07:43.785 [91780] dbg: config: read file C:\\MDaemon\\spamassassin\\default_rules/v341.pre
    Feb  4 15:07:43.790 [91780] dbg: config: read file C:\\MDaemon\\spamassassin\\default_rules/v342.pre
    Feb  4 15:07:43.810 [91780] dbg: config: read file C:\\MDaemon\\spamassassin\\default_rules/v343.pre
    Feb  4 15:07:43.821 [91780] dbg: config: read file C:\\MDaemon\\spamassassin\\default_rules/v400.pre
    Feb  4 15:07:43.821 [91780] dbg: config: using "C:\\Windows\\TEMP\\.spamassassin91780tUAlbhtmp\\doesnotexist" for sys rules pre files
    Feb  4 15:07:43.821 [91780] dbg: config: using "C:\\Windows\\TEMP\\.spamassassin91780tUAlbhtmp\\doesnotexist" for default rules dir
    Feb  4 15:07:43.847 [91780] dbg: config: using "C:\\Windows\\TEMP\\.spamassassin91780tUAlbhtmp\\doesnotexist\\doesnotexist" for user prefs file
    Feb  4 15:07:43.847 [91780] dbg: config: parsing file C:\\MDaemon\\spamassassin\\default_rules/MDaemon.pre
    Feb  4 15:07:43.848 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
    Feb  4 15:07:43.864 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC
    Feb  4 15:07:43.869 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::WelcomeListSubject from @INC
    Feb  4 15:07:43.874 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC
    Feb  4 15:07:43.886 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC
    Feb  4 15:07:43.891 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC
    Feb  4 15:07:43.913 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTTPSMismatch from @INC
    Feb  4 15:07:43.917 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDetail from @INC
    Feb  4 15:07:43.923 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from @INC
    Feb  4 15:07:43.958 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::BodyEval from @INC
    Feb  4 15:07:43.967 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::DNSEval from @INC
    Feb  4 15:07:43.980 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTMLEval from @INC
    Feb  4 15:07:43.988 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::HeaderEval from @INC
    Feb  4 15:07:44.006 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEEval from @INC
    Feb  4 15:07:44.016 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayEval from @INC
    Feb  4 15:07:44.023 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIEval from @INC
    Feb  4 15:07:44.027 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::WLBLEval from @INC
    Feb  4 15:07:44.036 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::VBounce from @INC
    Feb  4 15:07:44.040 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::ImageInfo from @INC
    Feb  4 15:07:44.047 [91780] dbg: config: parsing file C:\\MDaemon\\spamassassin\\default_rules/init.pre
    Feb  4 15:07:44.048 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::URIDNSBL, already registered
    Feb  4 15:07:44.048 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
    plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/Hashcash.pm in @INC (you may need to install the Mail::SpamAssassin::Plugin::Hashcash module) (@INC contains: ./lib PERL2EXE_STORAGE C:\MDaemon\SpamAssassin C:\Windows\TEMP\p2xtmp-91
    N/A: 
    Feb  4 15:07:44.052 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
    Feb  4 15:07:44.087 [91780] dbg: config: parsing file C:\\MDaemon\\spamassassin\\default_rules/sh.pre
    Feb  4 15:07:44.087 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::Shortcircuit from @INC
    Feb  4 15:07:44.091 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::HashBL from @INC
    Feb  4 15:07:44.108 [91780] dbg: HashBL: local tests only, disabling HashBL
    Feb  4 15:07:44.108 [91780] dbg: config: parsing file C:\\MDaemon\\spamassassin\\default_rules/v310.pre
    Feb  4 15:07:44.109 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
    Feb  4 15:07:44.123 [91780] dbg: pyzor: local tests only, disabling Pyzor
    Feb  4 15:07:44.124 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
    Feb  4 15:07:44.133 [91780] dbg: razor2: local tests only, skipping Razor
    Feb  4 15:07:44.133 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
    Feb  4 15:07:44.139 [91780] dbg: reporter: local tests only, disabling SpamCop
    Feb  4 15:07:44.140 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::AutoLearnThreshold, already registered
    Feb  4 15:07:44.140 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::WelcomeListSubject, already registered
    Feb  4 15:07:44.140 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::MIMEHeader, already registered
    Feb  4 15:07:44.140 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::ReplaceTags, already registered
    Feb  4 15:07:44.140 [91780] dbg: config: parsing file C:\\MDaemon\\spamassassin\\default_rules/v312.pre
    Feb  4 15:07:44.140 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::DKIM from @INC
    Feb  4 15:07:44.156 [91780] dbg: config: parsing file C:\\MDaemon\\spamassassin\\default_rules/v320.pre
    Feb  4 15:07:44.157 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::Check, already registered
    Feb  4 15:07:44.157 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::HTTPSMismatch, already registered
    Feb  4 15:07:44.157 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::URIDetail, already registered
    Feb  4 15:07:44.157 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::Bayes, already registered
    Feb  4 15:07:44.157 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::BodyEval, already registered
    Feb  4 15:07:44.157 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::DNSEval, already registered
    Feb  4 15:07:44.157 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::HTMLEval, already registered
    Feb  4 15:07:44.158 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::HeaderEval, already registered
    Feb  4 15:07:44.158 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::MIMEEval, already registered
    Feb  4 15:07:44.158 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::RelayEval, already registered
    Feb  4 15:07:44.158 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::URIEval, already registered
    Feb  4 15:07:44.158 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::WLBLEval, already registered
    Feb  4 15:07:44.158 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::VBounce, already registered
    Feb  4 15:07:44.158 [91780] dbg: plugin: did not register Mail::SpamAssassin::Plugin::ImageInfo, already registered
    Feb  4 15:07:44.158 [91780] dbg: config: parsing file C:\\MDaemon\\spamassassin\\default_rules/v330.pre
    Feb  4 15:07:44.159 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::FreeMail from @INC
    Feb  4 15:07:44.167 [91780] dbg: config: parsing file C:\\MDaemon\\spamassassin\\default_rules/v340.pre
    Feb  4 15:07:44.167 [91780] dbg: plugin: loading Mail::SpamAssassin::Plugin::AskDNS from @INC
    Feb  4 15:07:44.175 [91780] dbg: config: parsing file C:\\MDaemon\\spamassassin\\default_rules/v341.pre
    Feb  4 15:07:44.175 [91780] dbg: config: parsing file C:\\MDaemon\\spamassassin\\default_rules/v342.pre
    Feb  4 15:07:44.175 [91780] dbg: config: parsing file C:\\MDaemon\\spamassassin\\default_rules/v343.pre
    Feb  4 15:07:44.176 [91780] dbg: config: parsing file C:\\MDaemon\\spamassassin\\default_rules/v400.pre
    Feb  4 15:07:44.176 [91780] dbg: config: enabling compatibility flag welcomelist_blocklist
    Feb  4 15:07:44.176 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x5279588) implements 'finish_parsing_start', priority 0
    Feb  4 15:07:44.176 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::Pyzor=HASH(0x525faf0) implements 'finish_parsing_start', priority 0
    Feb  4 15:07:44.176 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::Razor2=HASH(0x5819940) implements 'finish_parsing_start', priority 0
    Feb  4 15:07:44.177 [91780] dbg: config: finish parsing
    Feb  4 15:07:44.177 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x5279588) implements 'finish_parsing_end', priority 0
    Feb  4 15:07:44.177 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::Bayes=HASH(0x5294ab0) implements 'finish_parsing_end', priority 0
    Feb  4 15:07:44.177 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::HashBL=HASH(0x57fb0a0) implements 'finish_parsing_end', priority 0
    Feb  4 15:07:44.177 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::FreeMail=HASH(0x5263cf8) implements 'finish_parsing_end', priority 0
    Feb  4 15:07:44.177 [91780] dbg: replacetags: replacing tags
    Feb  4 15:07:44.177 [91780] dbg: bayes: stopwords for languages enabled: en
    Feb  4 15:07:44.177 [91780] dbg: FreeMail: no freemail_domains entries defined, disabling plugin
    Feb  4 15:07:44.177 [91780] dbg: config: score set 0 chosen.
    Feb  4 15:07:44.178 [91780] dbg: config: time limit 300.0 s
    Feb  4 15:07:44.178 [91780] dbg: message: _decode_header from: ignore@compiling.spamassassin.taint.org
    Feb  4 15:07:44.178 [91780] dbg: message: _decode_header message-id: <1738678063@lint_rules>
    Feb  4 15:07:44.178 [91780] dbg: message: main message type: text/plain
    Feb  4 15:07:44.178 [91780] dbg: message: ---- MIME PARSER START ----
    Feb  4 15:07:44.178 [91780] dbg: message: parsing normal part
    Feb  4 15:07:44.178 [91780] dbg: message: missing type, setting previous multipart type: text/plain
    Feb  4 15:07:44.178 [91780] dbg: message: storing a body to memory
    Feb  4 15:07:44.178 [91780] dbg: message: ---- MIME PARSER END ----
    Feb  4 15:07:44.179 [91780] dbg: check: pms new, time limit in 299.999 s
    Feb  4 15:07:44.180 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::DNSEval=HASH(0x5538588) implements 'check_start', priority 0
    Feb  4 15:07:44.181 [91780] dbg: check: using scoreset 0 in M:S:Pms
    Feb  4 15:07:44.181 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x527e048) implements 'check_main', priority 0
    Feb  4 15:07:44.182 [91780] dbg: config: trusted_networks are not configured; it is recommended that you configure trusted_networks manually
    Feb  4 15:07:44.182 [91780] dbg: metadata: X-Spam-Relays-Trusted: 
    Feb  4 15:07:44.182 [91780] dbg: metadata: X-Spam-Relays-Untrusted: 
    Feb  4 15:07:44.182 [91780] dbg: metadata: X-Spam-Relays-Internal: 
    Feb  4 15:07:44.182 [91780] dbg: metadata: X-Spam-Relays-External: 
    Feb  4 15:07:44.183 [91780] dbg: check: tagrun - tag AUTHORDOMAIN is now ready, value: compiling.spamassassin.taint.org
    Feb  4 15:07:44.183 [91780] dbg: metadata: X-AuthorDomain: compiling.spamassassin.taint.org
    Feb  4 15:07:44.183 [91780] dbg: check: tagrun - tag RELAYSTRUSTED is now ready, value: 
    Feb  4 15:07:44.183 [91780] dbg: check: tagrun - tag RELAYSUNTRUSTED is now ready, value: 
    Feb  4 15:07:44.183 [91780] dbg: check: tagrun - tag RELAYSINTERNAL is now ready, value: 
    Feb  4 15:07:44.183 [91780] dbg: check: tagrun - tag RELAYSEXTERNAL is now ready, value: 
    Feb  4 15:07:44.183 [91780] dbg: check: tagrun - tag LANGUAGES is now ready, value: <UNDEF>
    Feb  4 15:07:44.183 [91780] dbg: message: no encoding detected
    Feb  4 15:07:44.183 [91780] dbg: message: contains only US-ASCII characters, declared us-ascii, not decoding
    Feb  4 15:07:44.184 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::DNSEval=HASH(0x5538588) implements 'parsed_metadata', priority 0
    Feb  4 15:07:44.184 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::SPF=HASH(0x525f7d8) implements 'parsed_metadata', priority 0
    Feb  4 15:07:44.184 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::Shortcircuit=HASH(0x57f71b0) implements 'parsed_metadata', priority 0
    Feb  4 15:07:44.184 [91780] dbg: dns: using local tests only, DNS not available
    Feb  4 15:07:44.184 [91780] dbg: spf: EnvelopeFrom header not found
    Feb  4 15:07:44.184 [91780] dbg: spf: cannot get EnvelopeFrom, cannot use SPF by DNS
    Feb  4 15:07:44.184 [91780] dbg: check: tagrun - tag SC is now ready, value: CODE(0x5fb6798)
    Feb  4 15:07:44.185 [91780] dbg: check: tagrun - tag SCRULE is now ready, value: CODE(0x5fb6b70)
    Feb  4 15:07:44.185 [91780] dbg: check: tagrun - tag SCTYPE is now ready, value: CODE(0x5fb6c30)
    Feb  4 15:07:44.185 [91780] dbg: check: check_main, time limit in 299.993 s
    Feb  4 15:07:44.185 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::Pyzor=HASH(0x525faf0) implements 'check_cleanup', priority 0
    Feb  4 15:07:44.185 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::Razor2=HASH(0x5819940) implements 'check_cleanup', priority 0
    Feb  4 15:07:44.186 [91780] dbg: check: is spam? score=0 required=5
    Feb  4 15:07:44.186 [91780] dbg: check: tests=
    Feb  4 15:07:44.186 [91780] dbg: check: subtests=
    Feb  4 15:07:44.186 [91780] dbg: timing: total 609 ms - init: 602 (98.8%), parse: 1.09 (0.2%), extract_message_metadata: 3.2 (0.5%)
    Feb  4 15:07:44.187 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0x5277038) implements 'finish_tests', priority 0
    Feb  4 15:07:44.187 [91780] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x527e048) implements 'finish_tests', priority 0
    Feb  4 15:07:44.188 [91780] dbg: generic: lint check of site pre files succeeded, continuing with channel updates
    Feb  4 15:07:44.188 [91780] dbg: channel: protocol family available: inet,inet6
    Feb  4 15:07:44.252 [91780] dbg: channel: no mirror file C:\\MDaemon\\spamassassin\\default_rules\\updates_spamassassin_org\\MIRRORED.BY, will fetch it
    Feb  4 15:07:44.252 [91780] dbg: channel: DNS lookup on mirrors.updates.spamassassin.org
    Feb  4 15:07:44.366 [91780] dbg: http: url: https://sa-update.spamassassin.org/MIRRORED.BY
    Feb  4 15:07:44.366 [91780] dbg: http: downloading to: C:\\MDaemon\\spamassassin\\default_rules\\updates_spamassassin_org\\MIRRORED.BY, new
    Feb  4 15:07:44.367 [91780] dbg: util: current PATH is: .;C:\\Windows\\TEMP\\p2xtmp-91780;C:\\MDaemon\\App;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\
    Feb  4 15:07:44.379 [91780] dbg: http: no external tool for download, fallback to using LWP
    Feb  4 15:07:44.441 [91780] dbg: http: GET request, https://sa-update.spamassassin.org/MIRRORED.BY
    Feb  4 15:07:44.483 [91780] dbg: http: (lwp) no content downloaded from https://sa-update.spamassassin.org/MIRRORED.BY
    Feb  4 15:07:44.484 [91780] dbg: http: url: https://spamassassin.apache.org/updates/MIRRORED.BY
    Feb  4 15:07:44.484 [91780] dbg: http: downloading to: C:\\MDaemon\\spamassassin\\default_rules\\updates_spamassassin_org\\MIRRORED.BY, update
    Feb  4 15:07:44.493 [91780] dbg: http: no external tool for download, fallback to using LWP
    Feb  4 15:07:44.494 [91780] dbg: http: GET request, https://spamassassin.apache.org/updates/MIRRORED.BY
    Feb  4 15:07:44.498 [91780] dbg: http: (lwp) no content downloaded from https://spamassassin.apache.org/updates/MIRRORED.BY
    error: no mirror data available for channel updates.spamassassin.org
    channel 'updates.spamassassin.org': MIRRORED.BY file contents were missing, channel failed
    Feb  4 15:07:44.498 [91780] dbg: generic: cleaning up temporary directory/files
    Feb  4 15:07:44.498 [91780] dbg: generic: cleaning directory C:\\Windows\\TEMP\\.spamassassin91780tUAlbhtmp
    Feb  4 15:07:44.499 [91780] dbg: diag: updates complete, exiting with code 4
    Tue 2025-02-04 15:07:44.684: -------------  END SA-UPDATE --------------
    

     


  • I also have two clients with the same issue. They are seeing the same results as Wayne. We tried renaming, we've tried running from the command line, no success.

     

     


  • So far we are not able to reproduce the issue.

    What operating system are the machines running on that are having this issue?

    Are there any messages logged by your firewalls, proxies, or AV applications when SA-Update.exe is running?

    If you manually download the MIRRORED.BY file, save it to disk as \MDaemon\Spamassassin\defualt_rules\updates_spamassassin_org\MIRRORED.BY, then mark the file as read-only, is SA-Update able to download updates without errors?

    Are you able to open the URLs using Chrome and Edge from the MDaemon server? (https://spamassassin.apache.org/updates/MIRRORED.BY and https://sa-update.spamassassin.org/MIRRORED.BY)

    When you ping spamassassin.apache.org and sa-update.spamassassin.org, what IP addresses do you get?

    When running SA-Update, you should run it from an elevated command prompt and use the following command:

    sa-update.exe --updatedir="c:\mdaemon\spamassassin\default_rules" --nogpg  -D

    Be sure to update the path so that it is correct for your installation.

    The messages about the hashcash plugin can be ignored.

    The antispam log can be found in the MDaemon\logs directory.  I have MDaemon logging by date so the name of the file for today is MDaemon-2025-02-04-AntiSpam.log.


  • I will work through this omorrow morning (EST)

    Wayne


  • OS: Microsoft Windows Server 2012 R2 Foundation

    I can download the file MIRRORED.BY with Firefox. 
    Copying the file to \MDaemon\Spamassassin\default_rules\updates_spamassassin_org\MIRRORED.BY changed to read only.
    Run sa-update from Mdaemon GUI.
    Update succesful.
    The file MIRRORED.BY is deleted from \MDaemon\Spamassassin\default_rules\updates_spamassassin_org\MIRRORED.BY after the update 

    spamassassin.apache.org  151.101.2.132
    sa-update.spamassassin.org  79.137.57.206

    ping spamassassin.apache.org

    Haciendo ping a spamassassin.apache.org [151.101.2.132] con 32 bytes de datos:
    Respuesta desde 151.101.2.132: bytes=32 tiempo=14ms TTL=58
    Respuesta desde 151.101.2.132: bytes=32 tiempo=13ms TTL=58
    Respuesta desde 151.101.2.132: bytes=32 tiempo=14ms TTL=58
    Respuesta desde 151.101.2.132: bytes=32 tiempo=13ms TTL=58

    Estadísticas de ping para 151.101.2.132:
        Paquetes: enviados = 4, recibidos = 4, perdidos = 0
        (0% perdidos),
    Tiempos aproximados de ida y vuelta en milisegundos:
        Mínimo = 13ms, Máximo = 14ms, Media = 13ms

    ping sa-update.spamassassin.org

    Haciendo ping a sa-update.spamassassin.org [79.137.57.206] con 32 bytes de datos
    :
    Respuesta desde 79.137.57.206: bytes=32 tiempo=37ms TTL=243
    Respuesta desde 79.137.57.206: bytes=32 tiempo=33ms TTL=243
    Respuesta desde 79.137.57.206: bytes=32 tiempo=33ms TTL=243
    Respuesta desde 79.137.57.206: bytes=32 tiempo=33ms TTL=243

    Estadísticas de ping para 79.137.57.206:
        Paquetes: enviados = 4, recibidos = 4, perdidos = 0
        (0% perdidos),
    Tiempos aproximados de ida y vuelta en milisegundos:
        Mínimo = 33ms, Máximo = 37ms, Media = 34ms


  • 1 / 3
  • 2
  • 3
Please login to reply this topic!