Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th October 2008, 15:31
gsp gsp is offline
Member
 
Join Date: Oct 2008
Posts: 45
Thanks: 1
Thanked 0 Times in 0 Posts
Thumbs up Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1 - WORKS

Hi there,

i am a linux newbie and trying for some weeks now this 'how to' guide... After many many hours of reading my conclusion is that this guide doesn't work as it is!

I don't know if the problem is that i tried to install on CentOS 5.2 but i found several issues that are not covered in this guide as cyrus admin user, permissions, firewall and SELinux settings that prevent system for normal operation... Now after all this period of format and setup and format and setup again, i have reached the point that even that i have an admin user george@mydomain.com (horde & cyrus), on cyrus saslauthd this user name is not accepted from telnet tests... i thing there is some kind of 'bugs' on the authorization part...

PLEASE if anyone managed to make this work to post some basic details on how i can make this work!!

And for people who write these 'how to's' , please don't think that everything is supposed to be known!

Thanks in advance

Last edited by gsp; 24th November 2008 at 11:31. Reason: After overriding some errors, got system work...
Reply With Quote
Sponsored Links
  #2  
Old 13th October 2008, 11:34
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

There is no way a howto can cover every aspect needed to configure a system, it is expected that as a user following a howto you are capable of comprehending normal system admin tasks.

That howto in its present form works fully with Centos 5.1 i have a running xen image of it on my dev machine.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 13th October 2008, 12:55
gsp gsp is offline
Member
 
Join Date: Oct 2008
Posts: 45
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi, thanks for the answer. I think that i CAN accomplish normal admin tasks, and i had no bad intentions with my message... Instead i am reading for many hours all these days... Maybe its the wrong OS version (minor differences?)... But i am searching for CentOS 5.1 and its nowhere... only 5.2... is there any links that i can download this image?

Thanks..
Reply With Quote
  #4  
Old 13th October 2008, 13:47
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Okay maybe if you state exactly what your problem is then i could help.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #5  
Old 13th October 2008, 18:01
gsp gsp is offline
Member
 
Join Date: Oct 2008
Posts: 45
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks for your willing to help!..

So, after many many re-installs and re-configurations i have reached at this point:

-New accounts are created, they are able to send e-mails

-If the administrator user creates a folder there is no-way to delete it afterwards (permission denied)

-Isn't needed to create the cyrus admin user first? Because in config files there is an account cyrus with blank password...and of course imp cannot login..

-Finally there is something with horde's config because when first loading a page not all menus are shown except if i press reload button

When i was installing the packages i noticed some errors on php packets about 'file not found' from tmp directory and something like this but couldn't find any logs for this...

I know there are a lot and various problems, thats why i am wondering if they are due to different version from 5.1 to 5.2...

Thank you for your time
Reply With Quote
  #6  
Old 14th October 2008, 09:31
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

It could be the version difference. The admin user cyrus is just a backup user, the admin user in the mysql database is the user to be used to configure stuff.

Given imp cannot login does it mean users cannot see their mail ? if so does a normal connection on the command line authenticate ?
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #7  
Old 11th February 2010, 21:53
rooff rooff is offline
Junior Member
 
Join Date: Feb 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem whith horde

I install horde , cypus-imap , mysql ....
All service are up .
https://94.20.94.130/
In logs :
/var/logs/maillog
-------------------
Feb 12 08:50:32 localhost imap[2406]: badlogin: [94.20.94.130] PLAIN [SASL(-13): authentication failure: Password verification failed]
Feb 12 08:50:38 localhost last message repeated 2 times
Feb 12 08:50:42 localhost imap[2410]: accepted connection
Feb 12 08:50:42 localhost imap[2410]: badlogin: [94.20.94.130] PLAIN [SASL(-13): authentication failure: Password verification failed]
Feb 12 08:50:48 localhost last message repeated 2 times
Feb 12 08:50:52 localhost imap[2406]: accepted connection
Feb 12 08:50:52 localhost imap[2406]: badlogin: [94.20.94.130] PLAIN [SASL(-13): authentication failure: Password verification failed]

/tmp/horde.log
------------------

Feb 12 08:44:02 HORDE [error] [imp] FAILED LOGIN 94.20.7.30 to 94.20.94.130:143[imap/notls] as rufat@tdir.delta-telecom.net [on line 258 of "/usr/share/horde/imp/lib/Auth/imp.php"]
Feb 12 08:48:59 HORDE [error] [imp] FAILED LOGIN 94.20.7.30 to 94.20.94.130:143[imap/notls] as rufat@tdir.delta-telecom.net [on line 258 of "/usr/share/horde/imp/lib/Auth/imp.php"]
Feb 12 08:51:01 HORDE [error] [imp] FAILED LOGIN 94.20.7.30 to 94.20.94.130:143[imap/notls] as rufat@tdir.delta-telecom.net [on line 258 of "/usr/share/horde/imp/lib/Auth/imp.php"]

configuration :
/etc/imapd.conf
----------------------------------configdirectory: /var/lib/imap
servername: TDS-IMAP/POP3
partition-default: /var/spool/imap
virtdomains: on
defaultdomain: tdir.delta-telecom.net
admins: rufat@tdir.delta-telecom.net
postmaster: support@tdir.delta-telecom.net
quotawarn: 85
lmtp_over_quota_perm_failure: 1
lmtp_strict_quota: 1
autocreatequota: 10240
createonpost: 1
autocreateinboxfolders: sent-mail|drafts|spam|trash
autosubscribeinboxfolders: sent-mail|drafts|spam|trash
autocreate_sieve_script: /etc/default_sieve
autocreate_sieve_compiledscript: /etc/default_sieve_script.bc
sievedir: /var/lib/imap/sieve
md5_dir: /var/lib/imap/md5
#sievenotifier: sms
#sendsms: /usr/bin/mysmsprog
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
allowplainwithouttls: 0
tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
loglevel: info


-----------------
OS Centos 5.4
Please help

Last edited by rooff; 11th February 2010 at 21:57.
Reply With Quote
  #8  
Old 11th February 2010, 22:16
rooff rooff is offline
Junior Member
 
Join Date: Feb 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default More

I find this .

/var/log/secure

Feb 12 09:15:45 localhost saslauthd[3172]: pam_mysql - MySQL error (Access denied for user 'horde'@'localhost' (using password: YES))
Feb 12 09:15:48 localhost saslauthd[3174]: pam_mysql - MySQL error (Access denied for user 'horde'@'localhost' (using password: YES))
Feb 12 09:15:48 localhost saslauthd[3176]: pam_mysql - MySQL error (Access denied for user 'horde'@'localhost' (using password: YES))
Feb 12 09:15:51 localhost saslauthd[3178]: pam_mysql - MySQL error (Access denied for user 'horde'@'localhost' (using password: YES))
Feb 12 09:15:51 localhost saslauthd[3180]: pam_mysql - MySQL error (Access denied for user 'horde'@'localhost' (using password: YES))
Feb 12 09:15:54 localhost saslauthd[3182]: pam_mysql - MySQL error (Access denied for user 'horde'@'localhost' (using password: YES))
Reply With Quote
  #9  
Old 12th February 2010, 08:10
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

The password pam is using to connect to the database is not correct fix that and you will be sorted.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #10  
Old 12th February 2010, 13:45
rooff rooff is offline
Junior Member
 
Join Date: Feb 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default new problem

Every think is work .
but when try to send mail there an error :
/var/log/exim/panic.log
-----------------------------
2010-02-13 00:37:00 1Ng2G4-0003D5-0w malware acl condition: clamd: ClamAV returned /var/spool/exim/scan/1Ng2G4-0003D5-0w: lstat() failed: Permission denied. ERROR

Please help.
Reply With Quote
Reply

Bookmarks

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1 Dutchy63 HOWTO-Related Questions 9 9th October 2008 12:50
Mail Server Setup With Exim, MySQL, Cyrus-Imapd, Horde Webmail On Centos 5.1 gueland HOWTO-Related Questions 3 28th August 2008 11:21
User constantly loggin into mail? bswinnerton Installation/Configuration 2 24th March 2008 00:12
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
Install ISPConfig on CentOS Server, in brief gfts Tips/Tricks/Mods 11 4th April 2006 08:29


All times are GMT +2. The time now is 22:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.