On Wednesday 22 February 2006 22:14, Sandy Drobic wrote:
Schau bitte auch in master.cf, ob die Zahl der Prozesse des entgegennehmenden Daemons auf 2 steht. Das ist also der smptd, der auf Port 10027 lauscht bei Postfix.
Ich habe es ausfindig gemacht:
127.0.0.1:10027 inet n - n - 21 smtpd ^^ Hier bitte auch ein "2" draus machen. (^-^)
Erledigt, danke fuer den Schubs. :-)
Warum nicht direkt in amavis die Konfiguration vornehmen?
Zitat: Das ist so [tm]
Schön, das wäre schon mla geschafft.
Ja, ich bin auch total happy.
So auf Anhieb kann ich das leider auch nicht sagen. Mache doch mal zwei Dinge:
1. Amavis beenden und im Debug-Modus starten, die Ausgabe posten.
rcamavisd stop; amavisd debug
Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Perl version 5.008006 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: INFO: no optional modules: Sys::Hostname::Long Mail::SPF::Query Razor2::Client Net::CIDR::Lite Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Net::Server: 2006/02/23-10:13:11 Amavis (type Net::Server::PreForkSimple) starting! pid(20463) Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Net::Server: Setting gid to "102 102" Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Net::Server: Setting uid to "65" Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Net::Server: Setting up serialization via flock Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Amavis::Conf 2.034 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Archive::Tar 1.08 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Archive::Zip 1.09 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module BerkeleyDB 0.26 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Compress::Zlib 1.34 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Convert::TNEF 0.17 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Convert::UUlib 1.0 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module DBI 1.47 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module DB_File 1.810 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module MIME::Entity 5.415 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module MIME::Parser 5.415 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module MIME::Tools 5.415 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Mail::Header 1.60 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Mail::Internet 1.60 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Mail::SpamAssassin 3.000004 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Net::Cmd 2.26 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Net::DNS 0.48 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Net::SMTP 2.29 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Net::Server 0.87 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Razor2::Client::Version 2.67 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Time::HiRes 1.65 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Module Unix::Syslog 0.100 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Amavis::DB code loaded Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Amavis::Cache code loaded Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Lookup::SQL code NOT loaded Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Lookup::LDAP code NOT loaded Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: AMCL-in protocol code NOT loaded Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: SMTP-in protocol code loaded Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: ANTI-VIRUS code NOT loaded Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: ANTI-SPAM code loaded Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Unpackers code loaded Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Found $file at /usr/bin/file Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Found $arc at /usr/bin/arc Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Found $gzip at /usr/bin/gzip Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Found $bzip2 at /usr/bin/bzip2 Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: No $lzop, not using it Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Found $lha at /usr/bin/lha Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Found $unarj at /usr/bin/unarj Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: Found $uncompress at /usr/bin/uncompress Feb 23 10:13:11 mss01.ibh.priv /usr/sbin/amavisd[20463]: No $unfreeze, not using it
2. Nochmal die aktuelle Konfig posten. Diesmal mit dem richtigen Befehl:
grep -v '^#' /etc/amavisd.conf
@bypass_virus_checks_acl = qw( . ); @local_domains_acl = (".$mydomain" ); $DO_SYSLOG = 1; # (1 = syslog, 0 = logfile) $log_level = 5; # (0-5) $final_spam_destiny = D_REJECT; # Set to D_REJECT, D_PASS to pass through $MAXLEVELS = 14; $MAXFILES = 1500; $MIN_EXPANSION_QUOTA = 100*1024; $MAX_EXPANSION_QUOTA = 300*1024*1024; $path = '/usr/bin:/bin'; $file = 'file'; $enable_db = 1; # enable use of BerkeleyDB/libdb (SNMP and nanny) $enable_global_cache = 1; # enable use of libdb-based cache if $enable_db=1 $sa_local_tests_only = 0; $sa_auto_whitelist = 1; # comment this line out to turn off auto whitelist $sa_mail_body_size_limit = 64*1024; # 64KB $sa_tag_level_deflt = -999; # controls adding the X-Spam-Status and X-Spam-Level headers, $sa_tag2_level_deflt = 5.0; # controls adding 'X-Spam-Flag: YES', and editing Subject, $sa_kill_level_deflt = 6.31; # triggers spam evasive actions: $sa_dsn_cutoff_level = 10; $sa_spam_subject_tag = '***SPAM*** '; $sa_spam_modifies_subj = 1; $insert_received_line = 1; $virus_admin = "admin\@mydomain"; # notifications recip. $mailfrom_notify_admin = "virusalert\@$mydomain"; # notifications sender $mailfrom_notify_recip = "postmaster\@$mydomain"; # notifications sender $mailfrom_notify_spamadmin = "spam.police\@$mydomain"; # notifications sender $mailfrom_to_quarantine = ''; # null return path; uses original sender if undef $path = '/usr/bin:/bin'; $file = 'file'; $arc = ['nomarch', 'arc']; $gzip = 'gzip'; $bzip2 = 'bzip2'; $uncompress = ['uncompress', 'gzip -d', 'zcat']; $lha = 'lha'; $unarj = 'unarj'; $unrar = 'unrar'; $zoo = 'zoo'; $cpio = 'cpio'; $rpm2cpio = 'rpm2cpio'; $cabextract = 'cabextract'; 1; # insure a defined return Wo ich Dich schon "dran hab": Wie funzt das denn mit dem Lernen von Spam? Schoenstes Szenario: User haben in ihren Cyrus Popboxen einen Ordner mit Namen Spam. Dort sortieren sie nicht abgefangenen Spam ein. Auf dem Server laeuft ein Cronjob, der sich aus den Ordnern die Mails holt, sie lernt und loescht.
Sandy
LG, Benni