Üdv,
Még mindig ezt a tutorialt használva konfigurálgatom a levelezést... :)
Jelenlegi felállás: Ubuntu 8.10 server (LAMP) + postfix + dovecot. Virtualuserek, virtualdomainek mysql adatbázisból kiolvasva, működik tökéletesen.
Most jönne az, hogy víruskeresés és spamszűrés is legyen a levelezéshez. Ehhez telepítettem a következőket: amavisd-new spamassassin clamav-daemon
A clamav elvileg a cron -ból frissíti az adatbázisát, 4 óránként... (hu szervert adtam meg neki, gond?)
Szóval a tutorial #10 -es pontjának megfelelően konfiguráltam mindent. A probléma ott kezdődik, hogy a teszt spam-levelet nem jelöli spamnek a rendszer...
Szóval megnéztem a logokat..
/var/log/mail.err
Jan 25 11:44:34 tesztgep amavis[25680]: (25680-18) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x348f958) unexpected , output="/var/lib/amavis/tmp/amavis-20090125T105852-25680/parts: lstat() failed. ERROR\n" at (eval 100) line 527.
Jan 25 11:44:34 tesztgep amavis[25680]: (25680-18) (!!)WARN: all primary virus scanners failed, considering backups
Jan 25 11:45:08 tesztgep amavis[25689]: (25689-18) (!!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-20090125T105853-25689/parts: lstat() failed. ERROR\n"
Jan 25 11:45:08 tesztgep amavis[25689]: (25689-18) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x348f958) unexpected , output="/var/lib/amavis/tmp/amavis-20090125T105853-25689/parts: lstat() failed. ERROR\n" at (eval 100) line 527.
/var/log/mail.info
Jan 25 11:44:34 tesztgep postfix/pickup[25684]: DC15D24C4A8: uid=33 from=<www-data>
Jan 25 11:44:34 tesztgep postfix/cleanup[26679]: DC15D24C4A8: message-id=<20090125104434.DC15D24C4A8@tesztgep.sytes.net>
Jan 25 11:44:34 tesztgep postfix/qmgr[15890]: DC15D24C4A8: from=<www-data@tesztgep.sytes.net>, size=956, nrcpt=1 (queue active)
Jan 25 11:44:34 tesztgep amavis[25680]: (25680-18) (!!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-20090125T105852-25680/parts: lstat() failed. ERROR\n"
Jan 25 11:44:34 tesztgep amavis[25680]: (25680-18) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x348f958) unexpected , output="/var/lib/amavis/tmp/amavis-20090125T105852-25680/parts: lstat() failed. ERROR\n" at (eval 100) line 527.
Jan 25 11:44:34 tesztgep amavis[25680]: (25680-18) (!!)WARN: all primary virus scanners failed, considering backups
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: warning: cannot get private key from file /etc/ssl/private/ssl-cert-snakeoil.key
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: warning: TLS library problem: 26685:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:105:
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: cannot load RSA certificate and key data
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: connect from localhost[127.0.0.1]
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: 06DEB24C4A6: client=localhost[127.0.0.1]
Jan 25 11:44:37 tesztgep postfix/cleanup[26679]: 06DEB24C4A6: message-id=<20090125104434.DC15D24C4A8@tesztgep.sytes.net>
Jan 25 11:44:37 tesztgep postfix/qmgr[15890]: 06DEB24C4A6: from=<www-data@tesztgep.sytes.net>, size=1525, nrcpt=1 (queue active)
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: disconnect from localhost[127.0.0.1]
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: connect from localhost[127.0.0.1]
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: 0D72924C4AF: client=localhost[127.0.0.1]
Jan 25 11:44:37 tesztgep postfix/cleanup[26679]: 0D72924C4AF: message-id=<DSNe6ISLN8l8aek@tesztgep.sytes.net>
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: disconnect from localhost[127.0.0.1]
Jan 25 11:44:37 tesztgep postfix/qmgr[15890]: 0D72924C4AF: from=<>, size=3956, nrcpt=1 (queue active)
Jan 25 11:44:37 tesztgep amavis[25680]: (25680-18) Passed BAD-HEADER, <www-data@tesztgep.sytes.net> -> <trick15@freemail.hu>, quarantine: e/badh-e6ISLN8l8aek, Message-ID: <20090125104434.DC15D24C4A8@tesztgep.sytes.net>, mail_id: e6ISLN8l8aek, Hits: -, size: 954, queued_as: 06DEB24C4A6, 2152 ms
/var/log/mail.log
Jan 25 11:44:34 tesztgep postfix/pickup[25684]: DC15D24C4A8: uid=33 from=<www-data>
Jan 25 11:44:34 tesztgep postfix/cleanup[26679]: DC15D24C4A8: message-id=<20090125104434.DC15D24C4A8@tesztgep.sytes.net>
Jan 25 11:44:34 tesztgep postfix/qmgr[15890]: DC15D24C4A8: from=<www-data@tesztgep.sytes.net>, size=956, nrcpt=1 (queue active)
Jan 25 11:44:34 tesztgep amavis[25680]: (25680-18) (!!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-20090125T105852-25680/parts: lstat() failed. ERROR\n"
Jan 25 11:44:34 tesztgep amavis[25680]: (25680-18) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x348f958) unexpected , output="/var/lib/amavis/tmp/amavis-20090125T105852-25680/parts: lstat() failed. ERROR\n" at (eval 100) line 527.
Jan 25 11:44:34 tesztgep amavis[25680]: (25680-18) (!!)WARN: all primary virus scanners failed, considering backups
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: warning: cannot get private key from file /etc/ssl/private/ssl-cert-snakeoil.key
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: warning: TLS library problem: 26685:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:105:
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: warning: TLS library problem: 26685:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:403:
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: warning: TLS library problem: 26685:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:669:
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: cannot load RSA certificate and key data
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: connect from localhost[127.0.0.1]
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: 06DEB24C4A6: client=localhost[127.0.0.1]
Jan 25 11:44:37 tesztgep postfix/cleanup[26679]: 06DEB24C4A6: message-id=<20090125104434.DC15D24C4A8@tesztgep.sytes.net>
Jan 25 11:44:37 tesztgep postfix/qmgr[15890]: 06DEB24C4A6: from=<www-data@tesztgep.sytes.net>, size=1525, nrcpt=1 (queue active)
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: disconnect from localhost[127.0.0.1]
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: connect from localhost[127.0.0.1]
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: 0D72924C4AF: client=localhost[127.0.0.1]
Jan 25 11:44:37 tesztgep postfix/cleanup[26679]: 0D72924C4AF: message-id=<DSNe6ISLN8l8aek@tesztgep.sytes.net>
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: disconnect from localhost[127.0.0.1]
Jan 25 11:44:37 tesztgep postfix/qmgr[15890]: 0D72924C4AF: from=<>, size=3956, nrcpt=1 (queue active)
Jan 25 11:44:37 tesztgep amavis[25680]: (25680-18) Passed BAD-HEADER, <www-data@tesztgep.sytes.net> -> <trick15@freemail.hu>, quarantine: e/badh-e6ISLN8l8aek, Message-ID: <20090125104434.DC15D24C4A8@tesztgep.sytes.net>, mail_id: e6ISLN8l8aek, Hits: -, size: 954, queued_as: 06DEB24C4A6, 2152 ms
Jan 25 11:44:37 tesztgep postfix/smtp[26681]: DC15D24C4A8: to=<trick15@freemail.hu>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.2, delays=0.03/0/0/2.2, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=25680-18, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 06DEB24C4A6)
Jan 25 11:44:37 tesztgep postfix/qmgr[15890]: DC15D24C4A8: removed
Jan 25 11:44:37 tesztgep postfix/local[26687]: 0D72924C4AF: to=<www-data@tesztgep.sytes.net>, relay=local, delay=0.03, delays=0.01/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Jan 25 11:44:37 tesztgep postfix/qmgr[15890]: 0D72924C4AF: removed
Jan 25 11:44:46 tesztgep postfix/smtp[26686]: 06DEB24C4A6: to=<trick15@freemail.hu>, relay=fmx.freemail.hu[195.228.245.2]:25, delay=9.7, delays=0.01/0.02/6.4/3.2, dsn=2.0.0, status=sent (250 ok 1232880286 qp 56142)
Jan 25 11:44:46 tesztgep postfix/qmgr[15890]: 06DEB24C4A6: removed
Jan 25 11:45:08 tesztgep postfix/pickup[25684]: 4AB9D24C4A8: uid=33 from=<www-data>
Jan 25 11:45:08 tesztgep postfix/cleanup[26679]: 4AB9D24C4A8: message-id=<20090125104508.4AB9D24C4A8@tesztgep.sytes.net>
Jan 25 11:45:08 tesztgep postfix/qmgr[15890]: 4AB9D24C4A8: from=<www-data@tesztgep.sytes.net>, size=963, nrcpt=1 (queue active)
Jan 25 11:45:08 tesztgep amavis[25689]: (25689-18) (!!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-20090125T105853-25689/parts: lstat() failed. ERROR\n"
/var/log/mail.log
Jan 25 11:44:34 tesztgep amavis[25680]: (25680-18) (!!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-20090125T105852-25680/parts: lstat() failed. ERROR\n"
Jan 25 11:44:34 tesztgep amavis[25680]: (25680-18) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x348f958) unexpected , output="/var/lib/amavis/tmp/amavis-20090125T105852-25680/parts: lstat() failed. ERROR\n" at (eval 100) line 527.
Jan 25 11:44:34 tesztgep amavis[25680]: (25680-18) (!!)WARN: all primary virus scanners failed, considering backups
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: warning: cannot get private key from file /etc/ssl/private/ssl-cert-snakeoil.key
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: warning: TLS library problem: 26685:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:105:
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: warning: TLS library problem: 26685:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:403:
Jan 25 11:44:37 tesztgep postfix/smtpd[26685]: warning: TLS library problem: 26685:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:669:
Jan 25 11:45:08 tesztgep amavis[25689]: (25689-18) (!!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-20090125T105853-25689/parts: lstat() failed. ERROR\n"
Jan 25 11:45:08 tesztgep amavis[25689]: (25689-18) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x348f958) unexpected , output="/var/lib/amavis/tmp/amavis-20090125T105853-25689/parts: lstat() failed. ERROR\n" at (eval 100) line 527.
Jan 25 11:45:08 tesztgep amavis[25689]: (25689-18) (!!)WARN: all primary virus scanners failed, considering backups
netstat -nap | grep 10024 kimenete:
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 16035/amavisd (mast
netstat -nap | grep 10025 kimenete:
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 452/smtpd
Tud valaki segíteni? :)