<?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_2</id>
	<title>Upgrade installation 2 - ประวัติรุ่นแก้ไข</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_2"/>
	<link rel="alternate" type="text/html" href="https://wiki.thnic.or.th/index.php?title=Upgrade_installation_2&amp;action=history"/>
	<updated>2026-10-23T05:23:10Z</updated>
	<subtitle>ประวัติรุ่นแก้ไขของหน้านี้ในวิกิ</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.thnic.or.th/index.php?title=Upgrade_installation_2&amp;diff=118&amp;oldid=prev</id>
		<title>Titipong: Created page with &quot;Make sure you have a working Mail server using the base installation and skipped Upgrade installation 1.   Install php5-cli, the script is using  PHP &lt;syntaxhighlight lang=&quot;ba...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.thnic.or.th/index.php?title=Upgrade_installation_2&amp;diff=118&amp;oldid=prev"/>
		<updated>2019-09-30T09:43:38Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Make sure you have a working Mail server using the base installation and skipped Upgrade installation 1.   Install php5-cli, the script is using  PHP &amp;lt;syntaxhighlight lang=&amp;quot;ba...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;หน้าใหม่&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Make sure you have a working Mail server using the base installation and skipped Upgrade installation 1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install php5-cli, the script is using  PHP&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get install php5-cli&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
get the script and place it in /etc/postfix&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
   https://github.com/padillareyj/eaifilter/blob/master/eaifilter.php&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This filter will check outgoing mail server, if the server does not support SMTPUTF8, it rewrites the address of the sender to a non-ascii format base on alias mapping.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
smtp      inet  n       -       -       -       -       smtpd -o content_filter=eaifilter -o receive_override_options=no_header_body_checks&lt;br /&gt;
eaifilter unix - n n - - pipe flags=RXhu user=nobody argv=/etc/postfix/eaifilter.php -f ${sender} -d ${recipient}&lt;br /&gt;
127.0.0.1:10025   inet  n       -       n       -       -        smtpd&lt;br /&gt;
        -o content_filter=&lt;br /&gt;
        -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks,no_milters&lt;br /&gt;
        -o smtpd_helo_required=no&lt;br /&gt;
        -o smtpd_helo_restrictions=&lt;br /&gt;
        -o smtpd_data_restrictions=&lt;br /&gt;
        -o smtpd_client_restrictions=&lt;br /&gt;
        -o smtpd_sender_restrictions=&lt;br /&gt;
        -o smtpd_recipient_restrictions=permit_mynetworks,reject&lt;br /&gt;
        -o mynetworks_style=host&lt;br /&gt;
        -o in_flow_delay=0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Update main.cf&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
content_filter =eaifilter:[127.0.0.1]:10025&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Titipong</name></author>
	</entry>
</feed>