#76 (permalink)  
Old 12-18-2007, 04:58 PM
Registered User
 
Join Date: Jan 2006
Posts: 29
bmarshallbri is on a distinguished road
RE: CSF Config Change Fixes this Problem

Hi All,

I like all of you have been having the same problem. Here's how I fixed it.

# Block outgoing SMTP except for root, exim and mailman (forces scripts/users
# to use the exim/sendmail binary instead of sockets access). This replaces the
# protection as WHM > Tweak Settings > SMTP Tweaks. This will block hosting
# clients from using your server as an SMTP relay

SMTP_BLOCK = 1

# If SMTP_BLOCK is enabled but you want to allow local connections to port 25
# on the server (e.g. for web scripts) then enable this option too

SMTP_ALLOWLOCAL = 1

I originally had SMTP_ALLOWLOCAL = 0 and SMTP_BLOCK set to 1. The notes in the config make mention of local script access.

Worked for me with SquirrelMail's conf set to useSendmail = false;

Good luck!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #77 (permalink)  
Old 12-19-2007, 02:29 PM
myusername's Avatar
Registered User
 
Join Date: Mar 2003
Location: Smokin!
Posts: 651
myusername is on a distinguished road
If you have:

SMTP_BLOCK = 1

then

SMTP_ALLOWLOCAL should also be set to "1"

This worked for me as well.
__________________
chown -R us.us *yourbase*
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #78 (permalink)  
Old 12-20-2007, 05:31 AM
Registered User
 
Join Date: Nov 2003
Location: Madrid
Posts: 18
mihosting
I found this problem withc csf firewall. And this is an interesting post in the forum of csf

http://forum.configserver.com/showthread.php?t=122
__________________
Miguel Herrero
www.miHosting.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #79 (permalink)  
Old 12-29-2007, 09:23 AM
Registered User
 
Join Date: Jan 2007
Posts: 12
Jinxey is on a distinguished road
Quote:
Originally Posted by myusername View Post
If you have:

SMTP_BLOCK = 1

then

SMTP_ALLOWLOCAL should also be set to "1"

This worked for me as well.
Ah that worked for me ta
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #80 (permalink)  
Old 01-03-2008, 05:02 AM
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: Jan 2006
Posts: 605
4u123 is on a distinguished road
Could someone clarify if this is the same issue ?

Customer sends email via horde or squirrel but receives the following error...

Authentication failed
Server replied: 535 Incorrect authentication data


I have SMTP tweak disabled in WHM and

SMTP_BLOCK = 1
SMTP_ALLOWLOCAL = 1 In CSF
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #81 (permalink)  
Old 01-04-2008, 08:36 AM
prashantjoshi's Avatar
Registered User
 
Join Date: Aug 2004
Posts: 7
prashantjoshi is on a distinguished road
its realted to scf and fixed

hello,

Quote:
Originally Posted by myusername View Post
If you have:

SMTP_BLOCK = 1

then

SMTP_ALLOWLOCAL should also be set to "1"

This worked for me as well.
this fixed the problem . THANKS.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #82 (permalink)  
Old 01-17-2008, 08:25 PM
Registered User
 
Join Date: Dec 2007
Posts: 1
delda is on a distinguished road
Hello
Using SQM
Using apf instead if csf
After The 111 Error
i do as they said turn off SMTP Tweak
Also Editing The
Code:
/usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php
set $useSendmail = true ;
After I set it To true the following error Appeared
Code:
Email delivery error
Server replied: 1 Can't execute command '/usr/local/cpanel/bin/sendmail_cpanel -i -t -f9@5dw5l.com'.
after upgrading the Cpanel issue solved
reset $useSendmail = true ; after the update the same error appeared
thank you guy's for ur hard work <3

Last edited by delda; 01-17-2008 at 08:28 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #83 (permalink)  
Old 02-08-2008, 05:44 AM
Registered User
 
Join Date: Nov 2004
Posts: 112
panayot is on a distinguished road
I managed to fix the problem without editing any config files. Thanx to this post:

http://forums.cpanel.net/showpost.ph...48&postcount=3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #84 (permalink)  
Old 02-10-2008, 03:59 PM
Registered User
 
Join Date: Aug 2005
Posts: 1
TheBush is on a distinguished road
If you receive: SquirrelMail Not Found

Do This:

rm /usr/local/cpanel/base/3rdparty/squirrelmail/ -rf

then

/scripts/upcp --force

If you get Operation Not Permitted when trying to rm squirrelmail, do this:

chattr -ia /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php

then do rm /usr/local/cpanel/base/3rdparty/squirrelmail/ -rf



If Getting The 110 Can't Open SMTP Error:

Do this:

Edit the following file, and change useSendmail to true, instead of false:

/usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php

Save this, and close it, but you must do the following so that cpanel doesn't change useSendmail back to false:

chattr +ai /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #85 (permalink)  
Old 02-10-2008, 04:03 PM
myusername's Avatar
Registered User
 
Join Date: Mar 2003
Location: Smokin!
Posts: 651
myusername is on a distinguished road
Its reeally quite simple folks, adjust your firewall config. It is much faster and cleaner than many of these patches I have seen. I have not seen one person with this issue that did not have their CSF misconfigured.

chattr'ing files ensures that you will never get another cPanel update in this area. Is that what you really want?
__________________
chown -R us.us *yourbase*
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #86 (permalink)  
Old 07-01-2008, 08:55 AM
Registered User
 
Join Date: Jun 2005
Posts: 73
cookiesunshinex is on a distinguished road
Flushing the IP tables fixed the problem for me.

Interestingly, other than Squirrelmail not working, one or two users could not authenticate and send mail through the server with their Thunderbird client, while others could.

strange issue.

service iptables stop
iptables -F
service iptables start

fixed any issues instantly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #87 (permalink)  
Old 07-01-2008, 09:10 AM
cpaneldave's Avatar
Staff Member
 
Join Date: Dec 2001
Posts: 746
cpaneldave is on a distinguished road
Flushing IP Tables is simply removing all your rules. I wouldn't recommend this if you are using iptables to block unwanted traffic. Instead, I'd take a look at any rules you have related to the ports you've configured for mail traffic and adjust those rules. Also, you should note that just doing iptables -F isn't actually changing your configuration and that upon reboot, your issue will return.
__________________
-Dave
cPanel Inc.

Need support? Submit a request here. These forums are not an official support channel.

www.cpanel.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #88 (permalink)  
Old 12-11-2008, 03:43 PM
Registered User
 
Join Date: Feb 2008
Posts: 19
jimmy1987 is on a distinguished road
The simpelest and only possible solution for the Can't open stream error is the CSF SMTP Block setting to 0 or setting the allowlocal to 1 too.

That is the only solution! Don't go screwing around with your configs or chatt'ring things blonging to cPanel.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #89 (permalink)  
Old 12-17-2008, 03:24 PM
Registered User
 
Join Date: Aug 2006
Posts: 6
muugii is on a distinguished road
Originally Posted by myusername View Post
If you have:

SMTP_BLOCK = 1

then

SMTP_ALLOWLOCAL should also be set to "1"

This worked for me as well.

hello,
it works for me
thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:28 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc