From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RUzgb-0004GH-4T for garchives@archives.gentoo.org; Mon, 28 Nov 2011 11:47:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFD0721C188; Mon, 28 Nov 2011 11:47:32 +0000 (UTC) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 8C4AB21C153 for ; Mon, 28 Nov 2011 11:47:03 +0000 (UTC) Received: by yenq6 with SMTP id q6so592212yen.40 for ; Mon, 28 Nov 2011 03:47:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=Afbdclo6Jj2xZjHKDPsmQAo76rh8WGSTtqX+eRlFPIY=; b=p4+a23q7SVyBPCqU2gNZpRIeOmG2U2qGWaiudLGsebQefFUJQMTeG7x/1BuO5LOa+h OFBkmLUInlq27zzwdZMctno8DJ/tMB/FTnTOVTEkQC6VppqvP+Cxrl8aDALw6sjnv7mu 2/zbZhOhyczmQ8H8MqH+ytDfES8l2PxCOjt8U= Received: by 10.182.113.38 with SMTP id iv6mr4164374obb.51.1322480823052; Mon, 28 Nov 2011 03:47:03 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@lists.gentoo.org Reply-to: gentoo-server@lists.gentoo.org MIME-Version: 1.0 Sender: misu.moldovan@gmail.com Received: by 10.182.11.7 with HTTP; Mon, 28 Nov 2011 03:46:22 -0800 (PST) In-Reply-To: <4ED37052.1040400@gmx.at> References: <4ED37052.1040400@gmx.at> From: =?UTF-8?Q?Mi=C8=99u_Moldovan?= Date: Mon, 28 Nov 2011 13:46:22 +0200 X-Google-Sender-Auth: -hR8u4MhyuJ16CTRJ0ovA8zMspY Message-ID: Subject: Re: [gentoo-server] Mailscanner or amavisd-new To: gentoo-server@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 0f042c61-4f55-4a35-bb08-22a86dfb3f80 X-Archives-Hash: 51b98c77db41993c5086858b09e98170 On Mon, Nov 28, 2011 at 13:28, Hannes Erven wrote: > Am 2011-11-28 11:25, schrieb Mi=C8=99u Moldovan: >>> Mailscanner or amavisd-new? >> >> The above solutions only scan mails AFTER accepting them. > > This is not true -- I have several amavisd-new setups with postfix that > filter before queuing the message. > Messages identified as Spam, Virus or messages with disallowed > attachments (.exe,.vbs,...) are rejected by the MTA. > > See: http://www.postfix.org/SMTPD_PROXY_README.html Thank you for clarifying it, I wasn't aware that amavsid-new can do that. However, at http://www.amavis.org/#faq-mta I read: The Postfix Before-Queue Content Filter setup, also known as smtpd_proxy setup, is not a supported or recommended setup with amavisd-new, which is not a transparent SMTP proxy by design. See caveats in README_FILES/SMTPD_PROXY_README Unfortunately, I couldn't find the referenced README in the sources. Can you tell us more in this regard? Thanks, --=20 mi=C8=99u