From owner-freebsd-questions@FreeBSD.ORG Fri Aug 20 07:42:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B62510656A5 for ; Fri, 20 Aug 2010 07:42:48 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0EF148FC22 for ; Fri, 20 Aug 2010 07:42:47 +0000 (UTC) Received: by iwn36 with SMTP id 36so3082680iwn.13 for ; Fri, 20 Aug 2010 00:42:47 -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 :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=es1crqAUsQ0j3mOj8Mn6wxDYu6jvCSn/Qq8LI4n45o0=; b=hgKK3GWr0IenlX4u+5qufua4lMYTpFVF8nBkIZi5K0/1Slyk/O1HPkGaRxH+l7EKpJ luBIvH03H2bR0CZgW2dqlcbvYf7fWzFvdi8rFP4hV0x/IwZsYQT6HWL4rM4ixgYtysvL dKnixntw78l11dxVK8+kosjPvh53Yq9DVENrg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=f+lag1NR78lhnIM7vQTgO5hpnnLJseWtbutVCiuAdMXu25aGDalR+QWANdLDqreSEy 6jA/xmGIbwtWM1CzQDTy5/NcdhIn6JcA02XpUW8vEocbMBKERxc+2JhXTuLGJLrLbIaT +mXxRQgm4pPg0cb0HESin2bQmuiMRjPDHBsL0= Received: by 10.231.15.8 with SMTP id i8mr249834iba.12.1282290167373; Fri, 20 Aug 2010 00:42:47 -0700 (PDT) Received: from [192.168.1.3] (c-24-14-170-47.hsd1.il.comcast.net [24.14.170.47]) by mx.google.com with ESMTPS id e8sm2345691ibb.8.2010.08.20.00.42.45 (version=SSLv3 cipher=RC4-MD5); Fri, 20 Aug 2010 00:42:46 -0700 (PDT) Message-ID: <4C6E31F4.5090306@gmail.com> Date: Fri, 20 Aug 2010 02:42:44 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C6DB3DE.6080209@gmail.com> <20100820020650.2142ebff@gumby.homeunix.com> In-Reply-To: <20100820020650.2142ebff@gumby.homeunix.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Mail and DNS setup 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: Fri, 20 Aug 2010 07:42:48 -0000 On 8/19/2010 8:06 PM, RW wrote: > On Thu, 19 Aug 2010 17:44:46 -0500 > Depo Catcher wrote: > > >> getmail + qmail + procmail replacement + courier-imap = win? > > Why use an mta at all? getmail was specifically designed to avoid that. > > You can just do something like: > > getmail -> procmail -> whatever > > getmail -> dovecot-deliver+sieve plugin I use getmail, dovecot, and postfix. I have getmail and postfix forwarding to dovecot with sieve, and a root .forward file for receiving server logs and filtering to a directory of their own. I haven't integrated dspam and the dovecot-antispam plugin in yet but will. Postfix doesn't handle anything other than local mail, and even then only logs. The main trouble I had was getting the local storage layout the way *I* wanted instead of defaults, `mail_location = maildir:/var/mail/%u:LAYOUT=fs:INBOX=/var/mail/%u`. I was also able to import and filter all of my Mail.app 1.3 mail via a simple perl script I wrote using /usr/local/libexec/dovecot/deliver. With the getmail/refilter trick, fixing sieve problems can be easy and has it almost all server side.