tgeneric - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit bbe2f1879ca55900abec2f67c63640270d908a87
 (DIR) parent 746d2e1ab0f68f4f932b7c98b43ece3aacc37e88
 (HTM) Author: rsc <devnull@localhost>
       Date:   Tue, 14 Feb 2006 19:38:51 +0000
       
       generic
       
       Diffstat:
         M mail/lib/rewrite                    |       5 ++---
       
       1 file changed, 2 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/mail/lib/rewrite b/mail/lib/rewrite
       t@@ -14,7 +14,7 @@
        [^!@.]+                        translate        "$PLAN9/bin/upas/aliasmail '&'"
        
        # append the local domain to addresses without a domain
       -local!(.*)                alias                \1@swtch.com
       +local!(.*)                alias                \1@YOURDOMAIN.DOM
        
        # convert source domain address to a chain a@b@c@d...
        @([^@!,]*):([^!@]*)@([^!]*)                alias        \2@\3@\1
       t@@ -25,5 +25,4 @@ local!(.*)                alias                \1@swtch.com
        ([^@]+)@([^@]+)                alias                \2!\1
        
        # send all mail to the gateway or mail server, $smtp,  for delivery
       -([^!]*)!(.*)                 |                 "$PLAN9/mail/lib/qmail '\s' 'tcp!holo.morphisms.net!5356'" "'\2@\1'"
       -
       +([^!]*)!(.*)                 |                 "$PLAN9/mail/lib/qmail '\s' 'YOURGATEWAY.DOM'" "'\2@\1'"