免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2097 | 回复: 1

[Mail] james2.3.0只能接收,不能发送? [复制链接]

论坛徽章:
0
发表于 2008-01-10 19:02 |显示全部楼层
我的email服务器(装了james-2.3.3)本来是好好的,但是加了一个网卡后就不行了.

原来是这样:
eth0      Link encap:Ethernet  HWaddr 00:15:17:11:26:B0
          inet addr:192.168.0.251  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::215:17ff:fe11:26b0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1035281269 errors:0 dropped:109287 overruns:0 frame:0
          TX packets:1417550272 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:4159031616 (3.8 GiB)  TX bytes:138188631 (131.7 MiB)
          Base address:0x2020 Memory:b8820000-b8840000

eth0:0      Link encap:Ethernet  HWaddr 00:15:17:11:26:B1
          inet addr:**.**.**.**  Bcast:58.61.37.191  Mask:255.255.255.192
          inet6 addr: fe80::215:17ff:fe11:26b1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1383374607 errors:0 dropped:14573 overruns:0 frame:0
          TX packets:1262657735 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:575277282 (548.6 MiB)  TX bytes:13677910 (13.0 MiB)
          Base address:0x2000 Memory:b8800000-b8820000

加了后是这样:
eth0      Link encap:Ethernet  HWaddr 00:15:17:11:26:B0
          inet addr:192.168.0.251  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::215:17ff:fe11:26b0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1035281269 errors:0 dropped:109287 overruns:0 frame:0
          TX packets:1417550272 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:4159031616 (3.8 GiB)  TX bytes:138188631 (131.7 MiB)
          Base address:0x2020 Memory:b8820000-b8840000

eth1     Link encap:Ethernet  HWaddr 00:15:17:11:26:B1
          inet addr:**.**.**.**  Bcast:58.61.37.191  Mask:255.255.255.192
          inet6 addr: fe80::215:17ff:fe11:26b1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1383374607 errors:0 dropped:14573 overruns:0 frame:0
          TX packets:1262657735 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:575277282 (548.6 MiB)  TX bytes:13677910 (13.0 MiB)
          Base address:0x2000 Memory:b8800000-b8820000
james的配置config.xml我改了以下两个地方:
<dnsserver>
      <servers>
         <!--Enter ip address of your DNS server, one IP address per server -->
         <!-- element. -->
         <!--
          <server>127.0.0.1</server>--------------------------注释
         -->
         <server>202.96.134.133</server>--------------------添加
        <!--<server>202.96.128.68</server>-->
      </servers>
      <!-- Change autodiscover to false if you would like to turn off autodiscovery -->
      <!-- and set the DNS servers manually in the <servers> section -->
     <autodiscover>false</autodiscover>
      <authoritative>false</authoritative>

      <!-- Maximum number of entries to maintain in the DNS cache -->
      <maxcachesize>50000</maxcachesize>
   </dnsserver>

<bind>**.**.**.**</bind>-------------------------------------------------添加

<!--
         <authRequired>true</authRequired>---------------把注释去掉
         -->
  <authRequired>true</authRequired>

<verifyIdentity>true</verifyIdentity>-----------------------把注释去掉
         -->
         <verifyIdentity>true</verifyIdentity>
我就改了如上内容。

请各位高手指点指点。。。。。。。谢谢。。。。。。

论坛徽章:
0
发表于 2008-01-15 14:02 |显示全部楼层
<authorizedAddresses>127.0.0.0/8</authorizedAddresses> 注释掉应该可以了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP