[Postfixbuch-users] Spamassassin

Matthias Schwob matthias.schwob at deep-data.de
Di Aug 26 14:05:31 CEST 2003


okay nach einem
/usr/local/sbin/amavisd -c /etc/amavisd.conf

steht sauber im mail log :

Aug 26 13:57:44 p15114043 amavis[22543]: starting.  amavisd at p15114043 
amavisd-new-20030616-p4, Unicode aware
Aug 26 13:57:44 p15114043 amavis[22543]: Perl version               5.008
Aug 26 13:57:44 p15114043 amavis[22543]: Module Amavis::Conf        1.15
Aug 26 13:57:44 p15114043 amavis[22543]: Module Archive::Tar        1.04
Aug 26 13:57:44 p15114043 amavis[22543]: Module Archive::Zip        1.01
Aug 26 13:57:44 p15114043 amavis[22543]: Module Compress::Zlib      1.16
Aug 26 13:57:44 p15114043 amavis[22543]: Module Convert::TNEF       0.17
Aug 26 13:57:44 p15114043 amavis[22543]: Module Convert::UUlib      0.213
Aug 26 13:57:44 p15114043 amavis[22543]: Module MIME::Entity        5.404
Aug 26 13:57:44 p15114043 amavis[22543]: Module MIME::Parser        5.406
Aug 26 13:57:44 p15114043 amavis[22543]: Module MIME::Tools         5.411
Aug 26 13:57:44 p15114043 amavis[22543]: Module Mail::Header        1.47
Aug 26 13:57:44 p15114043 amavis[22543]: Module Mail::Internet      1.47
Aug 26 13:57:44 p15114043 amavis[22543]: Module Mail::SpamAssassin  2.55
Aug 26 13:57:44 p15114043 amavis[22543]: Module Net::Cmd            2.24
Aug 26 13:57:44 p15114043 amavis[22543]: Module Net::DNS            0.24
Aug 26 13:57:44 p15114043 amavis[22543]: Module Net::SMTP           2.26
Aug 26 13:57:44 p15114043 amavis[22543]: Module Net::Server         0.85
Aug 26 13:57:44 p15114043 amavis[22543]: Module Time::HiRes         1.2
Aug 26 13:57:44 p15114043 amavis[22543]: Module Unix::Syslog        0.98
Aug 26 13:57:44 p15114043 amavis[22543]: Found myself: 
/usr/local/sbin/amavisd -c /etc/amavisd.conf
Aug 26 13:57:44 p15114043 amavis[22543]: Lookup::SQL code       NOT loaded
Aug 26 13:57:44 p15114043 amavis[22543]: Lookup::LDAP code      NOT loaded
Aug 26 13:57:44 p15114043 amavis[22543]: AMCL-in protocol code  loaded
Aug 26 13:57:44 p15114043 amavis[22543]: SMTP-in protocol code  loaded
Aug 26 13:57:44 p15114043 amavis[22543]: ANTI-VIRUS code        NOT loaded
Aug 26 13:57:44 p15114043 amavis[22543]: ANTI-SPAM  code        loaded
Aug 26 13:57:44 p15114043 amavis[22546]: Net::Server: Process Backgrounded
Aug 26 13:57:44 p15114043 amavis[22546]: Net::Server: 
2003/08/26-13:57:44 Amavis (type Net::Server::PreForkSimple) starting! 
pid(22546)
Aug 26 13:57:44 p15114043 amavis[22546]: Net::Server: Binding to UNIX 
socket file /var/spool/vscan/amavisd.sock using SOCK_STREAM
Aug 26 13:57:44 p15114043 amavis[22546]: Net::Server: Binding to TCP 
port 10024 on host 127.0.0.1
Aug 26 13:57:44 p15114043 amavis[22546]: Net::Server: Setting gid to 
"65534 65534"
Aug 26 13:57:44 p15114043 amavis[22546]: Net::Server: Setting uid to "65"
Aug 26 13:57:44 p15114043 amavis[22546]: Net::Server: Couldn't 
POSIX::setuid to "65" []
Aug 26 13:57:44 p15114043 amavis[22546]: Found $file       at /usr/bin/file
Aug 26 13:57:44 p15114043 amavis[22546]: Found $arc        at /usr/bin/arc
Aug 26 13:57:44 p15114043 amavis[22546]: Found $gzip       at /usr/bin/gzip
Aug 26 13:57:44 p15114043 amavis[22546]: Found $bzip2      at /usr/bin/bzip2
Aug 26 13:57:44 p15114043 amavis[22546]: No $lzop,         not using it
Aug 26 13:57:44 p15114043 amavis[22546]: Found $lha        at /usr/bin/lha
Aug 26 13:57:44 p15114043 amavis[22546]: Found $unarj      at /usr/bin/unarj
Aug 26 13:57:44 p15114043 amavis[22546]: Found $uncompress at 
/usr/bin/uncompress
Aug 26 13:57:44 p15114043 amavis[22546]: No $unfreeze,     not using it
Aug 26 13:57:44 p15114043 amavis[22546]: Found $unrar      at /usr/bin/unrar
Aug 26 13:57:44 p15114043 amavis[22546]: Found $zoo        at /usr/bin/zoo
Aug 26 13:57:44 p15114043 amavis[22546]: Found $cpio       at /usr/bin/cpio
Aug 26 13:57:44 p15114043 amavis[22546]: SpamControl: initializing 
Mail::SpamAssassin
Aug 26 13:57:46 p15114043 amavis[22546]: SpamControl: done

Nun habe ich in der main.conf von Postfix :

#vscan
content_filter = smtp-amavis:[127.0.0.1]:10024

Und in der master:
localhost:10025 inet    n    -    y    -    -    smtpd -o content_filter=
smtp-amavis unix        -     -   y    -    2    smtp

stimmt das nun ??









Mehr Informationen über die Mailingliste Postfixbuch-users