Current time: 05-24-2012, 10:46 PM Hello There, Guest! (LoginRegister)


Post Reply 
[HowTo] Replace courier with dovecot
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 329
Joined: May 2008
Reputation: 4
Post: #71
RE: [HowTo] Replace courier with dovecot
(06-14-2011 01:59 AM)Obi_Wan Wrote:  I've added the dovecot manager to trunk. Hopefully that will solve many problems Smile

Great, one step less to install, I'll update the wiki ASAP.
06-14-2011 05:40 AM
Find all posts by this user Quote this message in a reply
alexskynet Offline
Newbie
*

Posts: 9
Joined: Apr 2010
Reputation: 0
Post: #72
RE: [HowTo] Replace courier with dovecot
Obi Wan

Thank you but please fix the source since it doesn't work properly with very late systems (Fedora 15 and Fedora 16 in my tests)

You have to add:

push @INC, '/var/www/ispcp/engine';

at the very beginning of the file (before any "require" and after the showbang) to avoid authentication error in dovecot 2.0.15

Without the patch the logs show the following:

dovecot: auth: Fatal: execv(/var/www/ispcp/engine/ispcp-dovecot-mngr) failed: Input/output error

I also had do chmod 755 ispcp-dovecot-mngr and chmod 744 the following files:
ispcp_common_code.pl
ispcp_common_methods.pl
ispcp-db-keys.pl

I'm on Fedora 15 (with F 14 it works with no changes, but the above changes don't break it in earlier systems)

Best regards
11-29-2011 01:03 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)