0739-695729916
当前位置:主页»新闻动态»九游会J9常见问题解答»

基于LINUX系统的邮件服务器搭建和详细部署(POSTFIX)

文章出处:九游会J9 人气:发表时间:2023-10-09 10:08
本文摘要:linuxmaster调理所有的法式:master--pickup/cleanup--rewrite...../etc/postfix/master.cf# ls /etc/postfix/*.cf -l-rw-r--r-- 1 root root 26737 Aug 11 2008 /etc/postfix/main.cf --主设置文件-rw-r--r-- 1 root root 4137 Aug 11 2008 /etc/postfix/master.cf --法式调

九游会J9

linuxmaster调理所有的法式:master-->pickup/cleanup-->rewrite...../etc/postfix/master.cf# ls /etc/postfix/*.cf -l-rw-r--r-- 1 root root 26737 Aug 11 2008 /etc/postfix/main.cf --主设置文件-rw-r--r-- 1 root root 4137 Aug 11 2008 /etc/postfix/master.cf --法式调理的设置文件master# ls /usr/libexec/postfix/ --master调理的法式如下:anvil error master pipe scache spawn virtualbounce flush nqmgr proxymap showq tlsmgrcleanup lmtp oqmgr qmgr smtp trivial-rewritediscard local pickup qmqpd smtpd verify如何调理靠/etc/postfix/master.cf文件来:安装postfix1.如果有sendmail,需要先停掉旧的MTA# service sendmail stop# chkconfig sendmail off2.安装postfix# yum -y install postfix# rpm -ql postfix/etc/pam.d/smtp.postfix--pam验证设置,默认情况下postfix使用系统验证/etc/postfix --存放设置文件/etc/postfix/access --smtp会见控制/etc/postfix/main

九游会J9

.cf --主设置文件,postfix基本所有的设置都在此/etc/postfix/master.cf--焦点设置文件,实现邮件法式的调理/sbin/ --postfix治理员下令(root)/usr/libexec/postfix --所有用户都能挪用的下令/var/spool/postfix --邮件投递切换目录/etc/rc.d/init.d/postfix--启动剧本# cat /etc/postfix/main.cf|grep -v ^#|grep -v ^$queue_directory = /var/spool/postfix--邮件行列command_directory = /usr/sbin --postfix治理员下令daemon_directory = /usr/libexec/postfix--普通用户能用的下令mail_owner = postfix --启动postfix用户身份myhostname = mail.baidu.com --主机名mydomain = baidu.com --域名myorigin = $mydomain --自动补全域(用在单域的情况/多域的情况保持为空)inet_interfaces = all --监听地址,改监听需要service postfix restart其它只要reloadmydestination = $mydomain, localhost--信任域mynetworks = 127.0.0.0/8 --信任网络alias_maps = hash:/etc/aliases --别名/群发文件#home_mailbox = Mailbox#home_mailbox = Maildir/unknown_loc

九游会J9

al_recipient_reject_code = 550alias_database = hash:/etc/aliases --别名/群发的数据库文件 debug_peer_level = 2debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5sendmail_path = /usr/sbin/sendmail.postfixnewaliases_path = /usr/bin/newaliases.postfixmailq_path = /usr/bin/mailq.postfixsetgid_group = postdrophtml_directory = nomanpage_directory = /usr/share/mansample_directory = /usr/share/doc/postfix-2.3.3/samplesreadme_directory = /usr/share/doc/postfix-2.3.3/README_FILES------------------------/etc/init.d/postfix restart | reload | stop | start --红帽的启动剧本/usr/sbin/postfix reload | stop | start | check --postfix官方的对服务的治理方式postfix reload--不重启服务器重新加载设置文件,除:inet_interfaces = all,
本文关键词:基于,LINUX,系统,的,邮件,服务器,搭,九游会J9,建和,详细

本文来源:九游会J9-www.waterse2695.com

同类文章排行

最新资讯文章

Copyright © 2006-2023 www.waterse2695.com. 九游会J9科技 版权所有  http://www.waterse2695.com  XML地图  九游会J9(中国)官方网站