Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » KMS + php = sendmail problem (I can't get phps mailfunction working with kerio mailserver 6.6.4)
  •  
stphn

Messages: 1
Karma: 0
Send a private message to this user
Hi Everyone,

I have a problem with my kerio mailserver installation on a CentOs server. I've installed php, apache and now i installed Kerio.
The whole mailserver works perfectly; the webmail, the POP and also the SMTP server.

The only problem is that the mailfunction of php doesn't work anymore. I tried the workaround from the knowledge database (creating a symlink) but it wouldn't help.

I gave the /opt/kerio/mailserver/sendmail file 755 permissions.

I use this php code to test my configuration:

<?php
error_reporting(E_ALL);
echo mail("myusername<_a.t_>domein.nl","test","Will it work?");
echo "test";
?>


[UPATE 1]
My webbrowser doesn't display errors. It displays a 1 before 'test' so the php mailfunction did his job but I don't receive the email. The problem is now at the mailserver. In the administration console I can't find an error. Can i download an older (or better) version of the sendmail file somewhere?
[/UPDATE 1]

Can somebody help me with this problem?

Regards,
Stphn

[Updated on: Tue, 12 May 2009 09:43]

  •  
LarryS

Messages: 7
Karma: 0
Send a private message to this user
Hi Stphn,

Have you tried setting the 'sendmail_path' configuration in your php.ini file to Kerio's /opt/kerio/mailserver/sendmail path?

You may have to gracefully restart Apache if your PHP install is run as a module to it (apachectl graceful). It should accept the configuration immediately if you have it compiled as use it as PHP-CGI.

This is assuming you have Kerio's and your base PHP/Apache install running on different ports.


Larry
Previous Topic: Max. # of IMAP connections fron one IP address
Next Topic: Best practice for clone an account to another account
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Mon Nov 20 12:56:32 CET 2017

Total time taken to generate the page: 0.00417 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.