[Mac_crypto] postfix TLS on OS X?
Vinnie Moscaritolo
vinnie@vmeng.com
Sun, 28 Jul 2002 18:37:37 -0700
At 6:31 PM -0700 7/28/02, Fearghas McKay wrote:
>Lucky
>
>Another thing that would be useful would be pointers as to how you set
>Postfix up securely for Vinnie.
he didn't.. i closed the outside access and i use ssh establish a tunnel
from localhost smtp and pop3 to my server..
in my case to launch mail i do the following script
#!/usr/bin/perl
use warnings;
use strict;
# open up
my $ssh_smtp = "ssh -C -f -N -L 1025:localhost:25 vmeng.com";
my $ssh_pop3 = "ssh -C -f -N -L 1110:localhost:110 vmeng.com";
my $ssh_count1 = "ps ax | grep '$ssh_smtp' | grep -v grep | wc -l";
my $ssh_count2 = "ps ax | grep '$ssh_pop3' | grep -v grep | wc -l";
# Only start a new ssh tunnel if we don't have a previous connection
if (`$ssh_count1` == 0) { system($ssh_smtp) }
if (`$ssh_count2` == 0) { system($ssh_pop3) }
system("open /Applications/Eudora/Eudora.app/Contents/MacOS/Eudora");
#system("open /Applications/Mail.app");
--
Vinnie Moscaritolo ITCB-IMSH
PGP: 3F903472C3AF622D5D918D9BD8B100090B3EF042
-------------------------------------------------------