From owner-freebsd-questions@FreeBSD.ORG Thu Jan 22 08:59:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6423316A4CF for ; Thu, 22 Jan 2004 08:59:25 -0800 (PST) Received: from wizkid.homeip.net (wizkid.homeip.net [213.238.38.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AADD43D49 for ; Thu, 22 Jan 2004 08:59:21 -0800 (PST) (envelope-from me@wizkid.homeip.net) Received: from amavis by wizkid.homeip.net with scanned-ok (Exim 3.36 #1 (Debian)) id 1AjiAq-0003Pm-00 for ; Thu, 22 Jan 2004 17:59:20 +0100 Received: from wizkid.homeip.net ([127.0.0.1]) by localhost (darkstar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12842-06 for ; Thu, 22 Jan 2004 17:59:18 +0100 (CET) Received: from atm0-1-cisco4.work.de ([212.12.32.141] helo=wizkid.homeip.net) by wizkid.homeip.net with asmtp (Exim 3.36 #1 (Debian)) id 1AjiAn-0003Ph-00 for ; Thu, 22 Jan 2004 17:59:17 +0100 Message-ID: <40100165.7060507@wizkid.homeip.net> Date: Thu, 22 Jan 2004 17:59:17 +0100 From: me User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20031227 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20040122164051.GA71695@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040122164051.GA71695@happy-idiot-talk.infracaninophile.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at wizkid.homeip.net Subject: Re: local mail delivery X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2004 16:59:25 -0000 i made my fetchmail feed it into my exim using my local mailaddress as recipient so it will go through amavis, spamassassin and finally maildrop so it is inserted into my maildir. greetings ruediger Matthew Seaman wrote: > On Thu, Jan 22, 2004 at 06:05:09PM +0200, mikko wrote: > > >>I make a ssh connection to start imapd >>on the target mail-host with fetchmail, to >>get the mail, but to whom program does >>fetchmail give it to? sendmail? Or does it >>put it directly in the mailspool? >>Some other program? > > > fetchmail(1) generally hands off the received mail to sendmail(8) for > local delivery. However, you can configure it to pass the mail > directly to procmail(1) or some other local delivery agent if you know > that all the incoming mail is addressed to just one account. Since > you don't want to use procmail(8), probably that would have to be the > default delivery agent: mail.local(8) > > Since you're using spamd, you need some way of feeding the mail to it > for scanning. That's generally done via procmail rules, but you can > use a sendmail milter instead -- see the mail/spamass-milter port for > example. > > Cheers, > > Matthew >