AW: [qmailtoaster] Trouble starting CLAMD
Hi Eric, Thank you for pointing me in the direction. I tried all you mentioned but could not delete '/var/lib/spamassassin/3.003002/updates_spamassassin_org/MIRRORED.BY' The folder '/var/lib/spamassassin/3.003002/updates_spamassassin_org/' existed but was completely empty. I copied the folder over from another toaster and since it works correctly, now I am able to start spamd and to sa-update. But: Verifying the /etc/cron.daily/sa-update I found: The cron is still trying to stop and start spamd in /var/qmail/supervise/spamd Shouldn't it restart via /sbin/service spamd restart ?? --Andreas Von: Eric Broch [mailto:ebr...@whitehorsetc.com] Gesendet: Samstag, 22. November 2014 22:44 An: qmailtoaster-list@qmailtoaster.com Betreff: Re: [qmailtoaster] Trouble starting CLAMD Andreas, If all else fails, delete the file '/var/lib/spamassassin/3.003002/updates_spamassassin_org/MIRRORED.BY' and try again EricB On 11/22/2014 11:31 AM, Andreas Galatis wrote: Hi I installed spamassassin on a fresh-installed toaster, it installed but afterwards gave me an error on postinstall script. I found out that spamd could not get started, because sa-update has no rules. I tired running sa-update but had no success. When doing a sa-update i get: http: GET 3.3 request failed: 400 URL must be absolute: 400 URL must be absolute error: no mirror data available for channel updates.spamassassin.org channel: MIRRORED.BY contents were missing, channel failed I tried sa-update -D , in the log i get: Until here, everything seems OK. Nov 22 19:24:27.428 [18405] dbg: timing: total 26 ms - init: 24 (93.1%), parse: 0.33 (1.3%), extract_message_metadata: 0.41 (1.6%), get_uri_detail_list: 0.42 (1.6%) Nov 22 19:24:27.428 [18405] dbg: plugin: Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0x464e558) implements 'finish_tests', priority 0 Nov 22 19:24:27.428 [18405] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x477ebc0) implements 'finish_tests', priority 0 Nov 22 19:24:27.428 [18405] dbg: generic: lint check of site pre files succeeded, continuing with channel updates Nov 22 19:24:27.428 [18405] dbg: channel: no MIRRORED.BY file available Nov 22 19:24:27.446 [18405] dbg: http: GET request, 3.3 Nov 22 19:24:27.446 [18405] dbg: http: GET 3.3 request failed, retrying: 400 URL must be absolute: 400 URL must be absolute Nov 22 19:24:27.447 [18405] dbg: http: GET request, 3.3 Nov 22 19:24:27.447 [18405] dbg: http: GET 3.3 request failed, retrying: 400 URL must be absolute: 400 URL must be absolute Nov 22 19:24:27.447 [18405] dbg: http: GET request, 3.3 Nov 22 19:24:27.447 [18405] dbg: http: GET 3.3 request failed, retrying: 400 URL must be absolute: 400 URL must be absolute http: GET 3.3 request failed: 400 URL must be absolute: 400 URL must be absolute Nov 22 19:24:27.447 [18405] dbg: channel: no mirror data available for channel updates.spamassassin.org from 3.3 error: no mirror data available for channel updates.spamassassin.org channel: MIRRORED.BY contents were missing, channel failed Nov 22 19:24:27.447 [18405] dbg: generic: cleaning up temporary directory/files Nov 22 19:24:27.447 [18405] dbg: diag: updates complete, exiting with code 4 Any help is apreciated --Andreas
Re: AW: [qmailtoaster] Trouble starting CLAMD
Andreas, This is what should be in the folder after running sa-update: # ls -l /var/lib/spamassassin/3.003002/updates_spamassassin_org total 980 -rw-r--r-- 1 root root 8703 Nov 22 12:50 10_default_prefs.cf -rw-r--r-- 1 root root 2452 Nov 22 12:50 10_hasbase.cf -rw-r--r-- 1 root root 7612 Nov 22 12:50 20_advance_fee.cf -rw-r--r-- 1 root root 9066 Nov 22 12:50 20_aux_tlds.cf -rw-r--r-- 1 root root 7007 Nov 22 12:50 20_body_tests.cf -rw-r--r-- 1 root root 1894 Nov 22 12:50 20_compensate.cf -rw-r--r-- 1 root root 9779 Nov 22 12:50 20_dnsbl_tests.cf -rw-r--r-- 1 root root 15055 Nov 22 12:50 20_drugs.cf -rw-r--r-- 1 root root 11502 Nov 22 12:50 20_dynrdns.cf -rw-r--r-- 1 root root 8517 Nov 22 12:50 20_fake_helo_tests.cf -rw-r--r-- 1 root root 3017 Nov 22 12:50 20_freemail.cf -rw-r--r-- 1 root root 41021 Nov 22 12:50 20_freemail_domains.cf -rw-r--r-- 1 root root 4480 Nov 22 12:50 20_freemail_mailcom_domains.cf -rw-r--r-- 1 root root 26363 Nov 22 12:50 20_head_tests.cf -rw-r--r-- 1 root root 10680 Nov 22 12:50 20_html_tests.cf -rw-r--r-- 1 root root 5290 Nov 22 12:50 20_imageinfo.cf -rw-r--r-- 1 root root 2662 Nov 22 12:50 20_mailspike.cf -rw-r--r-- 1 root root 3330 Nov 22 12:50 20_meta_tests.cf -rw-r--r-- 1 root root 1880 Nov 22 12:50 20_net_tests.cf -rw-r--r-- 1 root root 8230 Nov 22 12:50 20_phrases.cf -rw-r--r-- 1 root root 2062 Nov 22 12:50 20_porn.cf -rw-r--r-- 1 root root 15970 Nov 22 12:50 20_ratware.cf -rw-r--r-- 1 root root 5752 Nov 22 12:50 20_uri_tests.cf -rw-r--r-- 1 root root 19271 Nov 22 12:50 20_vbounce.cf -rw-r--r-- 1 root root 2756 Nov 22 12:50 23_bayes.cf -rw-r--r-- 1 root root 1547 Nov 22 12:50 25_accessdb.cf -rw-r--r-- 1 root root 1539 Nov 22 12:50 25_antivirus.cf -rw-r--r-- 1 root root 1547 Nov 22 12:50 25_asn.cf -rw-r--r-- 1 root root 2330 Nov 22 12:50 25_dcc.cf -rw-r--r-- 1 root root 4410 Nov 22 12:50 25_dkim.cf -rw-r--r-- 1 root root 2932 Nov 22 12:50 25_hashcash.cf -rw-r--r-- 1 root root 1313 Nov 22 12:50 25_pyzor.cf -rw-r--r-- 1 root root 3392 Nov 22 12:50 25_razor2.cf -rw-r--r-- 1 root root 11335 Nov 22 12:50 25_replace.cf -rw-r--r-- 1 root root 3429 Nov 22 12:50 25_spf.cf -rw-r--r-- 1 root root 1771 Nov 22 12:50 25_textcat.cf -rw-r--r-- 1 root root 13129 Nov 22 12:50 25_uribl.cf -rw-r--r-- 1 root root 27765 Nov 22 12:50 30_text_de.cf -rw-r--r-- 1 root root 20472 Nov 22 12:50 30_text_fr.cf -rw-r--r-- 1 root root 1861 Nov 22 12:50 30_text_it.cf -rw-r--r-- 1 root root 21541 Nov 22 12:50 30_text_nl.cf -rw-r--r-- 1 root root 17858 Nov 22 12:50 30_text_pl.cf -rw-r--r-- 1 root root 45451 Nov 22 12:50 30_text_pt_br.cf -rw-r--r-- 1 root root 38316 Nov 22 12:50 50_scores.cf -rw-r--r-- 1 root root 9239 Nov 22 12:50 60_adsp_override_dkim.cf -rw-r--r-- 1 root root 1307 Nov 22 12:50 60_awl.cf -rw-r--r-- 1 root root 2178 Nov 22 12:50 60_shortcircuit.cf -rw-r--r-- 1 root root 5814 Nov 22 12:50 60_whitelist.cf -rw-r--r-- 1 root root 6199 Nov 22 12:50 60_whitelist_dkim.cf -rw-r--r-- 1 root root 3587 Nov 22 12:50 60_whitelist_spf.cf -rw-r--r-- 1 root root 1917 Nov 22 12:50 60_whitelist_subject.cf -rw-r--r-- 1 root root 242981 Nov 22 12:50 72_active.cf -rw-r--r-- 1 root root 13066 Nov 22 12:50 72_scores.cf -rw-r--r-- 1 root root 2674 Nov 22 12:50 73_sandbox_manual_scores.cf -rw-r--r-- 1 root root 101479 Nov 22 12:50 languages -rw-r--r-- 1 root root 2213 Nov 22 12:50 local.cf -rw-r--r-- 1 root root718 Nov 22 12:50 MIRRORED.BY -rw-r--r-- 1 root root 2770 Nov 22 12:50 regression_tests.cf -rw-r--r-- 1 root root 4777 Nov 22 12:50 sa-update-pubkey.txt -rw-r--r-- 1 root root 1498 Nov 22 12:50 STATISTICS-set0-72_scores.cf.txt -rw-r--r-- 1 root root 1499 Nov 22 12:50 STATISTICS-set1-72_scores.cf.txt -rw-r--r-- 1 root root 0 Nov 22 12:50 STATISTICS-set2-72_scores.cf.txt -rw-r--r-- 1 root root 0 Nov 22 12:50 STATISTICS-set3-72_scores.cf.txt -rw-r--r-- 1 root root 1869 Nov 22 12:50 user_prefs.template On what platform are you running QMT and how did you install it? Eric On 11/23/2014 2:50 AM, Andreas Galatis wrote: Hi Eric, Thank you for pointing me in the direction. I tried all you mentioned but could not delete '/var/lib/spamassassin/3.003002/updates_spamassassin_org/MIRRORED.BY‘ The folder '/var/lib/spamassassin/3.003002/updates_spamassassin_org/‘ existed but was completely empty. I copied the folder over from another toaster and since it works correctly, now I am able to start spamd and to sa-update. But: Verifying the /etc/cron.daily/sa-update I found: The cron is still trying to stop and start spamd in /var/qmail/supervise/spamd Shouldn’t it restart via „/sbin/service spamd restart“ ?? --Andreas *Von:*Eric Broch [mailto:ebr...@whitehorsetc.com] *Gesendet:* Samstag, 22. November 2014 22:44 *An:* qmailtoaster-list@qmailtoaster.com *Betreff:* Re: [qmailtoaster] Trouble starting CLAMD Andreas, If all else fails, delete the file
[qmailtoaster] Maildrop not installed per default
Hi List, I just remarked that maildrop is not currently installed with the install script. When migrating from an old toaster, maildrop is generally used in .qmail-files for spamfiltering. If /usr/bin/maildrop is missing.. --Andreas
[qmailtoaster] Re: Maildrop not installed per default
On 11/23/2014 12:56 PM, Andreas Galatis wrote: Hi List, I just remarked that maildrop is not currently installed with the install script. When migrating from an old toaster, maildrop is generally used in .qmail-files for spamfiltering. If /usr/bin/maildrop is missing…. --Andreas maildrop is available, but it's not 'stock' any more. I think if you install qmailadmin-spambox it'll install maildrop as a dependency. maildrop will be deprecated eventually in favor of sieve for server side filtering, so I don't want to encourage its use. Thanks. -- -Eric 'shubes' - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
[qmailtoaster] Re: AW: Trouble starting CLAMD
Andreas, I'm sorry you're having problems. Please use the packages in either the /testing/ or /current/ repos. These both have the proper sa-update scripts. Thanks. -EricS On 11/23/2014 02:50 AM, Andreas Galatis wrote: Hi Eric, Thank you for pointing me in the direction. I tried all you mentioned but could not delete '/var/lib/spamassassin/3.003002/updates_spamassassin_org/MIRRORED.BY‘ The folder '/var/lib/spamassassin/3.003002/updates_spamassassin_org/‘ existed but was completely empty. I copied the folder over from another toaster and since it works correctly, now I am able to start spamd and to sa-update. But: Verifying the /etc/cron.daily/sa-update I found: The cron is still trying to stop and start spamd in /var/qmail/supervise/spamd Shouldn’t it restart via „/sbin/service spamd restart“ ?? --Andreas *Von:*Eric Broch [mailto:ebr...@whitehorsetc.com] *Gesendet:* Samstag, 22. November 2014 22:44 *An:* qmailtoaster-list@qmailtoaster.com *Betreff:* Re: [qmailtoaster] Trouble starting CLAMD Andreas, If all else fails, delete the file '/var/lib/spamassassin/3.003002/updates_spamassassin_org/MIRRORED.BY' and try again EricB On 11/22/2014 11:31 AM, Andreas Galatis wrote: Hi I installed spamassassin on a fresh-installed toaster, it installed but afterwards gave me an error on postinstall script. I found out that spamd could not get started, because sa-update has no rules. I tired running sa-update but had no success. When doing a sa-update i get: http: GET 3.3 request failed: 400 URL must be absolute: 400 URL must be absolute error: no mirror data available for channel updates.spamassassin.org channel: MIRRORED.BY contents were missing, channel failed I tried sa-update –D , in the log i get: Until here, everything seems OK. Nov 22 19:24:27.428 [18405] dbg: timing: total 26 ms - init: 24 (93.1%), parse: 0.33 (1.3%), extract_message_metadata: 0.41 (1.6%), get_uri_detail_list: 0.42 (1.6%) Nov 22 19:24:27.428 [18405] dbg: plugin: Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0x464e558) implements 'finish_tests', priority 0 Nov 22 19:24:27.428 [18405] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x477ebc0) implements 'finish_tests', priority 0 Nov 22 19:24:27.428 [18405] dbg: generic: lint check of site pre files succeeded, continuing with channel updates Nov 22 19:24:27.428 [18405] dbg: channel: no MIRRORED.BY file available Nov 22 19:24:27.446 [18405] dbg: http: GET request, 3.3 Nov 22 19:24:27.446 [18405] dbg: http: GET 3.3 request failed, retrying: 400 URL must be absolute: 400 URL must be absolute Nov 22 19:24:27.447 [18405] dbg: http: GET request, 3.3 Nov 22 19:24:27.447 [18405] dbg: http: GET 3.3 request failed, retrying: 400 URL must be absolute: 400 URL must be absolute Nov 22 19:24:27.447 [18405] dbg: http: GET request, 3.3 Nov 22 19:24:27.447 [18405] dbg: http: GET 3.3 request failed, retrying: 400 URL must be absolute: 400 URL must be absolute http: GET 3.3 request failed: 400 URL must be absolute: 400 URL must be absolute Nov 22 19:24:27.447 [18405] dbg: channel: no mirror data available for channel updates.spamassassin.org from 3.3 error: no mirror data available for channel updates.spamassassin.org channel: MIRRORED.BY contents were missing, channel failed Nov 22 19:24:27.447 [18405] dbg: generic: cleaning up temporary directory/files Nov 22 19:24:27.447 [18405] dbg: diag: updates complete, exiting with code 4 Any help is apreciated --Andreas -- -Eric 'shubes' - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com