PDA

View Full Version : Horde mail - sendmail returned error code 100


dhub
19th July 2007, 12:25 AM
I have a strange problem when I send out email via Horde Mail. I get this message

"There was an error sending your message: sendmail returned error code 100"

It gave the same error code even the email account is re-created.

Plesk 8.2 Linux
FC6 x86-64bit

Valentin
19th July 2007, 12:41 PM
Hello,

in my php config the function popen() (http://de.php.net/popen) was disabled in php.ini - removing the popen from disabled_functions solved the problem!

(using FC4)

oyabun
26th July 2007, 07:18 AM
I have look for popen in my php.ini and I didn't found it.
So it seems that it is another problem.
Is there any workaround that doesn't involve to disable SELinux?.
Maybe by correctly configure SELinux.
Anyone?

shock143
30th July 2007, 01:17 PM
Thank you very much.
It's working :)

gpdahl
30th July 2007, 03:06 PM
http://kb.swsoft.com/en/1002

SWSoft sent me this. However the file structure it talks about is not on my server.

Perhaps you might have more luck with it.

oyabun
31st July 2007, 08:09 AM
Thanks gpdahl.

It's seems that I don't have either that file structura on my server.
So I cannot fix it.It doesn't work for me.
Did you fix it?.

I'm planning to migrate to squirrelmail.

gpdahl
31st July 2007, 09:15 AM
I disable selinux. I don't use it so it doesn't matter to me.

quat.net
2nd August 2007, 02:53 AM
Hi !
I have tried to

[root@blabla]# setenforce 0

for disabling SELinux

Now sending mails via Webmail/Horde is working fine.
No more "error code 100"

I know that is not the best solution, but maybe
SWsoft will released a patch in a few days.

for enable SELinux again
use # setenforce 1

CU
Franky

oyabun
2nd August 2007, 04:58 AM
Thank you Franky.

That is the only solutions that works (For me).
So, is the only way to make it work until the expected patch from Swsoft.

Another solution is to install SquirrelMail. It works perfect. But I hate that interface.
(Any interesting free themes around?).

Is there any easy way to configure SELinux apart of set each boolean?.
Maybe a console gui with ncurses or a perl script?.

CU

gpdahl
2nd August 2007, 09:05 AM
webmin has a third party squirrelmail module.
http://www.webmin.com/cgi-bin/search_third.cgi?search=squirrelmail

popflorin
3rd August 2007, 04:52 PM
how to fix it...
gpdahl, SWSoft gave the response in that link ... but the solution is outdated since FC3 I guess
What you must do:
disable selinux (just to make sure), then as root assure that you have selinux-policy, selinux-policy-targeted, policycoreutils

rpm -qa selinux-policy selinux-policy-targeted policycoreutils
policycoreutils-1.30.10-2.fc5
selinux-policy-2.3.7-2.fc5
selinux-policy-targeted-2.3.7-2.fc5

selinux-policy-targeted-sources does not exists anymore independently (that is why you do not have src)
I recomend to do the following:
in the / dir

/touch /.autorelabel

after reboot ...it will takesome time
you should update

yum update selinux-policy selinux-policy-targeted policycoreutils


Now the main part.
issue this:

audit2allow -dM <name of policy>
semodule -i <name of policy>.pp

reboot

thedust2010
23rd August 2007, 04:11 PM
I just applied a bunch of updates in the Plesk Updater and it took care of the problem. I'd say before trying anything as root, first just make sure you've got the most up-to-date packages.

jpwdesigns
13th September 2007, 12:23 PM
Hi ive also got these problems:

Sep 13 06:37:29 HORDE [error] [imp] sendmail returned error code 111 [on line 1082 of "/usr/share/psa-horde/imp/compose.php"]
Sep 13 07:28:48 HORDE [error] [imp] sendmail returned error code 111 [on line 1082 of "/usr/share/psa-horde/imp/compose.php"]
Sep 13 07:30:21 HORDE [error] [imp] sendmail returned error code 111 [on line 1082 of "/usr/share/psa-horde/imp/compose.php"]
Sep 13 07:30:41 HORDE [error] [imp] sendmail returned error code 111 [on line 1082 of "/usr/share/psa-horde/imp/compose.php"]
Sep 13 09:41:49 HORDE [error] [imp] sendmail returned error code 111 [on line 1082 of "/usr/share/psa-horde/imp/compose.php"]
Sep 13 09:42:48 HORDE [error] [imp] sendmail returned error code 111 [on line 1082 of "/usr/share/psa-horde/imp/compose.php"]
Sep 13 09:50:45 HORDE [error] [imp] sendmail returned error code 111 [on line 1082 of "/usr/share/psa-horde/imp/compose.php"]
Sep 13 09:59:18 HORDE [error] [imp] sendmail returned error code 111 [on line 1082 of "/usr/share/psa-horde/imp/compose.php"]
Sep 13 06:05:25 HORDE [error] [imp] sendmail returned error code 111 [on line 1082 of "/usr/share/psa-horde/imp/compose.php"]
Sep 13 11:42:46 HORDE [error] [imp] sendmail returned error code 111 [on line 1082 of "/usr/share/psa-horde/imp/compose.php"]
Sep 13 07:48:45 HORDE [error] [imp] sendmail returned error code 111 [on line 1082 of "/usr/share/psa-horde/imp/compose.php"]
Sep 13 12:04:29 HORDE [error] [imp] sendmail returned error code 111 [on line 1082 of "/usr/share/psa-horde/imp/compose.php"]


Ive tried to follow the directions in this post but no luck. It seems my system is running without selinux anyway. When i try to enable it says disabled.

[root@XXXXXXXX ~]# setenforce 1
setenforce: SELinux is disabled

My Directory structure seems the same as the swsoft post but i cant make heads or tails of it.

Any pointers? Also oddly enough the sidebar javascript to hide the sidebar only works in firefox, not ie. what do you make of that?

Thanks


Im running PLESK 8.2 Fedora 4.

JLChafardet
5th June 2008, 05:30 PM
This is odd very very odd. the server was working perfectly until about 45 minutes ago, then stoped working giving me this error about error 111

HORDE [error] [imp] sendmail returned error code 111 [on line 1082 of "/usr/share/psa-horde/imp/compose.php"]

i cant find a way to fix this, I just issued a server reboot, i hope this fixes it.

JLChafardet
5th June 2008, 05:35 PM
oddly enough, rebooting the server fixed this.

thanks anyway in advance for the support.