简体   繁体   English

vtiger无法设置传出服务器

[英]vtiger can't set the outgoing server

I want to set the outgoing server. 我要设置传出服务器。

I went to setting then cRM settings then outgoing server. 我去设置然后cRM设置然后传出服务器。 and I entered my information as bellow 然后我输入了以下信息

在此处输入图片说明

I keep getting the mentioned error message. 我不断收到上述错误消息。 I tried a lot and checked all the posted discussion on the vtiger forum but nothing help and I can see that all the people have a problem with this configuration 我尝试了很多,检查了vtiger论坛上所有已发布的讨论,但没有任何帮助,我可以看到所有人都对此配置有问题

Noice: I installed vtiger on my localhost and I didn't change anything in any php file Noice:我在本地主机上安装了vtiger,但未更改任何php文件中的任何内容

I know its been a while since this question was asked but I've been through the mill on this one - generally vTiger 6 e-mail configuration has less than helpful error messages! 自问这个问题以来,我知道已经有一段时间了,但是我在这方面已经经历了很长的一段时间-通常vTiger 6电子邮件配置的帮助消息很少! I figured it would be good to put some of what i've learned on here! 我认为最好在这里介绍一些我学到的东西!

Several things to check for (under linux as that's what i'm using): 要检查的几件事(在Linux下,这就是我正在使用的东西):

  • Make sure your firewall is not blocking outbound data 确保您的防火墙没有阻止出站数据
  • ensure that the server at the remote side works with SMTP 确保远程服务器与SMTP一起使用

This is specific to to those Linuxes that use SELinux: 这特定于使用SELinux的那些Linux:

as root (or sudo'd as root) 作为root(或sudo'd作为root)

setsebool -P httpd_can_network_connect=1

This allows the web server to work with e-mail. 这使Web服务器可以处理电子邮件。 Without that setting I was seeing things where I tested stuff in php from the command line working but the exact same test from the web server, it failed. 没有该设置,我看到的东西是我在命令行中通过php测试了东西,但是从Web服务器进行了完全相同的测试,但是失败了。

If you're comfortable with php, use the debug techniques as outlined in this document : 如果您对php感到满意,请使用本文档中概述的调试技术:

Turn on log4php.debug library usage, in file config.performance.php 在文件config.performance.php中打开log4php.debug库的用法

'LOG4PHP_DEBUG' => true, 'LOG4PHP_DEBUG'=>是,

Set the log level, in file log4php.properties 在文件log4php.properties中设置日志级别

log4php.rootLogger = DEBUG, A1 log4php.rootLogger = DEBUG,A1

Note: Make sure logs/ folder has write access to apache server process owner. 注意:确保日志/文件夹对apache服务器进程所有者具有写权限。

That should give enough on what its doing (or not as the case usually is!). 这应该足以说明其工作(或通常情况下不行!)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM