loescht amavis sein eigenes Angelerntes (db) beim Start?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

loescht amavis sein eigenes Angelerntes (db) beim Start?

Christoph Kukulies

Ich benutze folgendes "skript" zum Neustarten meines EMail-Setups nach Konfigurationsänderungen:


/etc/init.d/postfix restart
/etc/init.d/spamassassin restart
/etc/init.d/clamav-daemon restart
/etc/init.d/amavis restart

Beim Neustart von amavis fällt mir auf, daß es sagt, daß es dbs löscht und neu anlegt:

Feb 23 15:35:40 halfmoon amavis[27744]: Deleting db files snmp.db,nanny.db,__db.002,__db.003,__db.001 in /var/lib/amavis/db
Feb 23 15:35:40 halfmoon amavis[27744]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.55, libdb 5.3

Sollte ich mir Gedanken machen über die nicht vorhandenen decoder (unzipper)?

Gibt es sonstige Auffälligkeiten (Konfigurationsfehler)?

Feb 23 15:35:36 halfmoon systemd[1]: Stopped target Mail Transport Agent.
Feb 23 15:35:36 halfmoon systemd[1]: Stopping Mail Transport Agent.
Feb 23 15:35:36 halfmoon systemd[1]: Stopping LSB: Postfix Mail Transport Agent...
Feb 23 15:35:36 halfmoon postfix[27474]:  * Stopping Postfix Mail Transport Agent postfix
Feb 23 15:35:36 halfmoon postfix[27474]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtdp_delay_reject=yes
Feb 23 15:35:36 halfmoon postfix/master[27132]: terminating on signal 15
Feb 23 15:35:36 halfmoon postfix[27474]:    ...done.
Feb 23 15:35:36 halfmoon systemd[1]: Stopped LSB: Postfix Mail Transport Agent.
Feb 23 15:35:36 halfmoon systemd[1]: Starting LSB: Postfix Mail Transport Agent...
Feb 23 15:35:36 halfmoon postfix[27504]:  * Starting Postfix Mail Transport Agent postfix
Feb 23 15:35:36 halfmoon postfix[27504]: postconf: warning: /etc/postfix/main.cf: unused parameter: smtdp_delay_reject=yes
Feb 23 15:35:36 halfmoon postfix[27504]: message repeated 5 times: [ postconf: warning: /etc/postfix/main.cf: unused parameter: smtdp_delay_reject=yes]
Feb 23 15:35:36 halfmoon postfix[27504]: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtdp_delay_reject=yes
Feb 23 15:35:36 halfmoon postfix[27504]: message repeated 17 times: [ /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: smtdp_delay_reject=yes]
Feb 23 15:35:36 halfmoon postfix[27504]:    ...done.
Feb 23 15:35:36 halfmoon systemd[1]: Started LSB: Postfix Mail Transport Agent.
Feb 23 15:35:36 halfmoon systemd[1]: Reached target Mail Transport Agent.
Feb 23 15:35:36 halfmoon postfix/master[27623]: daemon started -- version 3.1.0, configuration /etc/postfix
Feb 23 15:35:36 halfmoon systemd[1]: Stopping Perl-based spam filter using text analysis...
Feb 23 15:35:36 halfmoon systemd[1]: Stopped Perl-based spam filter using text analysis.
Feb 23 15:35:36 halfmoon systemd[1]: Starting Perl-based spam filter using text analysis...
Feb 23 15:35:36 halfmoon spamd[27653]: util: refusing to untaint suspicious path: "/${SAHOME}"
Feb 23 15:35:38 halfmoon systemd[1]: Started Perl-based spam filter using text analysis.
Feb 23 15:35:38 halfmoon systemd[1]: Stopping Clam AntiVirus userspace daemon...
Feb 23 15:35:38 halfmoon clamd[27198]: --- Stopped at Thu Feb 23 15:35:38 2017
Feb 23 15:35:38 halfmoon systemd[1]: Stopped Clam AntiVirus userspace daemon.
Feb 23 15:35:38 halfmoon systemd[1]: Started Clam AntiVirus userspace daemon.
Feb 23 15:35:38 halfmoon systemd[1]: Stopping LSB: Starts amavisd-new mailfilter...
Feb 23 15:35:38 halfmoon amavis[27720]: Stopping amavisd: amavisd-new.
Feb 23 15:35:38 halfmoon systemd[1]: Stopped LSB: Starts amavisd-new mailfilter.
Feb 23 15:35:38 halfmoon systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
Feb 23 15:35:40 halfmoon amavis[27737]: starting. /usr/sbin/amavisd-new at halfmoon.org amavisd-new-2.10.1 (20141025), Unicode aware, LC_ALL="C", LANG="en_GB.UTF-8"
Feb 23 15:35:40 halfmoon amavis[27744]: Net::Server: Group Not Defined.  Defaulting to EGID '126 126'
Feb 23 15:35:40 halfmoon amavis[27744]: Net::Server: User Not Defined.  Defaulting to EUID '120'
Feb 23 15:35:40 halfmoon amavis[27729]: Starting amavisd: amavisd-new.
Feb 23 15:35:40 halfmoon systemd[1]: Started LSB: Starts amavisd-new mailfilter.
Feb 23 15:35:40 halfmoon amavis[27744]: Module Amavis::Conf        2.404
Feb 23 15:35:40 halfmoon amavis[27744]: Module Archive::Zip        1.56
Feb 23 15:35:40 halfmoon amavis[27744]: Module BerkeleyDB          0.55
Feb 23 15:35:40 halfmoon amavis[27744]: Module Compress::Raw::Zlib 2.068
Feb 23 15:35:40 halfmoon amavis[27744]: Module Compress::Zlib      2.068
Feb 23 15:35:40 halfmoon amavis[27744]: Module Crypt::OpenSSL::RSA 0.28
Feb 23 15:35:40 halfmoon amavis[27744]: Module DB_File             1.835
Feb 23 15:35:40 halfmoon amavis[27744]: Module Digest::MD5         2.54
Feb 23 15:35:40 halfmoon amavis[27744]: Module Digest::SHA         5.95
Feb 23 15:35:40 halfmoon amavis[27744]: Module Encode              2.72
Feb 23 15:35:40 halfmoon amavis[27744]: Module File::Temp          0.2304
Feb 23 15:35:40 halfmoon amavis[27744]: Module IO::Socket::INET6   2.72
Feb 23 15:35:40 halfmoon amavis[27744]: Module IO::Socket::IP      0.37
Feb 23 15:35:40 halfmoon amavis[27744]: Module MIME::Entity        5.507
Feb 23 15:35:40 halfmoon amavis[27744]: Module MIME::Parser        5.507
Feb 23 15:35:40 halfmoon amavis[27744]: Module MIME::Tools         5.507
Feb 23 15:35:40 halfmoon amavis[27744]: Module Mail::DKIM::Signer  0.4
Feb 23 15:35:40 halfmoon amavis[27744]: Module Mail::DKIM::Verifier 0.4
Feb 23 15:35:40 halfmoon amavis[27744]: Module Mail::Header        2.13
Feb 23 15:35:40 halfmoon amavis[27744]: Module Mail::Internet      2.13
Feb 23 15:35:40 halfmoon amavis[27744]: Module Mail::SPF           v2.009
Feb 23 15:35:40 halfmoon amavis[27744]: Module Mail::SpamAssassin  3.004001
Feb 23 15:35:40 halfmoon amavis[27744]: Module Net::DNS            0.81
Feb 23 15:35:40 halfmoon amavis[27744]: Module Net::LibIDN         0.12
Feb 23 15:35:40 halfmoon amavis[27744]: Module Net::Server         2.008
Feb 23 15:35:40 halfmoon amavis[27744]: Module NetAddr::IP         4.078
Feb 23 15:35:40 halfmoon amavis[27744]: Module Razor2::Client::Version 2.84
Feb 23 15:35:40 halfmoon amavis[27744]: Module Scalar::Util        1.41
Feb 23 15:35:40 halfmoon amavis[27744]: Module Socket              2.018
Feb 23 15:35:40 halfmoon amavis[27744]: Module Socket6             0.25
Feb 23 15:35:40 halfmoon amavis[27744]: Module Time::HiRes         1.9726
Feb 23 15:35:40 halfmoon amavis[27744]: Module URI                 1.71
Feb 23 15:35:40 halfmoon amavis[27744]: Module Unix::Syslog        1.1
Feb 23 15:35:40 halfmoon amavis[27744]: Amavis::ZMQ code     NOT loaded
Feb 23 15:35:40 halfmoon amavis[27744]: Amavis::DB code      loaded
Feb 23 15:35:40 halfmoon amavis[27744]: SQL base code        NOT loaded
Feb 23 15:35:40 halfmoon amavis[27744]: SQL::Log code        NOT loaded
Feb 23 15:35:40 halfmoon amavis[27744]: SQL::Quarantine      NOT loaded
Feb 23 15:35:40 halfmoon amavis[27744]: Lookup::SQL code     NOT loaded
Feb 23 15:35:40 halfmoon amavis[27744]: Lookup::LDAP code    NOT loaded
Feb 23 15:35:40 halfmoon amavis[27744]: AM.PDP-in proto code loaded
Feb 23 15:35:40 halfmoon amavis[27744]: SMTP-in proto code   loaded
Feb 23 15:35:40 halfmoon amavis[27744]: Courier proto code   NOT loaded
Feb 23 15:35:40 halfmoon amavis[27744]: SMTP-out proto code  loaded
Feb 23 15:35:40 halfmoon amavis[27744]: Pipe-out proto code  NOT loaded
Feb 23 15:35:40 halfmoon amavis[27744]: BSMTP-out proto code NOT loaded
Feb 23 15:35:40 halfmoon amavis[27744]: Local-out proto code loaded
Feb 23 15:35:40 halfmoon amavis[27744]: OS_Fingerprint code  NOT loaded
Feb 23 15:35:40 halfmoon amavis[27744]: ANTI-VIRUS code      loaded
Feb 23 15:35:40 halfmoon amavis[27744]: ANTI-SPAM code       loaded
Feb 23 15:35:40 halfmoon amavis[27744]: ANTI-SPAM-EXT code   NOT loaded
Feb 23 15:35:40 halfmoon amavis[27744]: ANTI-SPAM-C code     NOT loaded
Feb 23 15:35:40 halfmoon amavis[27744]: ANTI-SPAM-SA code    loaded
Feb 23 15:35:40 halfmoon amavis[27744]: Unpackers code       loaded
Feb 23 15:35:40 halfmoon amavis[27744]: DKIM code            loaded
Feb 23 15:35:40 halfmoon amavis[27744]: Tools code           NOT loaded
Feb 23 15:35:40 halfmoon amavis[27744]: Found $file            at /usr/bin/file
Feb 23 15:35:40 halfmoon amavis[27744]: No $altermime,         not using it
Feb 23 15:35:40 halfmoon amavis[27744]: Internal decoder for .mail
Feb 23 15:35:40 halfmoon amavis[27744]: Found decoder for    .Z    at /bin/uncompress
Feb 23 15:35:40 halfmoon amavis[27744]: Found decoder for    .gz   at /bin/gzip -d
Feb 23 15:35:40 halfmoon amavis[27744]: Found decoder for    .bz2  at /bin/bzip2 -d
Feb 23 15:35:40 halfmoon amavis[27744]: Found decoder for    .xz   at /usr/bin/xz -dc
Feb 23 15:35:40 halfmoon amavis[27744]: Found decoder for    .lzma at /usr/bin/xz -dc --format=lzma
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .lrz, tried: lrzip -q -k -d -o -, lrzcat -q -k
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .lzo, tried: lzop -d
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .lz4, tried: lz4c -d
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .rpm, tried: rpm2cpio.pl, rpm2cpio
Feb 23 15:35:40 halfmoon amavis[27744]: Found decoder for    .cpio at /bin/pax
Feb 23 15:35:40 halfmoon amavis[27744]: Found decoder for    .tar  at /bin/pax
Feb 23 15:35:40 halfmoon amavis[27744]: Found decoder for    .deb  at /usr/bin/ar
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .rar, tried: unrar-free
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .arj, tried: arj, unarj
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .arc, tried: nomarch, arc
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .zoo, tried: zoo
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .doc, tried: ripole
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .cab, tried: cabextract
Feb 23 15:35:40 halfmoon amavis[27744]: Internal decoder for .tnef
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .zip, tried: 7za, 7z
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .kmz, tried: 7za, 7z
Feb 23 15:35:40 halfmoon amavis[27744]: Internal decoder for .zip
Feb 23 15:35:40 halfmoon amavis[27744]: Internal decoder for .kmz
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .7z, tried: 7zr, 7za, 7z
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .jar, tried: 7z
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .arj, tried: 7z
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .rar, tried: 7z
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .swf, tried: 7z
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .lha, tried: 7z
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .iso, tried: 7z
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .cab, tried: 7z
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .rpm, tried: 7z
Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for   .exe, tried: unrar-free; arj, unarj
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .7z
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .F
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .arc
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .arj
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .cab
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .doc
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .exe
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .iso
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .jar
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .lha
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .lrz
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .lz4
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .lzo
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .rar
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .rpm
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .swf
Feb 23 15:35:40 halfmoon amavis[27744]: No decoder for       .zoo
Feb 23 15:35:40 halfmoon amavis[27744]: Using primary internal av scanner code for ClamAV-clamd
Feb 23 15:35:40 halfmoon amavis[27744]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Feb 23 15:35:40 halfmoon amavis[27744]: Deleting db files snmp.db,nanny.db,__db.002,__db.003,__db.001 in /var/lib/amavis/db
Feb 23 15:35:40 halfmoon amavis[27744]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.55, libdb 5.3
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: Global size limit set to 104857600 bytes.
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: File size limit set to 26214400 bytes.
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: Recursion level limit set to 16.
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: Files limit set to 10000.
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: MaxEmbeddedPE limit set to 10485760 bytes.
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: MaxHTMLNormalize limit set to 10485760 bytes.
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: MaxHTMLNoTags limit set to 2097152 bytes.
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: MaxScriptNormalize limit set to 5242880 bytes.
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: MaxZipTypeRcg limit set to 1048576 bytes.
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: MaxPartitions limit set to 50.
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: MaxIconsPE limit set to 100.
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: MaxRecHWP3 limit set to 16.
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: PCREMatchLimit limit set to 10000.
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: PCRERecMatchLimit limit set to 5000.
Feb 23 15:35:50 halfmoon clamd[27689]: Limits: PCREMaxFileSize limit set to 26214400.
Feb 23 15:35:50 halfmoon clamd[27689]: Archive support enabled.
Feb 23 15:35:50 halfmoon clamd[27689]: Algorithmic detection enabled.
Feb 23 15:35:50 halfmoon clamd[27689]: Portable Executable support enabled.
Feb 23 15:35:50 halfmoon clamd[27689]: ELF support enabled.
Feb 23 15:35:50 halfmoon clamd[27689]: Mail files support enabled.
Feb 23 15:35:50 halfmoon clamd[27689]: OLE2 support enabled.
Feb 23 15:35:50 halfmoon clamd[27689]: PDF support enabled.
Feb 23 15:35:50 halfmoon clamd[27689]: SWF support enabled.
Feb 23 15:35:50 halfmoon clamd[27689]: HTML support enabled.
Feb 23 15:35:50 halfmoon clamd[27689]: XMLDOCS support enabled.
Feb 23 15:35:50 halfmoon clamd[27689]: HWP3 support enabled.
Feb 23 15:35:50 halfmoon clamd[27689]: Self checking every 3600 seconds.



Grüße

Christoph



Reply | Threaded
Open this post in threaded view
|

Re: loescht amavis sein eigenes Angelerntes (db) beim Start?

Ralf Hildebrandt
* Christoph Kukulies <[hidden email]>:

> Ich benutze folgendes "skript" zum Neustarten meines EMail-Setups nach
> Konfigurationsänderungen:
>
>
> /etc/init.d/postfix restart
> /etc/init.d/spamassassin restart
> /etc/init.d/clamav-daemon restart
> /etc/init.d/amavis restart
>
> Beim Neustart von amavis fällt mir auf, daß es sagt, daß es dbs löscht und
> neu anlegt:
>
> Feb 23 15:35:40 halfmoon amavis[27744]: Deleting db files
> snmp.db,nanny.db,__db.002,__db.003,__db.001 in /var/lib/amavis/db

snmp und nanny sind mit internem Zustand gefüllt, die müssen geleert
werden.
Die anderen sind wahrscheinlcih irgendwelche Journale.Alles OK.

> Sollte ich mir Gedanken machen über die nicht vorhandenen decoder
> (unzipper)?

Je mehr amacvis auspacken kann, desto besser.

> /etc/postfix/main.cf: unused parameter: smtdp_delay_reject=yes

smtdp_delay_reject=yes

Tippfehler (Buchstabendreher), der Parameter ist aber EH standardmäßig auf yes.


> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .lrz, tried: lrzip -q -k -d -o -, lrzcat -q -k
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .lzo, tried: lzop -d
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .lz4, tried: lz4c -d
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .rpm, tried: rpm2cpio.pl, rpm2cpio
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .rar, tried: unrar-free
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .arj, tried: arj, unarj
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .arc, tried: nomarch, arc
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .zoo, tried: zoo
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .doc, tried: ripole
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .cab, tried: cabextract
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .zip, tried: 7za, 7z
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .kmz, tried: 7za, 7z
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .7z, tried: 7zr, 7za, 7z
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .jar, tried: 7z
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .arj, tried: 7z
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .rar, tried: 7z
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .swf, tried: 7z
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .lha, tried: 7z
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .iso, tried: 7z
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .cab, tried: 7z
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .rpm, tried: 7z
> Feb 23 15:35:40 halfmoon amavis[27744]: No ext program for .exe, tried:unrar-free; arj, unarj

Evtl. mal "7z" installieren

--
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  [hidden email] | http://www.charite.de