![]() |
Centos 5.2 - ISPconfig 3 installation and it's bugs/problems
First of all, i would like to say, this so called "perfect" installation of ISPconfig on Centos 5.2 is broken.
- One of the things that is firstly wrong is, that yum repositories dont have mysql precompiled postfix at all. (not even dag one) So... this makes whole mailserver broken with this distribution. Other than that, after i fixed problems with recompiling postfix and enabling mysql support, i ran into another problem. the path of maildrop in master.cf of postfix is wrong. - Default installation of maildrop with the centos installation guide is /usr/bin/maildrop, so that should be fixed. You can simply solve it with symbolic link of course. - I have noticed few ajax issues/errors. Sometimes ISPconfig just blocks, and freezes the window. Fortunately it doesn't happen too often. Although, if you are adding a mailbox at that time (like i was), things can get messy. For example, it broke my POP3 and IMAP becouse maildirmake wasn't executed properly and cur, new and tmp directories weren't made properly. Currently biggest issue i currently have is: Feb 16 04:11:38 ibex postfix/pipe[18205]: F04DB1A18013: to=<xxx.xxx@xxx.net>, relay=maildrop, delay=5073, delays=5073/0.27/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to open mailbox. ) I'm not sure where to start searching for answers to this error, since i was always using Qmail so far on my servers. It's my first time i'm looking at postfix which is supported by ISPconfig which i wanted to try out on the new server i made. I have feeling there must be something with maildrop and mailfilters... not sure. Is there any way i can try "delivering email" manually by su-ing into vmail user and maildroping it manually to the user by issuing it with a command ? That would actually show me where the problem lays. Or maybe how could i log what everything is maildrop doing... in some log file or something... my current maildroprc is: logfile "/var/log/maildrop.log" VERBOSE=5 But for now in maildrop.log i dont have any lines unfortunately. |
ok...
ok i was searching the web how to test this thing... and i found out this:
Quote:
oh yea and sorry for the long post. |
When i modified my master.cf, to look like this:
Quote:
Quote:
Quote:
Quote:
|
finally got this solved.
Here is for all of you who wondered why this thing doesnt work: In master.cf you need: Quote:
Best regards to everyone. Maybe someone finds this thing useful after all. Sorry for the monologues though ;) |
Just a quick note I had the same issue on Ubuntu 8.10, and the same fix did it!
|
I'm glad this solves issues to newly installed ISPconfig 3's
|
Also on centos 5.2 default installation of postfix logs all messages to /var/log/maillog which isn't very useful for ispconfig, since it tracks /var/log/mail.log, mail.warn and mail.err
you may want to edit your /etc/syslog.conf and change mail line to: Quote:
Another note is about syslog facility of pure-ftpd. Default installation will log all to syslog. If you dont want to get flooded with: Quote:
Quote:
Clamd also logs in other file, so find and edit LogFile in /etc/clamd.conf to this: Quote:
|
Also if you haven't specified a particular outside ip address at installation, default behaviour in ISPconfig would be adding vhosts as *:80 ... this can bring problems with more vhosts, becouse it wont show vhosted websites, but transfer you to the default one. To fix this, add:
Quote:
|
Do you have itemized steps with recompiling postfix with support for mysql? Also, what steps did you do to apply the recomplied postfix to a broken install?
I am getting: postfix/smtpd[21820]: fatal: unsupported dictionary type: mysql postfix/master[5651]: warning: process /usr/libexec/postfix/smtpd pid 21820 exit status 1 postfix/master[5651]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling postfix/qmgr[21821]: fatal: unsupported dictionary type: mysql postfix/master[5651]: warning: process /usr/libexec/postfix/qmgr pid 21821 exit status 1 postfix/master[5651]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling so I believe that the postfix issue is applying to me. I am very new to postfix (previous servers had be using sendmail). |
you installed non-mysql precompiled postfix from repository (which i mentioned before in posts, so i had same problem as you), you need to yum remove it and install mysql precompiled one. Here is the link to doing that, and building a rpm of postfix with mysql enabled:
http://www.swimminginthought.com/?p=41 Dont worry about the warnings, there will be plenty when compiling this rpm :) Dont forget to remove your old postfix before installing this one... |
| All times are GMT +2. The time now is 07:48. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.