amavis无法启动提示 sa-update
Dec 16 09:26:06 mx amavis[1081]: Found secondary av scanner ClamAV-clamscan at /usr/local/bin/clamscan
Dec 16 09:26:06 mx amavis[1081]: Deleting db files __db.001,__db.002,__db.003,__db.004,snmp.db,nanny.db in /var/amavis/db
Dec 16 09:26:06 mx amavis[1081]: Creating db in /var/amavis/db/; BerkeleyDB 0.51, libdb 4.7
Dec 16 09:26:07 mx amavis[1081]: (!!)TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?
Dec 16 09:26:07 mx amavis[1081]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?
Dec 16 09:30:15 mx postfix-policyd-sf: starting policyd v1.82
Dec 16 09:30:15 mx postfix-policyd-sf: connecting to mysql database: 127.0.0.1
Dec 16 09:30:16 mx postfix-policyd-sf: connected..
Dec 16 09:30:21 mx postfix/postfix-script[1195]: warning: /var/spool/postfix/etc/hosts and /etc/hosts differ
Dec 16 09:30:22 mx postfix/postfix-script[1201]: starting the Postfix mail system
Dec 16 09:30:22 mx postfix/master[1202]: daemon started -- version 2.7.11, configuration /usr/local/etc/postfix
Dec 16 09:30:22 mx postfix/qmgr[1205]: 1BE522421A: from=<root@mx.lnpod.info>, size=1416, nrcpt=1 (queue active)
Dec 16 09:30:22 mx postfix/qmgr[1205]: 45B1124220: from=<root@lnpod.info>, size=663, nrcpt=1 (queue active)
Dec 16 09:30:22 mx postfix/smtp[1212]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Dec 16 09:30:22 mx postfix/smtp[1213]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Dec 16 09:30:22 mx postfix/smtp[1212]: 1BE522421A: to=<root@mx.lnpod.info>, relay=none, delay=21609, delays=21609/0.06/0.01/0, dsn=4.4.1, status=deferred (co
Dec 16 09:30:23 mx postfix/smtp[1213]: 45B1124220: to=<onlineadds@gmail.com>, relay=none, delay=17424, delays=17424/0.08/0/0, dsn=4.4.1, status=deferred (conn
Dec 16 09:35:23 mx postfix/qmgr[1205]: D552624221: from=<www@demo.lnpod.info>, size=738, nrcpt=1 (queue active)
Dec 16 09:35:25 mx postfix/smtp[1378]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
看到上边提示sa-update就手动运行了sa-update又报错
sa-update报错
mx# sa-update
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
sa-update -D如下
sa-update -D
Dec 16 09:56:31.335 [1504] dbg: zoom: loading compiled ruleset from /var/db/spamassassin/compiled/5.014/3.003002
Dec 16 09:56:31.335 [1504] dbg: FreeMail: no freemail_domains entries defined, disabling plugin
Dec 16 09:56:31.335 [1504] dbg: config: score set 0 chosen.
Dec 16 09:56:31.335 [1504] dbg: config: time limit 300.0 s
Dec 16 09:56:31.336 [1504] dbg: message: main message type: text/plain
Dec 16 09:56:31.336 [1504] dbg: message: ---- MIME PARSER START ----
Dec 16 09:56:31.336 [1504] dbg: message: parsing normal part
Dec 16 09:56:31.336 [1504] dbg: message: ---- MIME PARSER END ----
Dec 16 09:56:31.337 [1504] dbg: check: pms new, time limit in 299.999 s
Dec 16 09:56:31.337 [1504] dbg: plugin: Mail::SpamAssassin::Plugin::DNSEval=HASH(0x809a698b8) implements 'check_start', priority 0
Dec 16 09:56:31.338 [1504] dbg: plugin: Mail::SpamAssassin::Plugin::Rule2XSBody=HASH(0x809c3c528) implements 'check_start', priority 0
Dec 16 09:56:31.339 [1504] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x80992c870) implements 'check_main', priority 0
Dec 16 09:56:31.339 [1504] dbg: config: trusted_networks are not configured; it is recommended that you configure trusted_networks manu ally
Dec 16 09:56:31.339 [1504] dbg: metadata: X-Spam-Relays-Trusted:
Dec 16 09:56:31.339 [1504] dbg: metadata: X-Spam-Relays-Untrusted:
Dec 16 09:56:31.339 [1504] dbg: metadata: X-Spam-Relays-Internal:
Dec 16 09:56:31.340 [1504] dbg: metadata: X-Spam-Relays-External:
Dec 16 09:56:31.340 [1504] dbg: message: no encoding detected
Dec 16 09:56:31.340 [1504] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8098297e0) implements 'parsed_metadata', priority 0
Dec 16 09:56:31.340 [1504] dbg: dns: is_dns_available() last checked 1355622991.3 seconds ago; re-checking
Dec 16 09:56:31.341 [1504] dbg: dns: is DNS available? 0
Dec 16 09:56:31.341 [1504] dbg: rules: local tests only, ignoring RBL eval
Dec 16 09:56:31.341 [1504] dbg: check: check_main, time limit in 299.994 s
Dec 16 09:56:31.342 [1504] dbg: dns: harvest_dnsbl_queries
Dec 16 09:56:31.343 [1504] dbg: check: is spam? score=0 required=5
Dec 16 09:56:31.343 [1504] dbg: check: tests=
Dec 16 09:56:31.343 [1504] dbg: check: subtests=
Dec 16 09:56:31.344 [1504] dbg: timing: total 106 ms - init: 99 (93.4%), parse: 1.18 (1.1%), extract_message_metadata: 1.88 (1.8%), get _uri_detail_list: 1.01 (1.0%)
Dec 16 09:56:31.344 [1504] dbg: plugin: Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0x809907d68) implements 'finish_tests', priority 0
Dec 16 09:56:31.344 [1504] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0x80992c870) implements 'finish_tests', priority 0
Dec 16 09:56:31.345 [1504] dbg: generic: lint check of site pre files succeeded, continuing with channel updates
Dec 16 09:56:31.345 [1504] dbg: channel: no MIRRORED.BY file available
Dec 16 09:56:31.353 [1504] dbg: http: GET request, 3.3
Dec 16 09:56:31.353 [1504] dbg: http: GET 3.3 request failed, retrying: 400 URL must be absolute: 400 URL must be absolute
Dec 16 09:56:31.353 [1504] dbg: http: GET request, 3.3
Dec 16 09:56:31.354 [1504] dbg: http: GET 3.3 request failed, retrying: 400 URL must be absolute: 400 URL must be absolute
Dec 16 09:56:31.354 [1504] dbg: http: GET request, 3.3
Dec 16 09:56:31.354 [1504] 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
Dec 16 09:56:31.354 [1504] 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
Dec 16 09:56:31.354 [1504] dbg: generic: cleaning up temporary directory/files
Dec 16 09:56:31.355 [1504] dbg: diag: updates complete, exiting with code 4
系统为freebsd9
是否需要sa-update如不需要如何解决才可以启动amavis
如果需要sa-update要如何解决报错