Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Apr 2005 23:01:47 -0700 (PDT)
From:      Rob <spamrefuse@yahoo.com>
To:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:    Procmail: how to deliver email over an ssh-tunnel to my smtp server.
Message-ID:  <20050406060148.23567.qmail@web54009.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050406060148.23567.qmail>