SA Update Failed | MDaemon Technologies, Ltd.

SA Update Failed


  • Typically MDaemon runs its daily maintenance and cleanup at midnight.  You can adjust it to be any hour of the day you'd like by going to Setup / Preferences / System.  

    If you want something that gives more control, you should be able to run SA-Update using something like Windows Task Scheduler.  

     


  • The maintenance and cleanup starts at midnight, but our server is starts SA-Update at this times everyday:

    Wed 2025-02-12 01:26:35.581: -------------  Starting SA-UPDATE --------------
    
    Tue 2025-02-11 01:26:07.147: -------------  Starting SA-UPDATE --------------
    
    Mon 2025-02-10 01:26:38.867: -------------  Starting SA-UPDATE --------------

    Sometimes Spamassasin updates are not published at this times.  Is there a way to run SA-Update with a .SEM file?


  • You can create an UpdateSA.SEM file in the MDaemon\app directory to initiate a spam filter update.


  • I'll try this solution and configure a task in the Task Scheduler.


  • Spamassassin updates are working well now. The automatic update of 01:30am worked without updating, there were no updates. 

    Feb 14 01:26:41.758 [4300] dbg: dns: 0.0.4.updates.spamassassin.org => 1923721, parsed as 1923721
    Feb 14 01:26:41.758 [4300] dbg: channel: current version is 1923721, new version is 1923721, skipping channel
    Feb 14 01:26:41.759 [4300] dbg: diag: updates complete, exiting with code 1

    Task scheduled at 07:30hrs has successfully updated Spamassassin.

    Feb 14 07:30:15.464 [8004] dbg: channel: metadata version = 1923721, from file C:\\MDaemon\\spamassassin\\default_rules\\updates_spamassassin_org.cf
    Feb 14 07:30:15.538 [8004] dbg: dns: 0.0.4.updates.spamassassin.org => 1923772, parsed as 1923772

    Spamassassin makes this DNS query to know if there is a new version. The TXT value is the version, TXT value is compared to what is saved in file updates_spamassassin_org.cf.

    dig 0.0.4.updates.spamassassin.org txt
    
    ; <<>> DiG 9.18.18-0ubuntu0.22.04.2-Ubuntu <<>> 0.0.4.updates.spamassassin.org txt
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3045
    ;; flags: qr rd ad; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
    ;; WARNING: recursion requested but not available
    
    ;; QUESTION SECTION:
    ;0.0.4.updates.spamassassin.org.        IN      TXT
    
    ;; ANSWER SECTION:
    0.0.4.updates.spamassassin.org. 0 IN    CNAME   3.3.3.updates.spamassassin.org.
    3.3.3.updates.spamassassin.org. 0 IN    TXT     "1923772"
    
    ;; Query time: 10 msec
    ;; SERVER: 172.21.160.1#53(172.21.160.1) (UDP)
    ;; WHEN: Fri Feb 14 08:13:26 CET 2025
    ;; MSG SIZE  rcvd: 172

     


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