From owner-freebsd-questions@FreeBSD.ORG Thu Jan 22 08:41:32 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 8E0B716A4CE for ; Thu, 22 Jan 2004 08:41:32 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23A7E43D4C for ; Thu, 22 Jan 2004 08:41:06 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i0MGepse071873 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Jan 2004 16:40:51 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i0MGepH1071872; Thu, 22 Jan 2004 16:40:51 GMT (envelope-from matthew) Date: Thu, 22 Jan 2004 16:40:51 +0000 From: Matthew Seaman To: mikko Message-ID: <20040122164051.GA71695@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , mikko , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.62 X-Spam-Checker-Version: SpamAssassin 2.62 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org 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:41:32 -0000 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAD/0TdtESqEQa7a0RAl2GAJwO46bpO7F9Etx7pM/CK6XwEN/hJgCdFC6B g+5kRB1Z0tUMEk0sEyZppXc= =EM1T -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--