配置信息存放:
pop3: ntsysv或 /etc/xinetd.d/ 对应的rpm包:imap*.rpm 【相关文章:在linux系统下安装nvidia-nf】
smtp: /etc/mail/* 【扩展阅读:Cet6考完了....Everythin】
1、查看smtp端口开启情况: 【扩展信息:在linux下安装usb设备】
imap:ntsysv或 /etc/xinetd.d/
netstat -tln
2、配置/etc/mail/sendmail.mc,以生成sendmail.cf配置文件:
md4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
sendmail.mc配置需要说明的地方:
divert(-1)dnl
dnl # dnl # this is the sendmail macro config file for m4. if you make changes to dnl # /etc/mail/sendmail.mc, you will need to regenerate the dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package is dnl # installed and then performing a dnl # dnl # make -c /etc/mail dnl # include(`/usr/share/sendmail-cf/m4/cf.m4)dnl versionid(`setup for red hat linux)dnl ostype(`linux)dnl dnl # dnl # uncomment and edit the following line if your outgoing mail needs to dnl # be sent out through an external mail server: dnl # define(`smart_host,`zbexch-frt.test.com)---邮件服务器将发往本地邮件本地分配,发往本地以外的邮件发到指定地址(zbexch-frt.test.com),需/etc/mail/local-host-name中配置本地域名
dnl define(`mail_hub,`smtp.your.provider)---邮件服务器将收到的所有邮件都转发到指定地址(zbexch-frt.test.com),需/etc/mail/local-host-name中配置本地域名
dnl # define(`confdef_user_id,``8:12)dnl dnl define(`confauto_rebuild)dnl define(`confto_connect, `1m)dnl define(`conftry_null_mx_list,true)dnl define(`confdont_probe_interfaces,true)dnl define(`procmail_mailer_path,`/usr/bin/procmail)dnl define(`alias_file, `/etc/aliases)dnl ... 下一页