Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » [Problem] PHP Mail Script produces no Mailtraffic with KMS 6.03
  •  
t.klein

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

first - sorry for my horrible english.

Since last week we use KMS 6.03, Windows Version, 140 Users. We have also the Problems discussed in this Forum, but especially a new one. Before we migrate to KMS we had a Standard Linux Cyrus Mailserver with IMAP and SMTP. On a different Windows Server we installed Apache 2.x, MySQL 4.x and PHP 4.x for Intranet use only. We programmed several PHP Scripts which generated a E-Mail and send it via SMTP Port 25.

Since KMS it does not function any more. The Port 25 is reachable via telnet from the php server. So i don´t see any Problem.

When i activate the 'old' Linux Mailserver it worked fine.

Please, has anyone a solution!?

Thanx in advance ...
Thomas Klein

  •  
mkanat

Messages: 72

Karma: 0
Send a private message to this user
Instead of using /usr/lib/sendmail, use /opt/kerio/mailserver/sendmail

Also, you'll have to set your number of allowed errors in an SMTP session (under Security Options in the SMTP server) to 25 or higher.

-Max

Maxwell Kanat-Alexander
2nd Level Support Engineer, USA
Kerio Technologies
  •  
Iassen Hristov

Messages: 54
Karma: 0
Send a private message to this user
You might want to enable debug for the SMTP server and monitor the session
in the KMS admin app.

--On Thursday, October 14, 2004 10:24 AM +0200 "t.klein"
<t.klein<at>holzrichter-stahl.de> wrote:

>
> Hi,
>
> first - sorry for my horrible english.
>
> Since last week we use KMS 6.03, Windows Version, 140 Users. We have also
> the Problems discussed in this Forum, but especially a new one. Before we
> migrate to KMS we had a Standard Linux Cyrus Mailserver with IMAP and
> SMTP. On a different Windows Server we installed Apache 2.x, MySQL 4.x
> and PHP 4.x for Intranet use only. We programmed several PHP Scripts
> which generated a E-Mail and send it via SMTP Port 25.
>
> Since KMS it does not function any more. The Port 25 is reachable via
> telnet from the php server. So i don&#180;t see any Problem.
>
> When i activate the 'old' Linux Mailserver it worked fine.
>
> Please, has anyone a solution!?
>
> Thanx in advance ...
> Thomas Klein
>
>
>
>





  •  
t.klein

Messages: 25
Karma: 0
Send a private message to this user
Both of you a big thanx for your quick help ...

... but it doesn´t function.

first our apache, php, mysql server is no linux server but a windows one.

i enabled the smtp server and client logging in the debug section and send a simple test.php. by the way - the smtp section in the php.ini includes only the ip-adress of the kms ...

Here is the source of the test.php.
<snip ...>

<?php
mail("nobody<at>example.com", "Subject", "Row 1\nRow 2\nRow 3");
?>

<... snap>


... and there is no entry in the debug window. only when i connect via telnet on port 25 there is activity.

i mentiont that the php scripts are buggy, but when i enter the ip-adress of our old linux cyrus mail server - the mail will be delivered.

any suggestions!?

again - thanx in advance
thomas




[Updated on: Fri, 15 October 2004 09:28]

  •  
mkanat

Messages: 72

Karma: 0
Send a private message to this user
Hey. I think this is just a problem with how the "mail" command in PHP works on Windows. There might be documentation about it somewhere in PHP.

Usually that command uses the sendmail interface, on a Unix, but there is no sendmail interface on Windows. You'd have to enter an IP address of 127.0.0.1, probably, for it to work.

-Max

Maxwell Kanat-Alexander
2nd Level Support Engineer, USA
Kerio Technologies
  •  
Sjaman

Messages: 7
Karma: 0
Send a private message to this user
Previous Topic: KOC and Russian localization of MS Outlook - not compatible?
Next Topic: win2003 AD user can not be founnd by each other
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 20:20:13 CET 2017

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