Thanks for the mail sending help at the last meeting
david at thekramers.net
Fri Aug 25 10:13:07 EDT 2006
At the last meeting, I asked about setting up my postfix mail server so
that I can securely send mail from my laptop remotely, using some kinda
SMTP authentication. The advice I got was to not do that, but set up an
openvpn connection between my server and my laptop.
I got the VPN working, but I couldn't send mail, because it said "relay
denied". A little poking led me to add the VPN IP address to the
$mynetworks variable in the postfix config file, and now it all works.
Oh, for bonus points, I set up Firefox to use "mail.thekramers.net" for
SMTP. Then I use SUSE's SCPM (System Configuration Profile Manager) to
switch between two versions of /etc/hosts, one that maps
mail.thekramers.net to my server's internal card, and one that maps
mail.thekramers.net to the VPN address. Way cool.
Is there any security risk from using the default port and IP address
for VPN, or should I change it to something more obscure?
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Discuss