PHP Qmail: Mail() Fucntion Not Working
Mar 1, 2006I have a RC4 sever running with apache2, PHP 5.1.2 and qmail installed.
when I try to run the mail() function from a php page like this: ....
I have a RC4 sever running with apache2, PHP 5.1.2 and qmail installed.
when I try to run the mail() function from a php page like this: ....
i have a fedora core 4 server.. and i want to install a good Qmail email server to host some emails of diferent domains..
On searching i found that Qmail should be install with those associated programs/system for a better server :
Qmail itself
EZmlm and EZmlm-idx
Autoresponder
Vpopmail
VQadmin
maildrop
QmailAdmin
Courier-imap/imaps with Courierpassd
Squirrelmail web mail program ......
My server is not sending mail for about a week, and i dont know what is the problem and how to fix this.
also, in PLesk, it still states that Mail is on and active.
Could anybody point me the direction how to fix that?
i am having a server runnung RHEL 4
I've just moved over to a VPS package with startlogic and am running into a problem with having mail sent from my new server. Basically, mail is backing up in the mail queue and is failing to be sent, but then after a long time (a few days) it, or at least some of it, will suddenly be sent successfully for no apparent reason.
In the meantime the mail is backing up in the mail queue. Looking at the qmail logs I'm seeing lots of "Sorry,_I_wasn't_able_to_establish_an_SMTP_connection" type of errors, and occasional "Sorry,_I_couldn't_find_any_host_named_localhost.localdomain" errors (though the SMTP ones are far more common place).
I've gone through the plesk/virtuozzo mail server options and they seem fine, and it does send some mail through, just very sporadically and up to about 5 days late.
Just got a strange problem on my plesk server. (11.0.9)
Qmail isn't working...
In Home>Tools & Settings>Services management SMTP "Server (QMail)" is stoppped.
When I try to start it, it say "Information: Please allow for some time for the service to start." but never starts...
In command line i try to restart it with "service qmail restart" and it says "OK" also if i run "service qmail status" it says "qmail-send (pid 2880) is running..."
but, it really doesn't work... queue is getting bigger and smtp isnt responding...!
I have a vps with a site has phpbb2.
Before one month I migrated to another vps host.
In the old vps, the sending notfications such as reply new topic ( watch ), e-mail activations to new members notifications of the private messages were working very fine and each memeber which has valid e-mail will receiev these notifications from my forum.
The old vps using sendmail.
But the new one using qmail and it is will configured and the e-mail notifications are recieved which means that it is working except the ones who use hotmail accounts begin not recieve anything, the others e-mails are recieved well.
The files are the same, excpet the old uses sendmail, the new vps uses qmail.
After many days of searching how to solve this I decided to contact the support team.
They replied to me that they should do to overcome hotmail receive email problem, reverse PTR record needs to be added and to add SPF records under my domain's DNS zone.
They did and they told me to wait 24 hours, I waited for 4 days and it did not work.
I went back to them and again they look closely to my qmail configurations and it is fine and working and also they made an hotmail account to test and send e-mail form my mail server and it had been accepted which means that my domain and my new IP is not blocked by hotmail.
So their is nothing wrong excpet that email notifications from my phpbb it still won't go to members who have hotmail.
Very strange if the hotmail hates php mail scripts like phpbb why before in the old vps was like, and now suddenly hates.
Qmail on Redhat setup for mail relay? (I'm a newbie)
I'm trying to figure out how to enable mail relaying for a specific domain on a Redhat server running Qmail. Can anyone tell me where to look? I searched Google, but am now very confused.
Currently i'm migrating all my domains from ensim to Plesk.
I use for this the Plesk migration tool.
From the moment I change the nameservers, some mail will still be delivered (for a while) to the old ensim server and not the new plesk server.
How can I move or migrated mail from mqueue to the correspondening account under Qmail?
Because the ensim server is configured to be the final destination for mail . I cannot add extra MX records with a lower destination.
Or can i change easly the ensim server to be not the final destination)?
Can i use Qmail or Sendmail or Postfix with WHM other than exim mail SMTP.
View 1 Replies View Related I'm using Plesk 11.5.50 CentOS 6.5 64bit with Qmail. I have installed a SSL certificate on mail server "mail.company.tld" and is running successfully with smtp/pop3/imap4 daemon. Every user agent uses "mail.company.tld" for smtp/pop3/imap4. The qmail name is "mail.company.tld" (file me). The server has about 300 domains and 1000 accounts.
Now we want to add a new SSL certificate, called "mail.newcompany.tld", and use it only for certain domains. I would like to know if is possible to use the new SSL "mail.newcompany.tld" for a specific mail domain without using the old SSL "mail.company.tld" that isn't expired yet. From Plesk Panel I haven't found a section for using the SSL for a specific mail domain.
It may seem strange this but, is possible forward a mail then delete foward email automatic? or there are other way to delete emails come with a specify email.
View 4 Replies View RelatedI 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.
I am trying to send mail using mail command with a subject using below.
mail -s "subject" me@domain.com or mail -s "subject" "me@domain.com"
Both are not working... It simple hangs for a long time. Nothing happens.
Then i tried sending mail using mail -v and then entered the subject, when it prompted.
It works fine.
I also tried mutt -s "test" -a
it also not working...
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?
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
I set up a new account the other day and everything was set up as normal.
My client cannot recieve their emails through outlook express and I cannot open their cpanel thrugh their url.
I know I set everything up correct, and even deleted the account and created it again.
I am lost on this one, this has never happen to me before.
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.
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