[LUGOS] postfix + amavis + spamassassin problem

Marko Jerak marko at jerak.si
Fri Oct 31 09:21:43 CET 2008


Imel sem podoben problem. Problem je bil v amavisd.conf saj je manjkala
ena vrstica:

$sa_spam_subject_tag = '**SPAM**';

če je vse ostalo OK bi moralo delovati.

lp
m


>> http://www.debianadmin.com/how-to-filter-spam-with-spamassassin-and-postfix-in-debian.html
>> http://www.xnote.com/howto/postfix-spamassassin.html
>> ttp://www.akadia.com/services/postfix_spamassassin.html
>> http://www.akadia.com/services/postfix_amavisd.html
>
> To bo verjetno. Pa ata Google drugic(.
>
> lp, Jože
>
>
> Tadej pravi:
>> Na strezniku uporabljam postfix + amavis + spamassassin in imam sledec
>> problem. V mail.log je vidno, da gre mail skozi spamassassin ( je
>> identicen logu na drugem serverju kjer vse dela BP), ampak ko mail
>> pride v mailbox, v headerju ni nobene "Spam" oznake, kot da bi mail
>> sel skozi spamassassin, a le ta nebi naredil nic.
>>
>> Prilagam se mail.log in source od maila
>>
>> -------------------------------------------------------------
>>
>> Oct 26 17:15:31 kanja postfix/smtpd[14297]: connect from
>> qw-out-1920.google.com[74.125.92.144] Oct 26 17:15:33 kanja
>> postfix/smtpd[14297]: BFD064BC272:
>> client=qw-out-1920.google.com[74.125.92.144] Oct 26 17:15:34 kanja
>> postfix/cleanup[14277]: BFD064BC272:
>> message-id=<d40b65470810260932s13ba3c80gf36555cefa1004b6 na mail.gmail.com>
>> Oct 26 17:15:34 kanja postfix/qmgr[14272]: BFD064BC272:
>> from=<*****@gmail.com>, size=2042, nrcpt=1 (queue active) Oct 26
>> 17:15:34 kanja spamd[14247]: spamd: connection from localhost
>> [127.0.0.1] at port 55524 Oct 26 17:15:34 kanja spamd[14247]: spamd:
>> processing message
>> <d40b65470810260932s13ba3c80gf36555cefa1004b6 na mail.gmail.com> for
>> spamfilter:104 Oct 26 17:15:34 kanja spamd[14247]: spamd: clean
>> message (0.6/5.0) for spamfilter:104 in 0.1 seconds, 2032 bytes. Oct
>> 26 17:15:34 kanja spamd[14247]: spamd: result: . 0 -
>> HTML_MESSAGE,HTML_SHORT_LENGTH
>> scantime=0.1,size=2032,user=spamfilter,uid=104,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=55524,mid=<d40b65470810260932s13ba3c80gf36555cefa1004b6 na mail.gmail.com>,autolearn=no
>> Oct 26 17:15:34 kanja spamd[14246]: prefork: child states: II Oct 26
>> 17:15:34 kanja postfix/pickup[14271]: 3C0A84BC276: uid=1005
>> from=<*****@gmail.com> Oct 26 17:15:34 kanja postfix/cleanup[14277]:
>> 3C0A84BC276:
>> message-id=<d40b65470810260932s13ba3c80gf36555cefa1004b6 na mail.gmail.com>
>> Oct 26 17:15:34 kanja postfix/pipe[14278]: BFD064BC272:
>> to=<tadej@*****.si>, relay=spamfilter, delay=2.7, delays=2.6/0/0/0.14,
>> dsn=2.0.0, status=sent (delivered via spamfilter service) Oct 26
>> 17:15:34 kanja postfix/qmgr[14272]: BFD064BC272: removed Oct 26
>> 17:15:34 kanja postfix/qmgr[14272]: 3C0A84BC276:
>> from=<*****@gmail.com>, size=2366, nrcpt=1 (queue active) Oct 26
>> 17:15:34 kanja postfix/smtpd[14286]: connect from localhost[127.0.0.1]
>> Oct 26 17:15:34 kanja postfix/smtpd[14286]: 69ED74BC272:
>> client=localhost[127.0.0.1] Oct 26 17:15:34 kanja
>> postfix/cleanup[14277]: 69ED74BC272:
>> message-id=<d40b65470810260932s13ba3c80gf36555cefa1004b6 na mail.gmail.com>
>> Oct 26 17:15:34 kanja postfix/qmgr[14272]: 69ED74BC272:
>> from=<*****@gmail.com>, size=2591, nrcpt=1 (queue active) Oct 26
>> 17:15:34 kanja postfix/smtpd[14286]: disconnect from
>> localhost[127.0.0.1] Oct 26 17:15:34 kanja amavis[14263]: (14263-02)
>> Passed CLEAN, [74.125.92.144] <*****@gmail.com> -> <tadej@*****.si>,
>> Message-ID:
>> <d40b65470810260932s13ba3c80gf36555cefa1004b6 na mail.gmail.com>,
>> mail_id: b6UbakgxUctK, Hits: 0.63, queued_as: 69ED74BC272, 230 ms Oct
>> 26 17:15:34 kanja postfix/smtp[14283]: 3C0A84BC276:
>> to=<tadej@*****.si>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.32,
>> delays=0.09/0/0/0.23, dsn=2.6.0, status=sent (250 2.6.0 Ok,
>> id=14263-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as
>> 69ED74BC272) Oct 26 17:15:34 kanja postfix/qmgr[14272]: 3C0A84BC276:
>> removed Oct 26 17:15:34 kanja postfix/local[14287]: 69ED74BC272:
>> to=<tadej@*****.si>, relay=local, delay=0.07, delays=0.05/0.02/0/0.01,
>> dsn=2.0.0, status=sent (delivered to mailbox) Oct 26 17:15:34 kanja
>> postfix/qmgr[14272]: 69ED74BC272: removed
>>
>> -------------------------------------------------------------
>>
>> Return-Path: <*****@gmail.com>
>> X-Original-To: tadej@*****.si
>> Delivered-To: tadej@*****.si
>> Received: from localhost (localhost [127.0.0.1])
>>      by kanja.*****.si (Postfix) with ESMTP id C17754BC272
>>      for <tadej@*****.si>; Sun, 26 Oct 2008 17:02:03 +0100 (CET)
>> X-Virus-Scanned: Debian amavisd-new at kanja.*****.si
>> Received: from kanja.*****.si ([127.0.0.1])
>>      by localhost (kanja.*****.si [127.0.0.1]) (amavisd-new, port 10024)
>>      with ESMTP id 2Gvm+4EYrCVf for <tadej@*****.si>;
>>      Sun, 26 Oct 2008 17:02:03 +0100 (CET)
>> Received: by kanja.*****.si (Postfix, from userid 1005)
>>      id 887AB4BC276; Sun, 26 Oct 2008 17:02:03 +0100 (CET)
>> Received: from qw-out-1920.google.com (qw-out-1920.google.com
>> [74.125.92.145])
>>      by kanja.*****.si (Postfix) with ESMTP id 107D34BC272
>>      for <tadej@*****.si>; Sun, 26 Oct 2008 17:02:02 +0100 (CET)
>> Received: by qw-out-1920.google.com with SMTP id 9so651630qwj.52
>>      for <tadej@*****.si>; Sun, 26 Oct 2008 09:18:34 -0700 (PDT)
>> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
>>      d=gmail.com; s=gamma;
>>      h=domainkey-signature:received:received:message-id:date:from:to
>>      :subject:mime-version:content-type;
>>      bh=+XJpocKq2QthLsayK7NTGjHQj7Px6sI25NFZL9Yw/tM=;
>>      b=CaJ9jomffOFyrGaXRYOGMlV8r60KVOjx5LZQ4GsiW6utEBK49bk7fRU64VuigbpoOd
>>      YqvuBR1aPex7KbgM7eleqAk/1MmvCzjVxglKKnKkg8frS1hDm7NTJx1fQHkMiTTMQ0E3
>>      ioL1JZdhvTr5V7+hc4TDb3OeBuo0a41ICXgwk=
>> DomainKey-Signature: a=rsa-sha1; c=nofws;
>>      d=gmail.com; s=gamma;
>>      h=message-id:date:from:to:subject:mime-version:content-type;
>>      b=OFEbOcwmIOeUst+PHXtkH46pgwnweKVsFezftn5AUTAoTQvdhlXeZYFErJHtfmWeZA
>>      nS/3yrTbF8JC5avnmbzVLJY1E8sGnS9txq1UKnmeC1KAPWJ/thpN2mqiMtiJm4dMOQzd
>>      V5z5NoTtcx2Hd7SnzCGPWu2mRvA8kwYy6bCwg=
>> Received: by 10.214.215.5 with SMTP id n5mr1588579qag.172.1225037914793;
>>      Sun, 26 Oct 2008 09:18:34 -0700 (PDT)
>> Received: by 10.214.242.7 with HTTP; Sun, 26 Oct 2008 09:18:34 -0700
>> (PDT)
>> Message-ID:
>> <d40b65470810260918i5d367b8fs41b7ef4d9aa91f3e na mail.gmail.com>
>> Date: Sun, 26 Oct 2008 17:18:34 +0100
>> From: "*****" <*****@gmail.com>
>> To: tadej@*****.si
>> Subject: test8
>> MIME-Version: 1.0
>> Content-Type: multipart/alternative;
>>      boundary="----=_Part_79980_25313381.1225037914772"
>>
>> -------------------------------------------------------------
>>
>> Hvala za pomoc.
>>
>> --
>> Lep pozdrav
>> Tadej
>> _______________________________________________
>> lugos-list mailing list
>> lugos-list na lugos.si
>> http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list
>>
>>
> _______________________________________________
> lugos-list mailing list
> lugos-list na lugos.si
> http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list
>




More information about the lugos-list mailing list