[cPanel] Function Mail(); And Fowarders E-mail - Not Working
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 Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
PHP Mail() Function Not Working
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 Replies!
View Related
PHP Mail() Function Stopped Working
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 Replies!
View Related
PHP Mail() Function Not Working With Lighttpd
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 Replies!
View Related
Cpanel And Mail Not Working
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.
View Replies!
View Related
Disable Mail Function
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 Replies!
View Related
Mail Function Not Work
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 Replies!
View Related
Server Slow After Using Mail Function
I used the mail function in php to send mails to my 25000 members in a loop.. After using it my server has gone very slow.. Load has increased a lot from 2 to around 20.. Major load is taken by sql and then httpd (both have increased).. I had restarted mysql and httpd.. even reinstalled apache but no help..
View Replies!
View Related
How Much Can Php's Mail Function Really Handle
I have mixed feelings on the mail() function in php. I've seen it send out amazing numbers of emails and yet I keep reading that it is prone to problems. I'm wondering if someone can put an approximation on what you could/would send out in say 60 seconds. I know that there are tonnes of variables, so i'll try and remove a few: - server hardware is typical of a cpanel/WHM shared hosting environment - running apache/linux - email is say 20kb HTML format - mail is sent in a php script loop, one by one; alternatively, mail() could be called in clusters of x emails - like send 5 emails at once - there are 400 recipients
View Replies!
View Related
Setting Up PHP Mail() Function On New Server
how to set up the mail () function in my PHP.ini on a Linux server. Is there a generic path that I need to use in order to allow the mail function to work in the scripts? We do have a mail server set up, the address of which being "mail.companyname.com" ... do I need to insert that into the ini file somwhere instead?
View Replies!
View Related
Cpanel Can't Send Mail To External Mail
I have migrated my cpanel server from one to other server. After finishing migration. All email account can't send mail to external mail such as to "yahoo mail". Here, some log: ------------------------------------------- Return-path: <test@mydomain.com> Received: from localhost ([127.0.0.1] helo=mydomain.com) by server.hostname.com with esmtpa (Exim 4.69) (envelope-from <test@myadomain.com>) id 1N1wop-0004bE-ST for someone@yahoo.co.uk; Sun, 25 Oct 2009 09:43:11 +0300 Received: from XXX.161.156.165 ([125.161.156.165]) (SquirrelMail authenticated user test@myadomain.com) by mydomain.com with HTTP; Sun, 25 Oct 2009 09:43:11 +0300 (MSK) Message-ID: <14566.XXX.161.156.165.1256452991.squirrel@domain> Date: Sun, 25 Oct 2009 09:43:11 +0300 (MSK) Subject: Test mail From: test@myadomain.com To: someone@yahoo.co.uk User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal just test -------- Domain and mail account are edited.
View Replies!
View Related
Configure Webserver So That The Php Scripts To Be Able To Use The Mail() Function
I just purchased a vps from rapidswitch, installed lamp, webmin, etc. All is working fine, with one exception. I can't send mail via mail() function. I have set the MX so that my email addresses are handled by google for domains so i can send and receive mails without problems. What i cant do, is for example to install a cms and make it send emails for the new registered users, etc. I have installed postfix via yum, and i've tried to configure it.. but i kind of give up after a few hours of trying. Someone could point me to the right direction on how to configure postfix for just this ? to be able to send mails via php. I don't care if it's postfix, qmail, etc.
View Replies!
View Related
Mail Command Not Working
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...
View Replies!
View Related
Mail Stopped 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?
View Replies!
View Related
Smarter Mail - Spammers Targetting Mail Server Using Dynamic Ip's
We have been having some problems with one of our mail servers lately. Server is running Smarter Mail 4.x with declude. Some spammers have been targeting this particular to send spam through this server. This putting lot of load on the server because declude is processing the SPOOL in Smarter Mail and spool goes upto 2000-20000 during the day. We have been checking the headers and blocking the IP's continuously of these spam but these people are using dynamic ip's. And it doesn't seem like single spammer. Content is quite different. Blocking full ranges of certain IP Range helps though but then lot of legitimate mail is getting blocked as well. Is there any good suggestion or a serious mail server admin who can have a look and actually sort it. This is causing serious delays on our mail delivery through this mail server.
View Replies!
View Related
Mail Proxy: How To Stop CGI Mail Proxies
During last week, two of our clients' accounts got compromised (most probably due to weak passwords) and there was a CGI script installed which started sending emails to more than 200,000 email accounts. This email addresses were stored in a text file. By the time we noticed this activity, our server got black listed on major RBLs like Barracuda, SpamCop, Spamhaus etc and it took around 2 days to cleanup 3 days later, another account compromised with same *thing* and it really is pain in the arse now dealing with this and angry clients We've already implemented a policy to restrict users to send 100 messages/per hour/domain which is working, but it seems this *thing* bypass exim. I guess this Open Proxy Servers a Source of Spam is what i want to explain! So my question is, if I've understood this right, is it possible to stop scripts like this or can we enforce mailman to use exim all the time to send messages and stop direct-mailing?
View Replies!
View Related
Mail Server - Setup Virtual Mail Boxes
AMD Athlon54 X2 512Kx2 socket AM2 3800 slamd64-11.0 Just completed installing the captioned OS with everything installed except GAME. This is an experiment. slamd64 is now running on the box. I'm going to setup virtual mail boxes on this server, allowing my friends using the mail server sending and receiving mails. Please advise; 1) how to check whether sendmail is running and configured properly. 2) how to setup virtual mail boxes. Where can I find relevant tutorial.
View Replies!
View Related
Separate Mail Server- Deliver Mail To Hotmail
i'm thinking about building a separate mail server away from my cpanel/whm machine. that mail server will be located on a different IP address with "clean" record so that business email won't get deleted my strict rules of hotmail. can you please tell me, generally, about this "buidling separate mail server", i.e. what MTA, software, web-mail software, will it be worth? ,etc. Pointing me in the right direction will allow me to complete the project in the shortest time.
View Replies!
View Related
Mail Server / Can't Send Or Receive Mail
In webmail, when a person trys to send an email they get this error: Message not sent. Server replied: Requested action aborted: error in processing 451 Temporary local problem - please try later We have tried all the mail processing apps on Webmail (horde/squirrel/roundcube) and all of them seem to do the same thing. We have restart exim and that doesn't do anything either. I tried searching Google, but I didn't find too much luck there.
View Replies!
View Related
Some Ajax Function Not Working
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 Replies!
View Related
(cpanel) I Can Not Receive Any Mail
i have a a mail account with aaa@mydomain.com on server-a, i move the account to server-b, the mail account still shows in cpanel, i try to sent mail to the mailbox aaa@mydomain.com successfully, i try to use the "Email Delivery Route" cpanel feature on server-c to test aaa@mydomain.com, it shows the mail will sent to server-b, but no matter i login webmail or outlook,i can not receive any mail from the aaa@mydomain.com. i try to ssh the server and run "/scripts/mailtroubleshoot", but it shows "Please use mail troubleshooter Version 2.0 in WHM. at /scripts/mailtroubleshoot line 5.",
View Replies!
View Related
Where To Check Mail Queue In CPanel?
where to check mail-queue in cPanel ?? my friend has an vps and he has some trouble sending mail to 1 particular host such as hotmail, all the remaining hosts the mails are sent, but only to tht particular mail host the mails are not sent regularly, some times they recv it some times they don't checked webmail, couldn't see any failed/bounced mail mail msg, so not sure why this is happening, so I want to check the mail-queue for him to check the status of tht particular host, if I could try to sort them out directly with the mail server for him.
View Replies!
View Related
Cpanel Mail Account Issue
I have modied the domain name from WHM and now email accounts with the old domain name shows up and I am unable to delete them The e-mail account ****** was successfully deleted. Sorry, you do not have access to the domain ****** how do we remove them?
View Replies!
View Related
Delayed Mail :: Cpanel / Centos
Reported of this : HOTMAIL> This is the only message I receive when I send an email to myself from Hotmail to customerdomain.com Delivery Status Notification (Delay)þ From: postmaster@mail.hotmail.com Sent: Thu 1/17/08 10:33 AM To: user@hotmail.com ________________________________________ This is an automatically generated Delivery Status Notification. THIS IS A WARNING MESSAGE ONLY. YOU DO NOT NEED TO RESEND YOUR MESSAGE. Delivery to the following recipients has been delayed. user@customerdomain.com --Forwarded Message Attachment-- From: user@hotmail.com To: user@customerdomain.com Subject: Date: Wed, 16 Jan 2008 22:32:48 +0000 ******************** Why would it be delayed? I'm using cpanel / centos Possibly too much mail in queue or something else?
View Replies!
View Related
Mail Filter Problem On Cpanel
i try to make a email filter using cpanel options but dont work this its the code Code: if first_delivery and ( ("$header_from:" contains "id@dominio.com") or ("$header_from:" contains "id1@dominio.com") or ("$header_from:" contains "id2@dominio.com") ) then unseen deliver "id3@dominio.com" endif and Also Code: if $header_from: contains "id@dominio.com" then deliver "id3@dominio.com" endif the main idea its all outgoing mail from id@dominio.com must be send a copy (bcc) to id3@dominio.com
View Replies!
View Related
Mail Directory On Cpanel Server
I notice there is a "mail" directory in the home directories of most of my cpanel accounts. It's in the main home directory, along with public_html, www, etc... Can I just transfer this entire directory over to a new cpanel server, and everything should just work? (that is, after I change DNS, etc...). Will the old account be completely restored on the new server?
View Replies!
View Related
Wrong Mail Quota In Cpanel
i have an e-mail account that in cpanel shows it has 60 of 90 mb of used space... it had some big emails in the trash folder but i deleted em... in fact i deleted everything from the account (sent, trash, drafts, etc) and it keeps showing 60 of 90 mb of used space ive checked if it was spambox... nothing, spamassasin... nothing i even loged on the server and checked the space of mailbox's folder... but it showed only 500 kb... so i assume its a cpanel issue... how can i fix it?
View Replies!
View Related
CPanel And Mail Server ? Structure Itself
i was wondering (i am sorry is this is the wrong place i would also ask to move it to the right place if this is the wrong one) has any one around had experience with server A with cPanel serving only DNS and HTTP with another server with MAIL and MySQL? what do you use if so ? how did you approch the mail creation and so on? for the dns there is the cPanel tool so i dont think it would be a trouble would it? did you had to leave anything on the server A related to mailserver? What would be the best structure to divide services like http, database, mail, dns and so on?
View Replies!
View Related
Standalone Mail Servers For Cpanel
I have a couple cpanel servers and am interested in setting up new server (without cpanel) that I would use as a mail server for all the other cpanel servers. This server would also interface with my mailfoundry anti-spam solution. Can someone point me to any tutorials/how-tos for setting up a standalone mail server that still works with email account creation, etc, aspects of cpanel?
View Replies!
View Related
Cpu Overload Warning Mail From Cpanel
i am continously getting warning mail form cpanel cpu watch that my cpu got overloaded as like follows, IMPORTANT: Do not ignore this email. This is cPanel cpuwatch on xxx.com! While processing, the cpu has been maxed out for more than a 6 hour period. The current load/uptime line on the server at the time of this email is 19:05:10 up 143 days, 20:38, 0 users, load average: 1.11, 0.69, 0.63 You should check the server to see why the load is so high and take steps to lower the load. If you want stats to continue to run even with a high load; Edit /var/cpanel/cpanel.config and change extracpus to a number larger then 0 (run /usr/local/cpanel/startup afterwards to pickup the changes). I searched on load average and found that average load for 1 cpu is 2 and default value is 5 to 10.but here i am getting mail for 1.11 itself.I changed the value of threshold of load average in stat and logs of tweak setting to 4.but no improvement.now also i am getting more than 4 mails for average load i.e 1.23 also My questions are: 1)what is the criteria cpanel is checking for sending cpu-watch warning mail? 2)i am getting nothing more than rsync and exim at the time of overload(while using TOP command).So why now only i am getting warning mail? what is the cause of this problem? I was getting idea from internet to create account without stat/ log analyse function .But not sure how will it work and afraid of doing this.......
View Replies!
View Related
Crossgrade From Merak Mail To WHM/cPanel
My company recently bought out another hosting company. We would like to find a way to trasnfer clients from the windows servers (IIS to Apache is the easy part) running Merak Mail Server 8.9.1 to our existing cPanel/WHM Linux servers. I have opened a ticket with Merak, but their support takes weeks; And if i were them, i wouldnt help me either. I two specific questions really: 1) The format of the raw data (emails)... Is it the same? can i just FTP it over once i have created the correct accounts on cPanel/WHM? 2) Accounts.. is there an easy way to trasnfer the domain names and user accounts? If not, i dont mind doing this by hand, it will just be tedious.
View Replies!
View Related
CPanel 11, New Mail Filters Dont Work
I had made a post earlier about trying to get an exim ACL or filter to work with cpanel 10 to deny all messages with a 10 or above spam rating while forwarding 5-10 scored messages to a spambox, but I decided to tryout upgrading to CPanel 11 which adds a built-in solution. I've had no luck using WHM's Exim Configuration editor with "Reject mail at SMTP time if the spam score from spamassassin is greater than 10.0." Checked under ACL's and Filters.
View Replies!
View Related
Exim Mail Server :: Your Outgoing SMTP E-mail Server Has Reported An Internal Error ...
I getting this error when our clients are sending mail from outlook but they are able to send mail from webmail. we are using exim mail server and whm . i can't understand where is problem , anybody can help me ? Sending' reported error (0x800CCC6A) : 'Your outgoing (SMTP) e-mail server has reported an internal error. If you continue to receive this message, contact your server administrator or Internet service provider (ISP). The server responded: 451 Please try again later.
View Replies!
View Related
Email Function Not Working (MS Window Server 2003)
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 Replies!
View Related
Forwarding Mail In CPanel And Not Keeping It At The Original Account
I'd like to create a forwarding address, and not have the original account keep the mail - but without having to delete the original account, since I'd like to keep my existing emails. For instance if the old account is apples@domain.com, I'd like to forward new emails to oranges@new.com, where apples doesn't keep the new emails. Currently in cPanel when I create a forwarder apples@domain.com=>oranges@new.com, new emails are sent to both accounts.
View Replies!
View Related
Disable Mail Per Account Package On A CPanel Server
if it's possible to disable the ability to send email for accounts using a certain package in cPanel? I tried searching, I didn't find anything really relevant. Would it be possible to maybe create a rule, or script to add a rule to each account using a package to just block that username or account from sending email?
View Replies!
View Related
Error Sending Mail Using HORDE Since Last Cpanel Update.
There was an error sending your message: Failed to connect to localhost:25 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )] I got that error everytime I try to use mails using horde, this is happening since the last cpanel v11 R update... any ideas about how to fix this.. i couldnt find anything at cpanel logs... Using mail clients or squirrelmail works perfect, im using RHES 4.
View Replies!
View Related
Best Platform For IMAP Mail (Cpanel, Plesk Linux Or Plesk Windows)
Best platform for IMAP mail (Cpanel, Plesk Linux or Plesk Windows) I need to setup 5 email accounts on my domain, each will use IMAP and store messages on server, so total space taken by each account will be 2-5 GB. I have decided to go with eurovps.com as I'm close to them and ping is fast. What is the best solution for IMAP and large email accounts: Linux Cpanel, Linux Plesk or Windows Plesk? Each account will be accessed by 2 people differently by Thunderbird and occasionally by webmail, so nice webmail is a plus.
View Replies!
View Related
Mail.example.com
I noticed my host has my whm dns zone file as mail cname example.com example.com mx example.com now i wonder if this is correct. First of all what is the point in creating the mail subdomain? Currently mail.example.com resolves to the main doain leaving me open to duplicate content problems if someone linked to me like that to cause trouble. And secondly is it even needed at all since the mx record is already shown as example.com. Further should the mx record be the ip rather than the domain?
View Replies!
View Related
Mail .. Not Going Out
Just bought a new dedicated server and uploaded all my data into it.. all is working fine now except the php mail() function... on my forum... tried it into a separated php file. the php mail() function return true but still not working.. sendmail is installed! I also tried this : mail myemail@xx.com guess what .. email not reveived..
View Replies!
View Related
E-mail
IMPORTANT: Do not ignore this email. This is cPanel cpuwatch on host.***********! While processing, the cpu has been maxed out for more than a 6 hour period. The current load/uptime line on the server at the time of this email is 01:15:36 up 5 days, 21:59, 2 users, load average: 2.29, 2.59, 3.38 You should check the server to see why the load is so high and take steps to lower the load. If you want stats to continue to run even with a high load; /var/cpanel/cpanel.config and change extracpus to a number larger then 0 (run /usr/local/cpanel/startup afterwards to pickup the changes). the load in last days is between 2 to 6 or 8 ,sometimes reach 15 and 20. when i see CPU/Memory/MySQL Usage found Mysql is red (15) % CPU for example.
View Replies!
View Related
Mail
One of our server's is having a huge mail problem. It's not on the configuration side I hope, and we've checked spam databases with all our IP addresses and they're all clean. What happens is, any outgoing mail to mostly all (well, all as i know of) servers is regarded as spam, and gets put into that nice spam folder or even rejected! FYI, there's a test email to gmail servers with full headers: Delivered-To: XXXXX@gmail.com Received: by 10.82.165.15 with SMTP id n15cs61784bue; Tue, 6 Feb 2007 13:09:01 -0800 (PST) Received: by 10.78.204.7 with SMTP id b7mr1905228hug.1170796141164; Tue, 06 Feb 2007 13:09:01 -0800 (PST) Return-Path: <root@server1.factor-host.com> Received: from server1.factor-host.com ([87.118.100.144]) by mx.google.com with ESMTP id i1si3853877nfe.2007.02.06.13.09.00; Tue, 06 Feb 2007 13:09:01 -0800 (PST) Received-SPF: neutral (google.com: 87.118.100.144 is neither permitted nor denied by best guess record for domain of root@server1.factor-host.com) Received: from factorh by server1.factor-host.com with local (Exim 4.63) (envelope-from <root@server1.factor-host.com>) id 1HEXYh-00037m-Lg for XXXX@gmail.com; Tue, 06 Feb 2007 21:08:59 +0000 To: XXXXX@gmail.com Subject: Contact From: root@server1.factor-host.com Reply-to: root@server1.factor-host.com Message-Id: <E1HEXYh-00037m-Lg@server1.factor-host.com> Sender: <root@server1.factor-host.com> Date: Tue, 06 Feb 2007 21:08:59 +0000 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server1.factor-host.com X-AntiAbuse: Original Domain - gmail.com X-AntiAbuse: Originator/Caller UID/GID - [32003 508] / [47 12] X-AntiAbuse: Sender Address Domain - server1.factor-host.com X-Source: X-Source-Args: X-Source-Dir: Testing ---- End Message.
View Replies!
View Related
'nobody' Mail
i currently have WHM configured to not allow anyone to use nobody for email and stuff. Obviously this blocks all forums from sending out confirmation emails and forgotten password requests. First, is there anyway to allow some programs to send mail outside of the domain for their forums and stuff? Also, is there anyway to allow some users to send mail using nobody?
View Replies!
View Related
|