|
|||
|
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! |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 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'. 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. |
|
|||
|
I managed to fix the problem without editing any config files. Thanx to this post:
http://forums.cpanel.net/showpost.ph...48&postcount=3 |
|
|||
|
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 |
|
|||
|
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. |
|
||||
|
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 |
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|