From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 09:22:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1987116A41F for ; Tue, 12 Jun 2007 09:22:48 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from www.liukuma.net (www.liukuma.net [62.220.235.15]) by mx1.freebsd.org (Postfix) with ESMTP id C010113C45E for ; Tue, 12 Jun 2007 09:22:47 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from localhost (unknown [127.0.0.1]) by www.liukuma.net (Postfix) with ESMTP id F127D1DD38; Tue, 12 Jun 2007 11:57:28 +0300 (EEST) Received: from www.liukuma.net ([127.0.0.1]) by localhost (www.liukuma.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7LluzBjqCXb2; Tue, 12 Jun 2007 11:57:26 +0300 (EEST) Received: from rivendell (c-900471d5.019-61-68617010.cust.bredbandsbolaget.se [213.113.4.144]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: ignatz@www.liukuma.net) by www.liukuma.net (Postfix) with ESMTP id 9E9D51CCBB; Tue, 12 Jun 2007 11:57:26 +0300 (EEST) Message-ID: <004201c7acd0$3465f2a0$0a0aa8c0@rivendell> From: "Reko Turja" To: "Peter Pluta" References: <11046174.post@talk.nabble.com> <466C2D0F.3040708@webanoide.org><11050907.post@talk.nabble.com> <466C5069.1000903@vindaloo.com><11051531.post@talk.nabble.com> <20070612163811.75d813d5@localhost> Date: Tue, 12 Jun 2007 12:01:02 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Cc: freebsd-questions@freebsd.org Subject: Re: Spamassassin RBL's X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2007 09:22:48 -0000 >> I see, I disabled bayes and awl in spamassassin, and updated >> amavisd-new >> from ports. I have a different problem. Mail I am sending out is >> being >> thrown away because it's being flagged as spam. I'm stumped, it >> never did >> this before. > >From memory, you can tell amavis which are your networks, so it >doesnt scan emails on the way out. (or maybe you tell postfix to > >only send the email via amavis on the way out, not in... i cant >remember nor check atm). If you use SASL authentication and Postfix, you can use the following postfix directive: smtpd_sasl_authenticated_header = yes in main.cf in order to bypass the mail heading outside to be marked as spam. The directive above tells postfix to add information into headers that tell Amavis the mail was sent by someone who was authenticated by the system and thus trusted. I needed the above as the system relays mail from authenticated users from outside the netblock the server resides. In addition Amavis can read the relay_domains database created for Postfix in defining what domains are OK to send and receive mail, using for example something like: read_hash(\%local_domains, '/usr/local/etc/postfix/relay_domains'); in amavisd.conf. Hope these help you! -Reko