Hallo Sandy, Sandy Drobic schrieb:
Michael Post wrote:
Wenn du tatsächlich an diese Volumen herankommst, dann machen Optimierungen Sinn.
Einfache und kostenlose, aber effektive Optimierungen sind ein lokaler cachender Nameserver und die RAM-Disk für Amavis.
Achte darauf, dass die Prozesszahl von Postfix/amavis gut zusammen passt und Amavis auf einer RAM-Disk läuft. Je nach Prozessorzahl, RAM, durchschnittlicher und maximaler Mailgröße kann die optimale Zahl gleichzeitiger Amavisprozesse etwas schwanken.
Das ist ok. Aber ich bin derzeit erst bei einer normalen Installation. Bis ich das Limit erreiche, wird noch etwas Zeit vergehen.
Läuft auf dem Server sonst noch etwas oder ist das ein reines Mailgateway ohne lokale Mailspeicherung/Mailabruf via pop/imap, kein Apache oder andere Sachen?
Ist auch gleichzeitig ein FTP und ein WebServer. Cyrus läuft logischerweise und die Mysql-DB auch auf dem Server. Die Auslastung ist derzeit sehr rar - also noch genug Kapazität für einen Mailserver. Zur Not wird noch ein zweiter Server fürs Mailsystem hinzugestellt.
Was ist denn die Ausgabe von "amavisd debug"?
Ausgabe von amavisd debug-sa [8437] dbg: logger: logging level is DBG [8437] dbg: generic: SpamAssassin version 3.1.4 [8437] dbg: config: score set 0 chosen. [8437] dbg: util: running in taint mode? yes [8437] dbg: util: taint mode: deleting unsafe environment variables, resetting PATH [8437] dbg: util: PATH included '/usr/local/sbin', keeping [8437] dbg: util: PATH included '/usr/local/bin', keeping [8437] dbg: util: PATH included '/usr/sbin', keeping [8437] dbg: util: PATH included '/sbin', keeping [8437] dbg: util: PATH included '/usr/bin', keeping [8437] dbg: util: PATH included '/bin', keeping [8437] dbg: util: final PATH set to: /usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin [8437] dbg: message: ---- MIME PARSER START ---- [8437] dbg: message: main message type: text/plain [8437] dbg: message: parsing normal part [8437] dbg: message: added part, type: text/plain [8437] dbg: message: ---- MIME PARSER END ---- [8437] dbg: dns: is Net::DNS::Resolver available? yes [8437] dbg: dns: Net::DNS version: 0.53 [8437] dbg: ignore: test message to precompile patterns and load modules [8437] dbg: config: using "/etc/mail/spamassassin" for site rules pre files [8437] dbg: config: read file /etc/mail/spamassassin/init.pre [8437] dbg: config: read file /etc/mail/spamassassin/v310.pre [8437] dbg: config: read file /etc/mail/spamassassin/v312.pre [8437] dbg: config: using "/usr/share/spamassassin" for sys rules pre files [8437] dbg: config: using "/usr/share/spamassassin" for default rules dir [8437] dbg: config: read file /usr/share/spamassassin/10_misc.cf [8437] dbg: config: read file /usr/share/spamassassin/20_advance_fee.cf [8437] dbg: config: read file /usr/share/spamassassin/20_anti_ratware.cf [8437] dbg: config: read file /usr/share/spamassassin/20_body_tests.cf [8437] dbg: config: read file /usr/share/spamassassin/20_compensate.cf [8437] dbg: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf [8437] dbg: config: read file /usr/share/spamassassin/20_drugs.cf [8437] dbg: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf [8437] dbg: config: read file /usr/share/spamassassin/20_head_tests.cf [8437] dbg: config: read file /usr/share/spamassassin/20_html_tests.cf [8437] dbg: config: read file /usr/share/spamassassin/20_meta_tests.cf [8437] dbg: config: read file /usr/share/spamassassin/20_net_tests.cf [8437] dbg: config: read file /usr/share/spamassassin/20_phrases.cf [8437] dbg: config: read file /usr/share/spamassassin/20_porn.cf [8437] dbg: config: read file /usr/share/spamassassin/20_ratware.cf [8437] dbg: config: read file /usr/share/spamassassin/20_uri_tests.cf [8437] dbg: config: read file /usr/share/spamassassin/23_bayes.cf [8437] dbg: config: read file /usr/share/spamassassin/25_accessdb.cf [8437] dbg: config: read file /usr/share/spamassassin/25_antivirus.cf [8437] dbg: config: read file /usr/share/spamassassin/25_body_tests_es.cf [8437] dbg: config: read file /usr/share/spamassassin/25_body_tests_pl.cf [8437] dbg: config: read file /usr/share/spamassassin/25_dcc.cf [8437] dbg: config: read file /usr/share/spamassassin/25_dkim.cf [8437] dbg: config: read file /usr/share/spamassassin/25_domainkeys.cf [8437] dbg: config: read file /usr/share/spamassassin/25_hashcash.cf [8437] dbg: config: read file /usr/share/spamassassin/25_pyzor.cf [8437] dbg: config: read file /usr/share/spamassassin/25_razor2.cf [8437] dbg: config: read file /usr/share/spamassassin/25_replace.cf [8437] dbg: config: read file /usr/share/spamassassin/25_spf.cf [8437] dbg: config: read file /usr/share/spamassassin/25_textcat.cf [8437] dbg: config: read file /usr/share/spamassassin/25_uribl.cf [8437] dbg: config: read file /usr/share/spamassassin/30_text_de.cf [8437] dbg: config: read file /usr/share/spamassassin/30_text_fr.cf [8437] dbg: config: read file /usr/share/spamassassin/30_text_it.cf [8437] dbg: config: read file /usr/share/spamassassin/30_text_nl.cf [8437] dbg: config: read file /usr/share/spamassassin/30_text_pl.cf [8437] dbg: config: read file /usr/share/spamassassin/30_text_pt_br.cf [8437] dbg: config: read file /usr/share/spamassassin/50_scores.cf [8437] dbg: config: read file /usr/share/spamassassin/60_awl.cf [8437] dbg: config: read file /usr/share/spamassassin/60_whitelist.cf [8437] dbg: config: read file /usr/share/spamassassin/60_whitelist_dkim.cf [8437] dbg: config: read file /usr/share/spamassassin/60_whitelist_spf.cf [8437] dbg: config: read file /usr/share/spamassassin/60_whitelist_subject.cf [8437] dbg: config: using "/etc/mail/spamassassin" for site rules dir [8437] dbg: config: read file /etc/mail/spamassassin/local.cf [8437] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC [8437] dbg: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x9fd5d0c) [8437] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC [8437] dbg: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0x9fd588c) [8437] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC [8437] dbg: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x9fd5b5c) [8437] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC [8437] dbg: pyzor: network tests on, attempting Pyzor [8437] dbg: plugin: registered Mail::SpamAssassin::Plugin::Pyzor=HASH(0xa0f40e0) [8437] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC [8437] dbg: razor2: razor2 is not available [8437] dbg: plugin: registered Mail::SpamAssassin::Plugin::Razor2=HASH(0x92e0524) [8437] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC [8437] dbg: reporter: network tests on, attempting SpamCop [8437] dbg: plugin: registered Mail::SpamAssassin::Plugin::SpamCop=HASH(0x92e086c) [8437] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC [8437] dbg: plugin: registered Mail::SpamAssassin::Plugin::AWL=HASH(0x92e0914) [8437] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC [8437] dbg: plugin: registered Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0x92e0c2c) [8437] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject from @INC [8437] dbg: plugin: registered Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0xa075a1c) [8437] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC [8437] dbg: plugin: registered Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0xa075ac4) [8437] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC [8437] dbg: plugin: registered Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x9ff6c5c) config: configuration file "/usr/share/spamassassin/20_advance_fee.cf" requires version 3.001003 of SpamAssassin, but this is code version 3.001004. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Conf/Parser.pm line 343. config: configuration file "/usr/share/spamassassin/20_body_tests.cf" requires version 3.001003 of SpamAssassin, but this is code version 3.001004. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Conf/Parser.pm line 343. config: configuration file "/usr/share/spamassassin/20_compensate.cf" requires version 3.001003 of SpamAssassin, but this is code version 3.001004. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Conf/Parser.pm line 343. config: configuration file "/usr/share/spamassassin/20_dnsbl_tests.cf" requires version 3.001003 of SpamAssassin, but this is code version 3.001004. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Conf/Parser.pm line 343. config: configuration file "/usr/share/spamassassin/20_drugs.cf" requires version 3.001003 of SpamAssassin, but this is code version 3.001004. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Conf/Parser.pm line 343. config: configuration file "/usr/share/spamassassin/20_fake_helo_tests.cf" requires version 3.001003 of SpamAssassin, but this is code version 3.001004. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Conf/Parser.pm line 343. config: configuration file "/usr/share/spamassassin/20_head_tests.cf" requires version 3.001003 of SpamAssassin, but this is code version 3.001004. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Conf/Parser.pm line 343. config: configuration file "/usr/share/spamassassin/20_html_tests.cf" requires version 3.001003 of SpamAssassin, but this is code version 3.001004. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Conf/Parser.pm line 343. config: configuration file "/usr/share/spamassassin/20_meta_tests.cf" requires version 3.001003 of SpamAssassin, but this is code version 3.001004. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Conf/Parser.pm line 343. config: configuration file "/usr/share/spamassassin/20_net_tests.cf" requires version 3.001003 of SpamAssassin, but this is code version 3.001004. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Conf/Parser.pm line 343. config: configuration file "/usr/share/spamassassin/20_phrases.cf" requires version 3.001003 of SpamAssassin, but this is code version 3.001004. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Conf/Parser.pm line 343. config: configuration file "/usr/share/spamassassin/20_porn.cf" requires version 3.001003 of SpamAssassin, but this is code version 3.001004. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Conf/Parser.pm line 343. config: configuration file "/usr/share/spamassassin/20_uri_tests.cf" requires version 3.001003 of SpamAssassin, but this is code version 3.001004. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Conf/Parser.pm line 343. config: configuration file "/usr/share/spamassassin/23_bayes.cf" requires version 3.001003 of SpamAssassin, but this is code version 3.001004. Maybe you need to use the -C switch, or remove the old config files? Skipping this file at /usr/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/Conf/Parser.pm line 343. [8437] info: config: SpamAssassin failed to parse line, "/var/amavis/.spamassassin/" is not valid for "bayes_path", skipping: bayes_path /var/amavis/.spamassassin/ [8437] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x9ff6c5c) implements 'finish_parsing_end' [8437] dbg: replacetags: replacing tags [8437] dbg: replacetags: done replacing tags [8437] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_toks [8437] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_seen [8437] dbg: bayes: found bayes db version 3 [8437] dbg: bayes: DB journal sync: last sync: 0 [8437] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB < 200
Das ist ok, ich habe ja den bayschen Filter noch nicht antrainiert.
[8437] dbg: bayes: untie-ing [8437] dbg: bayes: untie-ing db_toks [8437] dbg: bayes: untie-ing db_seen [8437] dbg: config: score set 1 chosen. [8437] dbg: message: ---- MIME PARSER START ---- [8437] dbg: message: main message type: text/plain [8437] dbg: message: parsing normal part [8437] dbg: message: added part, type: text/plain [8437] dbg: message: ---- MIME PARSER END ---- [8437] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_toks [8437] dbg: bayes: tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_seen [8437] dbg: bayes: found bayes db version 3 [8437] dbg: bayes: DB journal sync: last sync: 0 [8437] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB < 200 [8437] dbg: bayes: untie-ing [8437] dbg: bayes: untie-ing db_toks [8437] dbg: bayes: untie-ing db_seen [8437] dbg: dns: name server: 213.133.98.97, family: 2, ipv6: 0 [8437] dbg: dns: testing resolver nameservers: 213.133.98.97, 213.133.99.99, 213.133.100.100 [8437] dbg: dns: trying (3) msn.com... [8437] dbg: dns: looking up NS for 'msn.com' [8437] dbg: dns: NS lookup of msn.com using 213.133.98.97 succeeded => DNS available (set dns_available to override) [8437] dbg: dns: is DNS available? 1 [8437] dbg: metadata: X-Spam-Relays-Trusted: [8437] dbg: metadata: X-Spam-Relays-Untrusted: [8437] dbg: metadata: X-Spam-Relays-Internal: [8437] dbg: metadata: X-Spam-Relays-External: [8437] dbg: message: no encoding detected [8437] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x9fd5d0c) implements 'parsed_metadata' [8437] dbg: uridnsbl: domains to query: [8437] dbg: check: running tests for priority: 0 [8437] dbg: rules: running header regexp tests; score so far=0 [8437] dbg: plugin: registering glue method for check_hashcash_value (Mail::SpamAssassin::Plugin::Hashcash=HASH(0x9fd588c)) [8437] dbg: plugin: registering glue method for check_for_spf_helo_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0x9fd5b5c)) [8437] dbg: spf: no suitable relay for spf use found, skipping SPF-helo check [8437] dbg: plugin: registering glue method for check_for_spf_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0x9fd5b5c)) [8437] dbg: spf: no suitable relay for spf use found, skipping SPF check [8437] dbg: plugin: registering glue method for check_hashcash_double_spend (Mail::SpamAssassin::Plugin::Hashcash=HASH(0x9fd588c)) [8437] dbg: plugin: registering glue method for check_for_spf_helo_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0x9fd5b5c)) [8437] dbg: eval: all '*From' addrs: ignore@compiling.spamassassin.taint.org [8437] dbg: plugin: registering glue method for check_for_def_spf_whitelist_from (Mail::SpamAssassin::Plugin::SPF=HASH(0x9fd5b5c)) [8437] dbg: spf: cannot get Envelope-From, cannot use SPF [8437] dbg: spf: def_spf_whitelist_from: could not find useable envelope sender [8437] dbg: eval: all '*To' addrs: [8437] dbg: plugin: registering glue method for check_for_spf_fail (Mail::SpamAssassin::Plugin::SPF=HASH(0x9fd5b5c)) [8437] dbg: plugin: registering glue method for check_subject_in_blacklist (Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0xa075a1c)) [8437] dbg: plugin: registering glue method for check_for_spf_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0x9fd5b5c)) [8437] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit [8437] dbg: plugin: registering glue method for check_subject_in_whitelist (Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0xa075a1c)) [8437] dbg: plugin: registering glue method for check_for_spf_neutral (Mail::SpamAssassin::Plugin::SPF=HASH(0x9fd5b5c)) [8437] dbg: plugin: registering glue method for check_for_spf_whitelist_from (Mail::SpamAssassin::Plugin::SPF=HASH(0x9fd5b5c)) [8437] dbg: spf: spf_whitelist_from: could not find useable envelope sender [8437] dbg: rules: running body-text per-line regexp tests; score so far=0 [8437] dbg: uri: running uri tests; score so far=0 [8437] dbg: plugin: registering glue method for check_uridnsbl (Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x9fd5d0c)) [8437] dbg: rules: running raw-body-text per-line regexp tests; score so far=0 [8437] dbg: rules: running full-text regexp tests; score so far=0 [8437] dbg: plugin: registering glue method for check_razor2_range (Mail::SpamAssassin::Plugin::Razor2=HASH(0x92e0524)) [8437] dbg: plugin: registering glue method for check_razor2 (Mail::SpamAssassin::Plugin::Razor2=HASH(0x92e0524)) [8437] dbg: plugin: registering glue method for check_pyzor (Mail::SpamAssassin::Plugin::Pyzor=HASH(0xa0f40e0)) [8437] dbg: util: current PATH is: /usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin [8437] dbg: pyzor: pyzor is not available: no pyzor executable found [8437] dbg: pyzor: no pyzor found, disabling Pyzor [8437] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x9fd5d0c) implements 'check_tick' [8437] dbg: check: running tests for priority: 500 [8437] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x9fd5d0c) implements 'check_post_dnsbl' [8437] dbg: rules: running meta tests; score so far=0 [8437] info: rules: meta test RATWARE_OUTLOOK_NONAME has undefined dependency '__MSGID_DOLLARS_OK' [8437] info: rules: meta test RATWARE_OUTLOOK_NONAME has undefined dependency '__HAS_X_MAILER' [8437] info: rules: meta test REPTO_QUOTE_MSN has undefined dependency '__FROM_MSN_COM' [8437] info: rules: meta test REPTO_QUOTE_MSN has undefined dependency '__AT_MSN_MSGID' [8437] info: rules: meta test REPTO_QUOTE_YAHOO has undefined dependency '__FROM_YAHOO_COM' [8437] info: rules: meta test REPTO_QUOTE_YAHOO has undefined dependency '__AT_YAHOO_MSGID' [8437] info: rules: meta test RATWARE_MS_HASH has undefined dependency '__MSGID_DOLLARS_OK' [8437] dbg: rules: running header regexp tests; score so far=0 [8437] dbg: rules: running body-text per-line regexp tests; score so far=0 [8437] dbg: uri: running uri tests; score so far=0 [8437] dbg: rules: running raw-body-text per-line regexp tests; score so far=0 [8437] dbg: rules: running full-text regexp tests; score so far=0 [8437] dbg: check: running tests for priority: 1000 [8437] dbg: rules: running meta tests; score so far=0 [8437] dbg: rules: running header regexp tests; score so far=0 [8437] dbg: plugin: registering glue method for check_from_in_auto_whitelist (Mail::SpamAssassin::Plugin::AWL=HASH(0x92e0914)) [8437] dbg: locker: safe_lock: created /var/amavis/.spamassassin/auto-whitelist.lock.beta.purematic.de.8437 [8437] dbg: locker: safe_lock: trying to get lock on /var/amavis/.spamassassin/auto-whitelist with 0 retries [8437] dbg: locker: safe_lock: link to /var/amavis/.spamassassin/auto-whitelist.lock: link ok [8437] dbg: auto-whitelist: tie-ing to DB file of type DB_File R/W in /var/amavis/.spamassassin/auto-whitelist [8437] dbg: auto-whitelist: db-based ignore@compiling.spamassassin.taint.org|ip=none scores 0/0 [8437] dbg: auto-whitelist: AWL active, pre-score: 0, autolearn score: 0, mean: undef, IP: undef [8437] dbg: auto-whitelist: DB addr list: untie-ing and unlocking [8437] dbg: auto-whitelist: DB addr list: file locked, breaking lock [8437] dbg: locker: safe_unlock: unlink /var/amavis/.spamassassin/auto-whitelist.lock [8437] dbg: auto-whitelist: post auto-whitelist score: 0 [8437] dbg: rules: running body-text per-line regexp tests; score so far=0 [8437] dbg: uri: running uri tests; score so far=0 [8437] dbg: rules: running raw-body-text per-line regexp tests; score so far=0 [8437] dbg: rules: running full-text regexp tests; score so far=0 [8437] dbg: check: is spam? score=0 required=5 [8437] dbg: check: tests= [8437] dbg: check: subtests=__UNUSABLE_MSGID Hm. Aber irgendwie bin ich doch der Meinung, dass es an den Relay-Domains liegt. Was meint Ihr?
Klappt das? Bei mir läuft mysql auf dem Standardport 3306.
Yep. Der Port ist bei mir NICHT 3306
Amavis mit Mysql habe ich bisher noch nicht getestet. Da kann ich aus dem Hüftgelenk keine Antwort abfeuern. (^-^)
Schade. Jemand anders der mir hier weiter helfen kann?
@local_domain_maps sieht in Ordnung als, bei mir ist @local_domain_acl gesetzt.
Ok. Dann sollte MySQL auch funktionieren. gruß Michael