Michael Savage
2016-01-23 22:21:38 UTC
The page at http://www.openbsd.org/opensmtpd/faq/example1.html doesn't
display correctly because browsers try to interpret <domains>/<virtuals>
as HTML tags. This patch replaces < and > with > and <.
Index: example1.html
===================================================================
RCS file: /cvs/www/opensmtpd/faq/example1.html,v
retrieving revision 1.1
diff -u -p -r1.1 example1.html
--- example1.html 22 Jan 2016 19:58:33 -0000 1.1
+++ example1.html 23 Jan 2016 22:17:05 -0000
@@ -146,9 +146,9 @@ listen on all port 587 filter sub tls-re
#limit mta for domain gmail.com inet4
# allow local messages
-accept from local for local alias <aliases> deliver to lmtp
"/var/dovecot/lmtp" rcpt-to
+accept from local for local alias <aliases> deliver to lmtp
"/var/dovecot/lmtp" rcpt-to
# allow virtual domains
-accept from any for domain <domains> virtual <virtuals> deliver to lmtp
"/var/dovecot/lmtp" rcpt-to
+accept from any for domain <domains> virtual <virtuals>
deliver to lmtp "/var/dovecot/lmtp" rcpt-to
# allow outgoing mails
accept from local for any relay
<pre></blockquote>
display correctly because browsers try to interpret <domains>/<virtuals>
as HTML tags. This patch replaces < and > with > and <.
Index: example1.html
===================================================================
RCS file: /cvs/www/opensmtpd/faq/example1.html,v
retrieving revision 1.1
diff -u -p -r1.1 example1.html
--- example1.html 22 Jan 2016 19:58:33 -0000 1.1
+++ example1.html 23 Jan 2016 22:17:05 -0000
@@ -146,9 +146,9 @@ listen on all port 587 filter sub tls-re
#limit mta for domain gmail.com inet4
# allow local messages
-accept from local for local alias <aliases> deliver to lmtp
"/var/dovecot/lmtp" rcpt-to
+accept from local for local alias <aliases> deliver to lmtp
"/var/dovecot/lmtp" rcpt-to
# allow virtual domains
-accept from any for domain <domains> virtual <virtuals> deliver to lmtp
"/var/dovecot/lmtp" rcpt-to
+accept from any for domain <domains> virtual <virtuals>
deliver to lmtp "/var/dovecot/lmtp" rcpt-to
# allow outgoing mails
accept from local for any relay
<pre></blockquote>