First, install the DNS mail exchange records,
Second, to modify a configuration file in Postfix
# VI/ETC/POSTFIX/MAIN.CF
Third, modify the configuration file in Dovecot
#vi/etc/dovecot/dovecot.conf
#vi/etc/dovecot/conf.d/10-mail.conf
Four, try to install Foxmail on the Windows7 client to receive messages sent on Linux
(specifically modify which files are shown in the figure)
Install DNS mail exchange records
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/25/wKiom1WSp3DieK-7AADfqbQ5e0s163.jpg "style=" float: none; "title=" Image 1.png "alt=" Wkiom1wsp3diek-7aadfqbq5e0s163.jpg "/>
#vi/etc/named.conf
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/22/wKioL1WSsgjwPg2rAAJjvcHTAjI201.jpg "style=" float: none; "title=" Image 20.png "alt=" Wkiol1wssgjwpg2raajjvchtaji201.jpg "/>
#vi/etc/named.rfc1912.zones
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6F/25/wKiom1WSsEXQEIjdAALD3gyMXE0761.jpg "title=" Picture 21.png "style=" Float:none; "alt=" wkiom1wssexqeijdaald3gymxe0761.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/22/wKioL1WSqTPy2yL5AAIDi82bnmw299.jpg "style=" float: none; "title=" Image 2.png "alt=" Wkiol1wsqtpy2yl5aaidi82bnmw299.jpg "/>
MX front indicates hostname, serial serial number
MX indicates mail exchange record, refresh refreshed time
5 indicates serial number, retry retry delay
A record forward parsing entry, expire expiration time
Minimum invalid parsing record's life cycle
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/25/wKiom1WSp3HD2rkOAAEc1j2yTmo909.jpg "style=" float: none; "title=" Image 3.png "alt=" Wkiom1wsp3hd2rkoaaec1j2ytmo909.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/22/wKioL1WSqTTBKxeQAADywPrPjow861.jpg "style=" float: none; "title=" Image 4.png "alt=" Wkiol1wsqttbkxeqaadywprpjow861.jpg "/>
-------------postfix------------
#vi/ETC/POSTFIX/MAIN.CF
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/25/wKiom1WSp6zS8VzNAADa0bdEc1Y077.jpg "style=" float: none; "title=" Image 5.png "alt=" Wkiom1wsp6zs8vznaada0bdec1y077.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/22/wKioL1WSqW-zIdC8AAFnp3wGCpc614.jpg "style=" float: none; "title=" Image 6.png "alt=" Wkiol1wsqw-zidc8aafnp3wgcpc614.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/25/wKiom1WSp6zhjPLwAACZ75bd-E8851.jpg "style=" float: none; "title=" Image 7.png "alt=" Wkiom1wsp6zhjplwaacz75bd-e8851.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/22/wKioL1WSqW_yjNj2AAEI70IwVRA126.jpg "style=" float: none; "title=" Image 8.png "alt=" Wkiol1wsqw_yjnj2aaei70iwvra126.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/25/wKiom1WSp6yAtaFNAACKyMMIUa8736.jpg "style=" float: none; "title=" Image 9.png "alt=" Wkiom1wsp6yatafnaackymmiua8736.jpg "/>
-------------Dovecot----------------
#vi/etc/dovecot/dovecot.conf
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6F/25/wKiom1WSp8DT1JJiAACmxB4gjUM777.jpg "title=" Picture 10.png "style=" Float:none; "alt=" wkiom1wsp8dt1jjiaacmxb4gjum777.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/22/wKioL1WSqYPj1kVwAADt6dt3Trk547.jpg "style=" float: none; "title=" Image 11.png "alt=" Wkiol1wsqypj1kvwaadt6dt3trk547.jpg "/>
#vi/etc/dovecot/conf.d/10-mail.conf and then start the service,
The Zhangsan and Lisi users are created.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/22/wKioL1WSqafiWmwMAABrJJkGHRo607.jpg "style=" float: none; "title=" Image 12.png "alt=" Wkiol1wsqafiwmwmaabrjjkghro607.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/25/wKiom1WSp-SwDExBAADSvUJ15kw836.jpg "style=" float: none; "title=" Image 13.png "alt=" Wkiom1wsp-swdexbaadsvuj15kw836.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/22/wKioL1WSqaewxRzkAAHcasXJi_M485.jpg "style=" float: none; "title=" Image 14.png "alt=" Wkiol1wsqaewxrzkaahcasxji_m485.jpg "/>
Verify
Once configured, restart the service again, and then telnet remotely.
Log zhangsan user to send mail to Lisi.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/22/wKioL1WSqg6AOaCgAAFdLCbBUU8961.jpg "style=" float: none; "title=" Image 15.png "alt=" Wkiol1wsqg6aoacgaafdlcbbuu8961.jpg "/>
Log on to Lisi users to view messages received or log on Foxmail Lisi users to view messages
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/25/wKiom1WSqEvDer8vAAD6WPamwd8512.jpg "style=" float: none; "title=" Image 16.png "alt=" Wkiom1wsqevder8vaad6wpamwd8512.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/22/wKioL1WSqg6yvGMsAAG008r_a10845.jpg "style=" float: none; "title=" Image 17.png "alt=" Wkiol1wsqg6yvgmsaag008r_a10845.jpg "/>
Build Foxmail Mail Records on Windows 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M02/6F/25/ Wkiom1wsqeujlzebaaetyfvkixu919.jpg "title=" image 18.png "style=" Float:none; "alt=" wkiom1wsqeujlzebaaetyfvkixu919.jpg " />
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6F/22/wKioL1WSqg6wmGTfAAGy-zqSLIg624.jpg "title=" Picture 19.png "style=" Float:none; "alt=" wkiol1wsqg6wmgtfaagy-zqslig624.jpg "/>
This article from "Bluebird Rogue Regiment @ dan dan" blog, please be sure to keep this source http://9863378.blog.51cto.com/9853378/1669565
Red Hat Linux6:postfix mail system