Mail Not Sending From Server, Told To Edit - centos

Recently there was a problem sending mail from a server. When researched into it, there was an segmentation(11) fault error.
I was directed to this article http://kb.parallels.com/en/260, and told to update the fs.file-max /etc/sysctl.conf. The problem is, there is no fs.file-max in the file. A little more background on the problem:
Server Centos 5.5
Plesk 10
Emails not sending from a mailbox that has 4 Gigs worth of email(if
that matters).
Does anyone have a clue how to fix or a better way of finding out what is going on?

The problem is, there is no fs.file-max in the file.
The article you are referring to would suggest adding this parameter, it doesn't say this parameter is in the file:
"... it should be changed by adding the following lines to /etc/sysctl.conf ..."

Related

Postfix header_checks remove headers

First of all I'm running lamp ubuntu 14.04 with dovecot and postfix for mailing.
I'm quite unexperienced if it comes to setting up a mail server.
I'm reaching a score of 5.1 / 10 and my mail does arrive on my gmail account, but not to my hotmail email. Here are the biggest problems reported by mail-tester
The mail will mainly be newsletter kind of things so the html problems I suppose should be fixed if I actually send a properly formatted html mail instead of some plain text lorem ipsum. Would be great if there's a solution for that as well, but it's not my biggest concern.
I'm using the header_checks in postfix trying to remove the X-MSMail-Priority, but without success. I can't find anything else besides the header checks method. Here's the line I'm using that I thought should remove X-MSMail-Priority
/^X-MSMail-Priority:/ IGNORE
Please say so if I've forgotten something important or something is unclear. I'll update my question as quickly as possible
Make sure you spelled the header correctly, it's case sensetive.
I'm assuming you have a file named /etc/postfix/header_checks,Check your main.cf file for the following:
mime_header_checks = regexp:/etc/postfix/header_checks
header_checks = regexp:/etc/postfix/header_checks
Restart postfix service and test the configuration.

Drupal 7 Flags Module with Email Action Not Working?

This is a very specific problem, but I'm experiencing an issue where I have 0 knowledge and experience.
I have the Flags Module 7.x-3.7 installed on Drupal 7.44. I was able to set up an 2 actions that send emails when a user activates a flag.
Now, all of a sudden I an unable to do so. The entire system hangs indefinitely whenever I: A) Click on the “edit” link for any flags the result in an email being sent or B) Try to create a new action using “Send e-mail” as the action.
I tried removing the modules, toggling other modules… the usual fare. I’m not massively familiar with Drupal, so the intereconnected workings have me a bit nervous to mess around. I am, however, familiar with PHP and MYSQL and have access to the root, so I can investigate pretty much wherever.
So,does anyone have any idea what could be causing this issue? Why does it not move past a connecting icon and move to the new page when the links are clicked? It’s not even a WSOD as far as I can tell.Any other information you need, please feel free to ask. I’m not even sure what’s needed to troubleshoot a Drupal 7 site, honestly, but any Help would be appreciated.
Looks like the following line is causing an issue. It's in flag_actions.module, the function flag_actions_system_send_email_action_form(&$form, &$flag, $context):
$form['help']['basic'] = array(
'#markup' => theme('flag_tokens_browser', array('types' => array('flag', 'flag-action'))),
);
Commenting it out seems to solve the issue. I'd like to know WHY, and if it is safe to leave it commented out at the moment. Any ideas?

Outllok 2010 & 2013 email getting stuck in outbox, not making it to sent box

I have been unable to find similar reported issues that I am experiencing or maybe I just am not phrasing it properly.
I have an instance of WIN8 w/ office 2013 and WIN7 w/ office200, I access them through my VM. On both instances I am experiencing an intermittent problem that I can not always replicate the problem. But it seems that after about 10 minutes of use maybe more maybe less, when I write and send emails they are sometimes getting stuck in my "Outbox" folder. I have tried pressing the send and reverie button, it looks like everything ran fine but the mail still shows up in my outbox rather than my sent box. When I restart the application, you sill see the message updating outlook,once it is completed you see the emails go from the outbox to sent. This happens in both instances of 2007 and 2010, is there a setting or something like that I am missing?.Because sometime when you open outllok and the first you do is send an email and everything works fin!
This is a well-known issue. Take a look at the similar pages:
How to troubleshoot mail stuck in the Outbox
How to troubleshoot e-mail messages that are stuck in your Outbox
Email stuck in the Outbox in Outlook 2010 / 2013

SugarCRM CE smarty error after upgrade

I recently upgraded our SugarCRM CE form 5.x to 6.2.6. I had some uphill experience but I overcome everything except one issue.
The following error appears in the "Email Address" area on Contact, Opportunity and other similar pages.
Warning: Smarty error: unable to read resource:
"include/SugarFields/Fields/Base/detailViewFunction.tpl" in
/home/campusre/public_html/sugar/include/Smarty/Smarty.class.php on
line 1095
I did a search on SugarCRM forum and I found only one similar thread that was old and not answered. I also contacted our hosting company to check if this problem is related with the file or folder permission but they confirmed that it is not the problem in this case.
I am a developer but didn't do any SugarCRM and Smarty development before. I am investigating the code by my self but without success so far.
Any suggestion will be highly appreciated.
Thanks in advance.
unable to read resource: include/SugarFields/Fields/Base/detailViewFunction.tpl
This usually means that incorrect permissions are set on this file or that the file doesn't exist. However, in this case it looks like a casing issue. The file is actual camel case and named DetailViewFunction.tpl. It looks like you are running into a case-sensitive issue. My initial guess is that it is due to an old module or piece of code from 5.x.

Troubleshooting 500 Server Error Zend Framework application

I am facing a 500 Server Error and I see that many people here have had this problem and it can be too broad so I would like to ask my question differently.
I have confirmed with my host that the server is fine and if I replace content of index.php in public_html it shows everything is working. The problem seems to be in my script/environment and I am trying to track it down. My question is which are the common paths to check?
I have confirmed that its going through application.ini fine, the front controller plugin is fine (I have 1), the routing is working fine but it doesnt get as far as the IndexController which I am testing with.
I have tried to wrap $application->bootstrap()->run(); in a try-catch but this didnt help. Any help with how to troubleshoot such an issue appreciated. I am trying to track through what the application is doing to find where it fails.
I solved this problem. Turns out I had an infinite loop in my application in one model. I traced through the dispatch process until I narrowed down to the line that was causing trouble and removed it. Was helpful to me in walking through what the application does step by step and ticking off everything.