在James Mail Server中发送外部邮件时出现问题 [英] Problem in sending external mails in James Mail Server

查看:117
本文介绍了在James Mail Server中发送外部邮件时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是James Mail Server的新手。我配置为詹姆斯提到的步骤。
我可以发送邮件到内部网络,但我无法发送邮件到外部网络,如Gmail。



有人请帮我解决问题

预先致谢

Rohith

解决方案

对不起,但它可能会在未来帮助一些人。



如果你想配置JAMES发送邮件到外部网络,必须编辑$ {JAMES_DIR} / apps / james / SAR-INF中的conf.xml文件。



取消注释这些行以定义SMTP中继服务器网关:

 <处理器名称=transport> 
< mailet match =Allclass =RemoteDelivery>
...
<网关> smtp.gmail.com< / gateway>
< gatewayPort> 25< / gatewayPort>
< / mailet>
< /处理器>

使用Gmail中继服务器的示例:




  • POP服务器:pop.gmail.com(激活GMail的POP选项)

  • SMTP服务器:smtp.gmail.com

  • IMAP服务器:imap.gmail.com



编辑:因此您必须设置gatewayusername和gatewayPassword标记:

 < gatewayusername>登录< / gatewayusername> 
< gatewayPassword> pass< / gatewayPassword>

请参阅 http://mail.google.com/support/bin/answer.py?answer=10350


I am new to James Mail Server. I configured as the steps mentioned by James. I can send send mails to internal network, but I am not able to send mails to external network like gmail.

Somebody please help me to resolve the issue

Thanks in advance

Rohith

解决方案

Sorry for the late but it may help some people in the future.

If you want configure JAMES to send mails to external network you must edit the file conf.xml in the ${JAMES_DIR}/apps/james/SAR-INF.

Uncommented these line to define an SMTP relay server if necessary through the gateway:

<processor name="transport">
  <mailet match="All" class="RemoteDelivery">
    ...
    <gateway> smtp.gmail.com </gateway>
    <gatewayPort>25</gatewayPort>
  </mailet>
</processor>

Example to use the gmail relay server:

  • POP Server: pop.gmail.com (on activation of the POP option of GMail)
  • SMTP Server: smtp.gmail.com
  • IMAP Server: imap.gmail.com

EDIT: gmail requires an authentication so you must set the gatewayusername and the gatewayPassword markups:

<gatewayusername>login</gatewayusername>
<gatewayPassword>pass</gatewayPassword>

See http://mail.google.com/support/bin/answer.py?answer=10350

这篇关于在James Mail Server中发送外部邮件时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆