ref: 0e8f525451ba3e22447c1f1e4700d63c9848534f
parent: b9b1559f2ac6386a4534400d7ae8babf97d803bd
author: glenda <[email protected]>
date: Thu May 26 21:04:13 EDT 2022
fqa8.ms: 8.4.1.1.2: more updates for gmail process (thanks, qwx)
--- a/fqa8.ms
+++ b/fqa8.ms
@@ -989,35 +989,19 @@
To actually use the gateway you have to setup your
.CW /mail/lib/rewrite
-by including the contents of
-.CW /mail/lib/rewrite.gatway :
+by including and adjusting the contents of
+.CW /mail/lib/rewrite.gateway .
+Change
+.CW YOURDOMAIN.DOM
+to
+.CW gmail.com :
.P1
-# by default the return address points to this system; set $site
-# to the name of the mail server that receives your mail in
-# /rc/bin/termrc and /rc/bin/cpurc.
-#
-# in the last rule, $smtp is the name of the mail server. set it
-# in the DNS database in /lib/ndb (see ndb(6)).
-
-# translate local aliases from /mail/lib/namefiles
-\"(.+)\" translate "/bin/upas/aliasmail '\1'"
-[^!@.]+ translate "/bin/upas/aliasmail '&'"
-
+...
# append the local domain to addresses without a domain
local!"(.+)" alias \[email protected]
local!(.*) alias \[email protected]
-
-# convert source domain address to a chain a@b@c@d...
-@([^@!,]*):([^!@]*)@([^!]*) alias \e2@\e3@\e1
-@([^@!]*),@([^!@,]*):([^!@]*)@([^!]*) alias @\e1:\e3@\e4@\e2
-
-# convert a chain a@b@c@d... to ...d!c!b!a
-([^@]+)@([^@]+)@(.+) alias \e2!\e1@\e3
-([^@]+)@([^@]+) alias \e2!\e1
-
-# send all mail to the gateway or mail server, $smtp, for delivery
-([^!]*)!(.*) | "/mail/lib/qmail '\es' 'net!$smtp'" "'\e2@\e1'"
+...
.P2
And adjust your