<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="th">
	<id>https://wiki.thnic.or.th/index.php?action=history&amp;feed=atom&amp;title=Upgrade_installation_3</id>
	<title>Upgrade installation 3 - ประวัติรุ่นแก้ไข</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.thnic.or.th/index.php?action=history&amp;feed=atom&amp;title=Upgrade_installation_3"/>
	<link rel="alternate" type="text/html" href="https://wiki.thnic.or.th/index.php?title=Upgrade_installation_3&amp;action=history"/>
	<updated>2026-10-23T05:23:16Z</updated>
	<subtitle>ประวัติรุ่นแก้ไขของหน้านี้ในวิกิ</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.thnic.or.th/index.php?title=Upgrade_installation_3&amp;diff=119&amp;oldid=prev</id>
		<title>Titipong: Created page with &quot;Info:  * You need to have at least a base installation * MySQL does not work for Virtual Domains, the domain and user returns as garbled text in authentication. * Virtual Alia...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.thnic.or.th/index.php?title=Upgrade_installation_3&amp;diff=119&amp;oldid=prev"/>
		<updated>2019-09-30T09:43:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Info:  * You need to have at least a base installation * MySQL does not work for Virtual Domains, the domain and user returns as garbled text in authentication. * Virtual Alia...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;หน้าใหม่&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Info:&lt;br /&gt;
&lt;br /&gt;
* You need to have at least a base installation&lt;br /&gt;
* MySQL does not work for Virtual Domains, the domain and user returns as garbled text in authentication.&lt;br /&gt;
* Virtual Alias Domain is used instead (it works).&lt;br /&gt;
* This should work for Ubuntu, Centos and Freebsd&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo postconf &amp;quot;virtual_alias_domains = yourdomain1.com yourdomain2.com yourdomain3.com youretc.com โดเมนคุณ.ไทย&amp;quot;&lt;br /&gt;
sudo postconf &amp;quot;virtual_alias_maps = hash:/etc/postfix/virtual&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight &amp;gt;&lt;br /&gt;
&lt;br /&gt;
edit or create  &amp;#039;&amp;#039;&amp;#039;/etc/postfix/virtual&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
yourdomain1.com                     DOMAIN&lt;br /&gt;
someuser@yourdomain1.com            user1&lt;br /&gt;
&lt;br /&gt;
yourdomain2.com                     DOMAIN&lt;br /&gt;
anotheruser@yourdomain2.com         user2&lt;br /&gt;
&lt;br /&gt;
yourdomain3.com                     DOMAIN&lt;br /&gt;
admin@yourdomain3.com               user3&lt;br /&gt;
&lt;br /&gt;
youretc.com                         DOMAIN&lt;br /&gt;
admin@youretc.com                   user1&lt;br /&gt;
&lt;br /&gt;
โดเมนคุณ.ไทย                        DOMAIN&lt;br /&gt;
แอดมิน@โดเมนคุณ.ไทย                  user1&lt;br /&gt;
&amp;lt;/syntaxhighlight &amp;gt;&lt;br /&gt;
&lt;br /&gt;
Update your changes&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo postmap /etc/postfix/virtual&lt;br /&gt;
&amp;lt;/syntaxhighlight &amp;gt;&lt;/div&gt;</summary>
		<author><name>Titipong</name></author>
	</entry>
</feed>