[Qmail-it] Qmail mi duplica le e-mail
RedFoxy
redfoxy at redfoxy.it
Thu Sep 28 23:28:13 CEST 2006
Martin ha scritto:
> controllato che il messagge-id sia lo stesso cosi come
> le date negli header? in modo da verificare chi e' che duplica
Il Message-ID e' identico, le unice differenze che trovo nel confrontare
gli header (o meglio le e-mail per intero) sono:
Mail 1:
X-UIDL: 1159462155.2688.server.redfoxy.it,S=4979
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: <no-reply at thecelebarchive.net>
Delivered-To: redfoxy at redfoxy.it
Received: (qmail 2686 invoked by uid 89); 28 Sep 2006 16:49:14 -0000
Received: by simscan 1.2.0 ppid: 2024, pid: 2027, t: 600.1268s
scanners: attach: 1.2.0 clamav: 0.88.4/m:40/d:1888 spam: 3.1.5
Received: from unknown (HELO smtpsmart3.fe.aruba.it) (62.149.158.23)
by 0 with SMTP; 28 Sep 2006 16:39:14 -0000
Mail 2:
X-UIDL: 1159466555.8280.server.redfoxy.it,S=4979
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: <no-reply at thecelebarchive.net>
Delivered-To: redfoxy at redfoxy.it
Received: (qmail 8278 invoked by uid 89); 28 Sep 2006 18:02:35 -0000
Received: by simscan 1.2.0 ppid: 7419, pid: 7432, t: 600.1666s
scanners: attach: 1.2.0 clamav: 0.88.4/m:40/d:1888 spam: 3.1.5
Received: from unknown (HELO smtpsmart3.fe.aruba.it) (62.149.158.13)
by 0 with SMTP; 28 Sep 2006 17:52:35 -0000
Una cosa che ho notato e' che in molte e-mail negli header le uniche
tracce di dimscan e degli scanner (spam assassin e clamav) si riduce a
solo: scanners: attach: 1.2.0 clamav: 0.88.4/m:40/d:1888 spam: 3.1.5
Mentre normalmente anche se la mail non e' spam dovrebbero esserci anche
gli altri header come:
X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on
smtpsmart3.fe.aruba.it
X-Spam-Level:
X-Spam-Status: No, score=0.6 required=5.0 tests=HTML_MESSAGE,NO_REAL_NAME
autolearn=disabled version=3.1.4
Questo mi sembra che sia indipendente dal fatto che siano e-mail
duplicate o no
>
> dubito che sia qmail (a meno di qualche pastrocchio con multipli
> qmail-send up e spruzzatine di patch randomiche)
>
Per installare qmail ho seguito questa guida (solo aggiornado i
programmi come vpopmail all'ultima versione):
http://www.piloz.it/index.php?page=howto&num=17
Oltre ad aggiornare i software, in alcuni casi ho anche cambiato i
configure, come nel caso di vpopmail (compilato con ./configure
--enable-roaming-users
--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-logging=v
--disable-passwd --enable-clear-passwd )
>> Sono certo di questo perche' mi sono inviato UNA sola e-mail quando
>> mi sono accorto che non ricevevo la posta e ne ho ricevute (dopo un
>> pezzo) ben 5!
>
>
> secondo me e' simcscan.. cioe' non lui ma la sua configurazione
simscan l'ho compilato con queste opzioni: ./configure
--enable-user=clamav --enable-clamav=y --enable-spam=y
--enable-spam-passthru=y --enable-per-domain=y --enable-received=y
--enable-attach=y --enable-clamavdb-path=/usr/local/share/clamav
--enable-regex=y --enable-custom-smtp-reject=y
>
>> Cosa puo' essere?
>
> difficile dirlo cosi
>
Lo immaginavo, l'ho butata li cosi' :P
>> cosa mi consigliate di controllare?
>
> i log
> metti tutto in verbose
oltre a vpopmail che gia' e' in verbose, ho appena messo
,SIMSCAN_DEBUG="2" nel mio tcp.smtp e ho ricreato il file, ora sto'
monitorando il qmail-smtpd log vediamo che ammatte... il problema e' che
non capita sempre e percio' non so' se si verifichera' a breve o piu' in
la quando non sono al pc...
in ogni caso non mi sembra che ci sia niente di strano... a parte che
nel log di spamd non ho trovato nessun movimento quando ho ricevuto
questa mail (inviata tramite un smtp esterno e non in whitelist), mentre
per altre e.mail il log di spamd si e' riempito ma sempre senza errori
(o e' lui che ci sta' una vita a processare le mail...)
Ecco il log di simscan/qmail-smtpd
2006-09-28 23:11:14.681939500 tcpserver: status: 1/20
2006-09-28 23:11:14.717158500 tcpserver: pid 22439 from 80.19.218.226
2006-09-28 23:11:14.717387500 tcpserver: ok 22439 0:62.149.226.68:25
:80.19.218.226::2376
2006-09-28 23:11:19.897087500 CHKUSER accepted rcpt: from
<max at mediel.it::> remote <mail.mediel.it:unknown:80.19.218.226> rcpt
<redfoxy at redfoxy.it> : found existing recipient
2006-09-28 23:11:19.934803500 simscan: cdb looking up
2006-09-28 23:11:19.934975500 simscan: cdb for found
clam=yes,spam=yes,spam_passthru=yes,attach=.vbs:.lnk:.scr:.wsh:.hta:.pif
2006-09-28 23:11:19.935022500 simscan: pelookup clam = yes
2006-09-28 23:11:19.935057500 simscan: pelookup spam = yes
2006-09-28 23:11:19.935082500 simscan: pelookup spam_passthru = yes
2006-09-28 23:11:19.935110500 simscan: spampassthru = yes/1
2006-09-28 23:11:19.935133500 simscan: pelookup attach =
.vbs:.lnk:.scr:.wsh:.hta:.pif
2006-09-28 23:11:19.935156500 simscan: attachment flag attach =
.vbs:.lnk:.scr:.wsh:.hta:.pif
2006-09-28 23:11:19.935201500 simscan: .vbs is attachment number 0
2006-09-28 23:11:19.935228500 simscan: .lnk is attachment number 1
2006-09-28 23:11:19.935252500 simscan: .scr is attachment number 2
2006-09-28 23:11:19.935276500 simscan: .wsh is attachment number 3
2006-09-28 23:11:19.935300500 simscan: .hta is attachment number 4
2006-09-28 23:11:19.935366500 simscan: .pif is attachment number 5
2006-09-28 23:11:19.935416500 simscan: starting: work dir:
/var/qmail/simscan/1159477879.935385.22445
2006-09-28 23:11:19.980901500 simscan: pelookup: called with max at mediel.it
2006-09-28 23:11:19.980943500 simscan: pelookup: domain is mediel.it
2006-09-28 23:11:19.980965500 simscan: cdb looking up mediel.it
2006-09-28 23:11:19.981022500 simscan: pelookup: local part is max
2006-09-28 23:11:19.981075500 simscan: cdb looking up max at mediel.it
2006-09-28 23:11:19.981121500 simscan: pelookup: called with
redfoxy at redfoxy.it
2006-09-28 23:11:19.981149500 simscan: pelookup: domain is redfoxy.it
2006-09-28 23:11:19.981172500 simscan: cdb looking up redfoxy.it
2006-09-28 23:11:19.981210500 simscan: pelookup: local part is redfoxy
2006-09-28 23:11:19.981239500 simscan: cdb looking up redfoxy at redfoxy.it
2006-09-28 23:11:19.981279500 simscan: regex opening message file
msg.1159477879.935385.22445
2006-09-28 23:11:19.981340500 simscan: regex reading message
2006-09-28 23:11:19.981432500 simscan: regex freeing memory
2006-09-28 23:11:19.981464500 simscan: cdb looking up version regex
2006-09-28 23:11:20.061802500 simscan: cdb looking up version attach
2006-09-28 23:11:20.061883500 simscan: calling clamdscan
2006-09-28 23:11:20.077173500 simscan: cdb looking up version clamav
2006-09-28 23:11:20.077277500 simscan: normal clamdscan return code: 0
2006-09-28 23:11:20.077375500 simscan: calling spamc
2006-09-28 23:11:20.077429500 simscan: calling /usr/bin/spamc spamc
2006-09-28 23:12:46.831652500 tcpserver: status: 2/20
2006-09-28 23:12:46.831778500 tcpserver: pid 22555 from 127.0.0.1
2006-09-28 23:12:46.831912500 tcpserver: ok 22555 0:127.0.0.1:25
:127.0.0.1::60290
2006-09-28 23:12:46.834972500 CHKUSER relaying rcpt: from
<forum at softairmania.it::> remote <localhost:unknown:127.0.0.1> rcpt
<daniele_81 at alice.it> : client allowed to relay
2006-09-28 23:12:47.027101500 tcpserver: end 22555 status 0
2006-09-28 23:12:47.027106500 tcpserver: status: 1/20
--
RedFoxy
A fox around web
Power at fox for a yiffing world!
Un forum per tutte le esigenze: http://www.forum.redfoxy.it
More information about the Qmail-it
mailing list