From owner-freebsd-questions@freebsd.org Thu Sep 10 07:06:38 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7805DA01341 for ; Thu, 10 Sep 2015 07:06:38 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from fep34.mx.upcmail.net (fep34.mx.upcmail.net [62.179.121.52]) by mx1.freebsd.org (Postfix) with ESMTP id BA6F3120B for ; Thu, 10 Sep 2015 07:06:36 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge02.upcmail.net ([192.168.13.237]) by viefep16-int.chello.at (InterMail vM.8.01.05.13 201-2260-151-135-20130320) with ESMTP id <20150910054834.LHMG28612.viefep16-int.chello.at@edge02.upcmail.net> for ; Thu, 10 Sep 2015 07:48:34 +0200 Received: from [192.168.1.160] ([86.101.30.40]) by edge02.upcmail.net with edge id FHpu1r00l0rw6r201Hpu7f; Thu, 10 Sep 2015 07:49:54 +0200 X-SourceIP: 86.101.30.40 Subject: Re: {Spam?} Re: Cannot test spamassassin, what is going on here? To: freebsd-questions@freebsd.org References: <55F0212B.9090708@shopzeus.com> <20150909164931.GB11226@mailboy.kipshouse.net> From: =?UTF-8?Q?Nagy_L=c3=a1szl=c3=b3_Zsolt?= Message-ID: <55F11A02.9090004@shopzeus.com> Date: Thu, 10 Sep 2015 07:49:54 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150909164931.GB11226@mailboy.kipshouse.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2015 07:06:38 -0000 >> >> How to overcome this problem? What is going on here? > I'm no SA expert, but I believe it will take the reputation of the > sender into account. So if the mail content is marginal, it might pass > the local test, but if the sending IP has a poor reputation, it could > push it into the spam range. The sending IP is included in the mail headers. Looks like this: > Received: from mx2.freebsd.org (mx2.freebsd.org [8.8.178.116]) > by shopzeus.com (Postfix) with ESMTP id 46681889603E > for ; Wed, 9 Sep 2015 12:58:40 -0400 (EDT) All SMTP server should prepend the ESMTP id for any message they receive, and also the address it was arriving from, and the address it as received for. Maybe I'm wrong, but I think RBL checks and other spam checks work on all IP addresses/domains that can be found in the "Received:" headers. Spamassassin works on email files that are stored under /var/spool/MailScanner/incoming. postfix puts received messages "ON HOLD" into this directory, and mailscanner moves that message back for delivery after scanning it. Maybe I should post this question to the mailscanner list (however, I feel this is also related to FreeBSD MailScanner and spamassassin ports)