diff --git a/convert.sh b/convert.sh index 1794707e..394e0168 100644 --- a/convert.sh +++ b/convert.sh @@ -44,11 +44,6 @@ for chapter_dir in ${all_chapter_dirs}; do # Get articles all_chapter_articles="$(find ${chapter_dir} -depth 1 -type f -iname '[0-9a-z]*.md')" - echo "* ${chapter_dir}/" - for article in ${all_chapter_articles}; do - echo " - ${article}" - done - # Output directory. # Remove prefix '[number]-' in chapter directory name. #chapter_dir_in_article="$(strip_name_prefix ${chapter_dir})" @@ -99,7 +94,7 @@ for chapter_dir in ${all_chapter_dirs}; do # 'src/default/' is path to view source file on bitbucket.org echo "* [${_article_title}](https://bitbucket.org/zhb/docs.iredmail.org/src/default/${article_file_without_prefix_path})" >> ${README_MD} - #${CMD_CONVERT} ${article_file} ${_output_chapter_dir} \ + echo "* Converting: ${article_file}" ${CMD_CONVERT} ${article_file} ${OUTPUT_DIR} \ output_filename="${article_html_file}" \ title="${_article_title}" \ diff --git a/html/setup_dns.html b/html/setup_dns.html index 3fbf05bf..489260ca 100644 --- a/html/setup_dns.html +++ b/html/setup_dns.html @@ -124,7 +124,7 @@ that e-mail. MX record is the location of your mail server that you have provided to the outside world via the DNS.
Most mail servers generally have more than one MX record, meaning you could have more than one mail server setup to receive e-mails. Each MX record has a -priority number assigned to it in the DNS. The MX record with lowest number +priority number assigned to it in the DNS. The MX record with lowest number has the highest priority and that is considered your primary MX record or your main mail server. The next lowest mx number has the next highest primary and so on. You generally have more than one mail server, one being the primary @@ -133,6 +133,14 @@ and the others as backups, only one MX for mail server is OK too.
If your ISP or domain name registrar is providing the DNS service, you can request them to set one up for you. If you manage your own DNS servers then you need to create the MX records in your DNS zone yourself.
+Sample MX record:
+NAME PRIORITY TYPE DATA
+
+mydomain.com. 10 mx mail.mydomain.com
+
+
+The end result of this record is, emails sent to [user]@mydomain.com
will
+be delivered to server mail.mydomain.com
.
SPF is a spam and phishing scam fighting method which uses DNS SPF-records to @@ -196,7 +204,7 @@ tag. Note that the same identity can have multiple identifiers.
# amavisd showkeys
-dkim._domainkey.iredmail.org. 3600 TXT (
+dkim._domainkey.mydomain.com. 3600 TXT (
"v=DKIM1; p="
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDYArsr2BKbdhv9efugByf7LhaK"
"txFUt0ec5+1dWmcDv0WH0qZLFK711sibNN5LutvnaiuH+w3Kr8Ylbw8gq2j0UBok"
@@ -230,7 +238,7 @@ zone file directly.
# amavisd testkeys
-TESTING: dkim._domainkey.iredmail.org => pass
+TESTING: dkim._domainkey.mydomain.com => pass
If it shows pass
, it works.
@@ -238,8 +246,7 @@ TESTING: dkim._domainkey.iredmail.org => pass
some hours to be available.
References
-- http://www.emailtalk.org/MX.aspx
- http://en.wikipedia.org/wiki/MX_record
-- http://www.openspf.org/RFC_4408
-- http://www.simpledns.com/
+- http://www.openspf.org/
+- http://www.dkim.org/
If you found something wrong in this document, please do contact us to fix it.