[opensuse] Redirecting port 25 to another server
- From: Jerry Feldman <gaf@xxxxxxx>
- Date: Wed, 30 Jan 2008 12:59:12 -0500
I am using Postfix on SuSE 10.3.
I currently have relayhost set to my ISP, but I would like to
intelligently set up an SSH tunnel to another server based on my email
address:
For instance, when my email address is gaf@xxxxxxx, I want to set up an
ssh tunnel on port 25 to the blu.org server but if my email address is
not gaf@xxxxxxx, or one of the virtual domains, I would just like to go
to the ISP.
I can easily set up a script to set up the ssh tunnel to forward my
localhost port 25 to the blu mail server:
ssh -L 25:blu.org:25
Alternatively, I could redirect all the email through the blu server
simply by removing the relayhost from main.cf, and setting up the tunnel
permanently (or by cron).
So, what I am looking for is:
1. An opinion on whether I should just send all my email out on the ssh
tunnel. or
2. Set up the intelligent postfix script.
I can also set up my mail client to use the ISP directly for outgoing
email on my ISP mail address.
--
--
Jerry Feldman <gaf@xxxxxxx>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB CA3B 4607 4319 537C 5846
Attachment:
signature.asc
Description: PGP signature
- Prev by Date: [opensuse] ¿how can i open the floppy disquette?
- Next by Date: Re: [opensuse] ¿how can i open the floppy disquette?
- Previous by thread: [opensuse] ¿how can i open the floppy disquette?
- Next by thread: [opensuse] Update conflict resolution - kernel missing
- Index(es):
Relevant Pages
|