Cannot send e-mails in horde

screege

Well-Known Member
Aug 11, 2004
190
1
166
Hi I cannot send e-mails using horde it gives me this error:

There was an error sending your message: unable to connect to smtp server localhost:25

But when sending with squirrel mail I have no problems any ideas?

Thanks
 

JayAtjeu

Member
Apr 27, 2006
6
0
151
One of my clients is having the same issue. Anyone know of a fix? I'll be trying some things and let you know if I find a fix.
 

screege

Well-Known Member
Aug 11, 2004
190
1
166
Well in my case it was csf (configservers firewall) who was blocking horde I putted an option yto allow scripts to send.
 

ttremain

Well-Known Member
Feb 16, 2003
237
1
168
cPanel Access Level
Root Administrator
Instead of letting scripts send SMTP mail, which is dangerous...

I seem to have solved this...

I edited /usr/local/cpanel/base/horde/config/conf.php

Found: $conf['mailer']['type'] = 'smtp';

and replaced it with: $conf['mailer']['type'] = 'sendmail';
 

keithc

Member
Jun 5, 2007
14
0
151
I've found that the Cpanel update sometimes causes this change to revert back to "smtp". Is there a way to keep the setting as "sendmail" or is there another issue that is causing this not to work with the "smtp" setting? I was thinking about just creating a cronjob to change it back to "sendmail" if the conf.php file gets changed? In the past 2 months, I've had this issue and have changed it back to reflect "sendmail" 2 or 3 times.

Thanks,

Keith