soalris senmail oracle erp

The steps below are relevant to Sun SOLARIS Servers running Solaris 2.6 or 2.8,
consult your System Administration manual for details on how to perform this
for other hardware vendors / operating systems.

1. If the sendmail daemon is currently running on your system, terminate it
with the following command:
/etc/init.d/sendmail stop
2. Copy /etc/mail/main.cf to /etc/mail/sendmail.cf
3. Edit /etc/hosts and place an entry here for the SMTP gateway machine, e.g:
1.2.3.4 mailhost
4. To test connectivity to the SMTP machine called mailhost, enter the
following command:
telnet mailhost 25
This will initiate a telnet session with the mailhost machine on port 25,
which is the port that the SMTP daemon listens for incoming messages.
5. Edit the /etc/mail/sendmail.cf file and edit the following entries:
Change Dmsmartuucp to Dmether
This changes the mailer program for remote mail delivery from uucp to the
smtp mailer.
Change DR ddn-gateway to DR mailhost
Change CR ddn-gateway to CR mailhost
This changes the behavior of the sendmail daemon to route all remote mail
generated from this server to be directed at the SMTP host you defined
in /etc/hosts
6. Save the sendmail.cf configuration file
7. Start the sendmail daemon by issuing the following command:
/etc/init.d/sendmail start
8. Run $POM_TOP/bin/MasterScript.sh stop
9. Add /usr/lib to the PATH in the .profile file and activate it
10. Run $POM_TOP/bin/MasterScript.sh start apps/apps

Test sendmail
-------------

Enter the following commands to test the configuration:
/usr/lib/sendmail -v email where email is a valid email address
[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7180624/viewspace-913993/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7180624/viewspace-913993/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值