From owner-freebsd-questions@FreeBSD.ORG Wed Apr 6 06:01:49 2005 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 6038C16A4CE for ; Wed, 6 Apr 2005 06:01:49 +0000 (GMT) Received: from web54009.mail.yahoo.com (web54009.mail.yahoo.com [206.190.36.233]) by mx1.FreeBSD.org (Postfix) with SMTP id AAE3643D31 for ; Wed, 6 Apr 2005 06:01:48 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 23569 invoked by uid 60001); 6 Apr 2005 06:01:48 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=NeUsPcZRo7dRVzs4QucXR63ioTCX336bvJfg/1d8WnDhg7CjpKmrwWmyBnuG4txJKS+0wz6l7LjkI38RD3Y2zVw+ysI2WgyC43Hpia0B46hDKVRVfIilpI7kA/QN+4sDNmvxD1FWb4djhY5MnunE19TC35zwSO++CX/rr/aKh+A= ; Message-ID: <20050406060148.23567.qmail@web54009.mail.yahoo.com> Received: from [147.46.44.181] by web54009.mail.yahoo.com via HTTP; Tue, 05 Apr 2005 23:01:47 PDT Date: Tue, 5 Apr 2005 23:01:47 -0700 (PDT) From: Rob To: FreeBSD questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Procmail: how to deliver email over an ssh-tunnel to my smtp server. 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: Wed, 06 Apr 2005 06:01:49 -0000 Hello, I'm having 4.11 and 5.3 FreeBSD PCs. All incoming email arrives through fetchmail (using imap protocol). I then filter all email with procmail, which is configured such that it trashes spam, or delivers to local mailbox, or forwards to another external address. For external delivery, I have set up an ssh tunnel to my smtp server: ssh -N -f -L 2525:localhost:25 smtp.server.it What do I have to do next, to have the delivery work properly? Can I tell procmail to push the email directly onto the port 2525 of the ssh tunnel? Or do I have to reconfigure sendmail for this? (sendmail reconfiguration info looks like a nightmare to me though....). Do I have other options? Thanks, Rob. __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com