Chinaunix首页 | 论坛 | 博客
  • 博客访问: 146973
  • 博文数量: 52
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 490
  • 用 户 组: 普通用户
  • 注册时间: 2007-11-05 12:05
文章分类

全部博文(52)

文章存档

2013年(1)

2010年(3)

2009年(6)

2008年(25)

2007年(17)

我的朋友

分类:

2008-01-30 13:26:41

Single domain forwarding in sendmail

 

You should make sure you sendmail.cf has been compiled with mailertable support before you going on below steps. To ensure this you can check whether there is a line in the mc file. The line looks like

FEATURE(mailertable)dnl

 

For example you would like to forward sina.com to another host 192.168.3.252 with esmtp mailer

1, Edit /etc/mail/mailtertable, include line

“sina.com    emstp:[192.168.3.252]”, didn’t contain double quote.

2, Issue command “makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable”

3, Restart sendmail by /etc/rc2.d/S88sendmail restart

 

This article base on Solaris 5.9 system.

阅读(725) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~