Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:e-mail-advanced [2012/01/08 20:42] memnontutorials:e-mail-advanced [2014/03/01 18:15] (current) – Tunnel to `mail.sdf-eu.org' instead of just `mail' memnon
Line 176: Line 176:
 Use port 465 on SDF-EU host "odin", tunnel local port 2525 to port 25 on SDF-EU host "mail" (SMTP server); restrict ssh to IPv4, no remote commands, run in background after connecting: Use port 465 on SDF-EU host "odin", tunnel local port 2525 to port 25 on SDF-EU host "mail" (SMTP server); restrict ssh to IPv4, no remote commands, run in background after connecting:
  
-    %  ssh -4 -fN -p 465 -L 2525:mail:25 sdf_user@odin.sdf-eu.org+    %  ssh -4 -fN -p 465 -L 2525:mail.sdf-eu.org:25 sdf_user@odin.sdf-eu.org
  
 Note if public key authentication isn't setup a password prompt occurs. Note if public key authentication isn't setup a password prompt occurs.
Line 201: Line 201:
 to use "localhost:2525" for SMTP (off-site email): to use "localhost:2525" for SMTP (off-site email):
  
-    # $HOME/.mailrc+    # $HOME/.nailrc
     set smtp="localhost:2525"     set smtp="localhost:2525"
     set from="You <someone@sdf-eu.org>"     set from="You <someone@sdf-eu.org>"
     set replyto="You <someone@sdf-eu.org>"      set replyto="You <someone@sdf-eu.org>" 
  
-    %  heirloom-mailx -v someone@sdf.org+    %  hmail -v someone@sdf.org
     Subject: tunneled SMTP test     Subject: tunneled SMTP test
     test 123     test 123
Line 274: Line 274:
   * Setting up [[http://sdfeu.org/tutorials:ssh-sdf#public_key|Public Key Authentication]]   * Setting up [[http://sdfeu.org/tutorials:ssh-sdf#public_key|Public Key Authentication]]
   * OpenSSH FAQ: How do I use [[http://openssh.com/faq.html#2.11|Port Forwarding]]?   * OpenSSH FAQ: How do I use [[http://openssh.com/faq.html#2.11|Port Forwarding]]?
 +
 +$Id: e-mail-advanced.html,v 1.17 2012/01/06 21:53:01 jgw Exp $