PHP Mail() Function Stopped Working

May 10, 2008

I have a dedicated that suddenly stop php mail() function to work.

Very strange because if I run php script with mail() function as root on command line all working fine.

But If I run php script with mail() function in my browser so not work. Seems that only ROOT can run mail() function.

View 3 Replies


ADVERTISEMENT

Mail Stopped Working

May 12, 2007

I run a small website on a dedicated unmanged server with cpanel.
About a month ago,i stopped getting the daily mails from addresses that are located on the server...

Also,when I attempted to send mail to one of these addresses I never received it...

Its a RHEL 3 server with cpanel,is there anything I can do to see where the problem is?

View 2 Replies View Related

PHP Mail() Function Not Working

Dec 10, 2007

I have just changed servers and uploaded a mail() script which was working on my previous config but does not work on the new server config. What is stopping the emails from being delivered, is there something new in WHM that I need to do?

Here are my WHM and cPanel details:

WHM 11.11.0 cPanel 11.15.0-R18264
REDHAT 4 i686 on standard - WHM X v3.1.0

View 13 Replies View Related

PHP Mail() Function Not Working With Lighttpd

May 10, 2007

I recently started using lighttpd + with PHP using Fast-CGI on a server hosting 14 blogs powered by WordPress, the server works great and this change reduced server load in about 50% which is nice for us, considering some of our blogs have a very high visitor traffic.

Our only problem so far is that since we switched to lighttpd the PHP's mail() function is just not working. I have compiled and re-compiled PHP and Lighttpd without any effects. I have a test site still working with Apache and PHP scripts can send mail without problems.

I've searched forums and Google for some kind of answer but none whatsoever maybe someone can give me pointers on how to solve this. Thanks a lot!!

Server details:

Lighttpd version: 1.4.15
PHP version: 4.4.4
Kernel: 2.6.9-42.0.3.ELsmp
Server has cPanel/WHM installed

PHP configure options:

--prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --with-curl --enable-exif --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap=/usr/local/imap-2004g --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --enable-magic-quotes --with-mysqli --with-mysql=/usr --with-openssl --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --with-xmlrpc --with-zlib --with-kerberos --with-imap-ssl --enable-fastcgi --enable-force-redirect

View 5 Replies View Related

[cPanel] Function Mail(); And Fowarders E-mail - Not Working

Jul 24, 2007

I have problem:
1. Function mail(); not working

2. osCommerce e-mail error:

Code:
Gid 32157 is not permitted to relay mail, or has directly called /usr/sbin/exim instead of /usr/sbin/sendmail.

3. Fowarders working only on internal accounts e-mail
fowarder@mydomain.com --> email@mydomain.com - working
fowarder@mydomain.com --> my-emiail123@mail.pl - not working

This is VPS cPanel (OpenVZ) on my dedicated server.

View 3 Replies View Related

SMTP Connection Has Stopped Working

Jul 9, 2008

I have been having great trouble sending mails from my local Thunderbird/Windows client to my Debian/Exim-server via TLS/SMTP.

I am no expert on TLS and SMTP, but I managed to create a server certificate and set up a secure (TLS) connection more than a year ago, and it has been working fine until it suddenly stopped working a couple of weeks ago.

Sending to external addresses from web pages still works fine, the problem seems to be in the SMTP connection. If I try to "telnet xxx.xxx.xxx.xxx 25" I get no reply whatsoever (it seems to connect but it just gives me a blank screen with a blinking cursor) and I am wondering if there is a firewall issue or if I am simply not running the right daemon to listening for incoming SMTP connections...

POP continues to work fine with teapop/stunnel enabled.

I am running Exim 4.63-17 on Debian Etch. I configured Exim to be of the type "internet site; mail is sent and received directly using SMTP"

==============================
Firewall shouldn't be a problem (?):

debian:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
==============================

I really don't know what to do. I have tried running:
tail -f /var/log/daemon.log

Which responds when I access my mail using POP but not when I try to send using SMTP.

View 4 Replies View Related

CPanel Stopped Working In Vista

Jan 4, 2008

Yesterday I could reach all of my cPanels on a Vista laptop; today they all time out. I can reach them with other computers. It doesn't matter if I go to mysite.com/cpanel or mysite.com:2082. I even added a port 2082 under Windows Firewall; no change. I'm not using any 3rd party firewalls. I did install a bittorrent client last night, then uninstalled it when it didn't work.

View 3 Replies View Related

Squirrelmail/Nutsmail Stopped Working

Sep 17, 2007

Getting the following error in webmail when I try to acces nutsmail(squirrelmail):

Warning: strpos() [function.strpos]: Empty delimiter. in /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/administrator/auth.php on line 34

View 5 Replies View Related

Email Stopped Working On Server

Apr 14, 2007

Recently I noticed that I was not getting any email on my server.
Server is running CentOS

When I send email to myself I am not getting anything and then it bounces back several days later saying the server is not responding.

When I check on Dnsstuff.com I get the following:
Trying to connect to all mailservers:

mail.webzila.com. - 216.32.77.68 [Could not connect: Could not receive data: Operation timed out.]

[Note that if your mailserver takes over 30 seconds to respond, our test will timeout, even though real mailservers will wait longer]

I tried turning mail services OFF and then ON again in Plesk but that didnt help.

View 3 Replies View Related

Remote Desktop Suddenly Stopped Working

Jan 28, 2008

I have a server that I access through remote desktop. Suddenly I am getting the message "Remote Desktop Disconnected: The computer can't connect to the remote computer." when using Remote Desktop.

It was working a few minutes ago.

A while ago I suspected that someone knew the password for the box. I did change it at the time, and thought the issue was solved. Is it possible to turn off remote desktop remotely (whilst using remote desktop).

Power cycling the server isn't making any difference.

Any other options other than putting in a support request at the host?

View 7 Replies View Related

Some Ajax Function Not Working

May 13, 2008

I got PHP working. But some of the Ajax functions it not working.

For example:
in wordpress admin, i can only use HTML mode to start a new post. I cant switch to VISUAL mode. And it was working before though.

What option do i need to compile PHP with to make it work?

Right now i have:

Quote:

'./configure' '--prefix=/opt/lsws/lsphp4' '--with-litespeed' '--with-mysql' '--with-gd' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib'

View 5 Replies View Related

OpenVPN Stopped Working - Was Running Fine For Months

Nov 16, 2007

i havent touched the config on my vps box for months and it has been running OpenVPN without any problems.

All of a sudden it is complaining it cant find /dev/net/tun

Nov 15 06:45:18 gizmo openvpn[23616]: Note: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
Nov 15 06:45:18 gizmo openvpn[23616]: Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Nov 15 06:45:18 gizmo openvpn[23616]: Cannot allocate TUN/TAP dev

ls -l /dev/net/tun
crwxrwxrwx 1 root root 10, 200 Jul 4 21:55 /dev/net/tun

any reason why it would stop working? i am on a VPS i have asked if the host machine parameters have been changed but in the meantime anything else i can check?

View 2 Replies View Related

Plesk 12.x / Linux :: Webalizer Stopped Working After Migration?

Sep 15, 2014

I have recently migrated my websites from Plesk 11.0.9 to a new server with Plesk 12.x and the webalizer is not working.

- Is there a chance to repair it and not loose the data? If yes, how do I do that?

- Or do I have to remove it and install Webalizer again? How do I do that?

OS Ubuntu

Uninstalling Webalizer with plesk updater is not possible.

After executing this:

Code:
# /usr/local/psa/admin/bin/statistics --calculate-all
I get:

Code:
WARNING during statistics_collector execution: : Executing logs preparation...
error: error creating output file /var/www/vhosts/system/domain.tld/logs/error_log.1: File exists
statistics[6845]: Unable to execute logrotate via: /opt/psa/logrotate/sbin/logrotate /opt/psa/etc/logrotate.conf -s /opt/psa/var/logrotate.status

View 8 Replies View Related

Plesk 12.x / Linux :: Scheduled Backup Stopped Working

Feb 12, 2015

on one of our Plesk-Servers (Plesk 12.0.18 Update 34 on Debian 7.6) the scheduled backup stopped working. Scheduled Backup is active in Backup-Manager, but it's not executed.

View 2 Replies View Related

Plesk 12.x / Linux :: Automatic Backup Stopped Working Parallels

Jun 9, 2015

Automatic Parallels Plesk. 12.0.18 has stopped working but no solution from plesk yet? I think every user has the same problem. Many people asked the same question but no solution/answer from plesk.

View 13 Replies View Related

Plesk 12.x / Windows :: Webadmin Stopped Working After Panel Upgrade

Jun 23, 2014

After Plesk panel upgrade to 12.x webadmin stopped working . It's showing following error

Code:
Server Error in '/' Application.
The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. review the following URL and make sure that it is spelled correctly.

View 2 Replies View Related

Plesk 12.x / Linux :: Firewall Enabled - FTP Stopped Working In Passive Mode

Aug 19, 2014

I am running Plesk 12 . Centos 6.5

I have Plesk Firewall Installed.

After the Plesk Firewall was enabled the FTP Stopped working in passive Mode.

I searched the net and found the following :

Code:

/etc/sysconfig/iptables-config and change the line with IPTABLES_MODULES to: IPTABLES_MODULES="ip_conntrack_ftp"

It started working.

I changed the default FTP port from proftpd.conf

Code:
port 2392
and /etc/services

Code:
ftp 2392/tcp
ftp 2392/udp fsp fspd

I allowed the new port in Plesk Firewall in Incoming connection and disabled port 21

Now I am not able to connect to the ftp, I get the following error. Have I missed anything ?

Code:

Response:257 "/" is the current directory
Command:TYPE I
Response:200 Type set to I
Command:PASV
Response:227 Entering Passive Mode (85,25,51,34,216,46).
Command:MLSD
Error:Connection timed out
Error:Failed to retrieve directory listing

View 4 Replies View Related

Plesk 12.x / Linux :: Backup Stopped Working After Installing AfterLogic WebMail Pro 7

Jun 13, 2014

I am getting this error after installing the AfterLogic WebMail Pro_7 app on a domain.

I removed the app but AfterLogic still appears in the list of available Webmail options. I am getting the error even after changing all my domains to use Roundcube.

backup_info_1406131330.xml:
Line 423 error: Element 'external-webmail': This element is not expected.

My backups since the day I installed that app are no longer valid.

View 2 Replies View Related

Plesk 11.x / Linux :: Stopped Working - Unable To Execute PHP Handlers Control

Apr 6, 2015

I'm not been able to start plesk although web and mail services are running.I'm getting the error unable to execute php_handlers_control.I've patched and updated plesk with command line and bootstrap repair and I'm getting this errors:

==> Checking for: mail_responder_restore... fail
/usr/lib64/plesk-9.0/mail_restore: line 820: 17063 Illegal instruction /usr/local/psa//admin/sbin/mailmng-service --restart-service

Errors occured in mail restore procedure
Some utilities have exited with errors:
/usr/lib64/plesk-9.0/mail_auth_dump
/usr/lib64/plesk-9.0/mail_responder_restore

I get Illegal Instruction When I run :

# /usr/local/psa/admin/sbin/mailmng-service --restart-service
Illegal instruction

Also I switched from postfix to qmail and back using the command line with no luck.

/usr/local/psa/admin/bin/mailmng --features
runs without problems.....
/usr/local/psa/admin/logs/panel.log:
[06-Apr-2015 12:47:25 America/New_York] PleskUtilException: '/usr/local/psa/admin/bin/php_handlers_control' '--list-json' failed with code 4.

[code]....

View 8 Replies View Related

Email Function Not Working (MS Window Server 2003)

May 23, 2008

We have a MS Window server 2003 with SP2, currently there is a website running, the webiste is desgined by using asp.net 2.0 c#.

We reinstalled the window server 2003 last week, and we found the email functions not working any more(users in the website can't receive email each other).

I have spent days and trying to figure out, but no luck, I have tried to reset the IIS settings, SMTP Virtual settings, and add/remove windows componets settings...

View 6 Replies View Related

Disable Mail Function

May 21, 2008

I am starting to webhosting company in it I have included a package will be free and add supported and also I want to disable some functions like mail() ..........I mean I want to disable SMTP services anyone have idea how can I do that.

View 14 Replies View Related

Mail Function Not Work

Apr 5, 2008

the php mail function not work on my server!

when I run this function not show any error too.

for example I run this code:

<?php
echo "ok";
$to = 'myemail@mydomain.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: test@domainname.com' . "
" .
'Reply-To:test@test@domainname.com' . "
" .
'X-Mailer: PHP/' . phpversion();

if(mail($to, $subject, $message, $headers)){

echo "sent";

}else{

echo "notsent";
}
?>

View 14 Replies View Related

PHP Mail() Function Does Not Work

Jul 25, 2007

I just re-installed PHP4, Apache, and MySQL and now the "mail" function in PHP will not work. Is there a way to correct this? Is there some configuration value in Apache or PHP I must change?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved