HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   How do you configure SquirrelMail with ISPConfig 3 (http://www.howtoforge.com/forums/showthread.php?t=29943)

adobe 2nd January 2009 17:00

How do you configure SquirrelMail with ISPConfig 3
 
I've just successfully setup a ISPConfig 3 vps server box and I want to test if the email feature is working as intended. So, i followed these instruction to install the SquirrelMail:

Quote:

apt-get install squirrelmail
ln -s /usr/share/squirrelmail/ /var/www/webmail

Access squirrelmail:

http://192.168.0.100/webmail

To configure squirrelmail, run:

/usr/sbin/squirrelmail-configure
I used the "squirrelmail-configure" and used the option "D" and set it to use the "courier" IMAP server. When I went to test the configuration like this :

http://69.162.xxx.xxx/webmail/src/configtest.php

it said "Congratulations, your SquirrelMail setup looks fine to me!".

So, I went to login with the email I created in the ISPConfig client section and i got the following error :-

Quote:

ERROR:
ERROR: Connection dropped by IMAP server.
On the ISPConfig service monitor, it shows that all service are online.

Can someone help me figure out how to properly configure SquirrelMail with ISPConfig 3 please?

- Thanks in advance

adobe 2nd January 2009 17:11

This is the result's i got from the Config Test for SquirrelMail

Quote:

SquirrelMail version: 1.4.9a
Config file version: 1.4.0
Config file last modified: 02 January 2009 16:00:53
Checking PHP configuration...
PHP version 5.2.0-8+etch13 OK.
PHP extensions OK.
Checking paths...
Data dir OK.
Attachment dir OK.
Plugins are not enabled in config.
Themes OK.
Default language OK.
Base URL detected as: http://69.162.xxx.xxx/webmail/src (location base autodetected)
Checking outgoing mail service....
SMTP server OK ()
Checking IMAP service....
IMAP server ready (* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.)
Capabilities: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS
Checking internationalization (i18n) settings...
gettext - Gettext functions are available. You must have appropriate system locales compiled.
mbstring - Mbstring functions are available.
recode - Recode functions are unavailable.
iconv - Iconv functions are available.
timezone - Webmail users can change their time zone settings.
Checking database functions...
not using database functionality.

Congratulations, your SquirrelMail setup looks fine to me!
---[ Edit ]---

I went to check the mail.log file and there was ALLOT of entries that were similar like this. These must've been generated when i tried to send my self an email and send an email using php mail() function:

Quote:

Jan 3 01:09:43 username postfix/master[13592]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jan 3 01:09:57 username postfix/smtpd[3813]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:09:58 username postfix/master[13592]: warning: process /usr/lib/postfix/smtpd pid 3813 exit status 1
Jan 3 01:09:58 username postfix/master[13592]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jan 3 01:10:01 username imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 3 01:10:01 username imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Jan 3 01:10:01 username courierpop3login: Connection, ip=[::ffff:127.0.0.1]
Jan 3 01:10:01 username courierpop3login: Disconnected, ip=[::ffff:127.0.0.1]
Jan 3 01:10:43 username postfix/local[3925]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:10:44 username postfix/master[13592]: warning: process /usr/lib/postfix/local pid 3925 exit status 1
Jan 3 01:10:44 username postfix/master[13592]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jan 3 01:10:58 username postfix/smtpd[3930]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:10:59 username postfix/master[13592]: warning: process /usr/lib/postfix/smtpd pid 3930 exit status 1
Jan 3 01:10:59 username postfix/master[13592]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jan 3 01:11:44 username postfix/local[3987]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:11:45 username postfix/master[13592]: warning: process /usr/lib/postfix/local pid 3987 exit status 1
Jan 3 01:11:45 username postfix/master[13592]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jan 3 01:11:59 username postfix/smtpd[4019]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:12:00 username postfix/master[13592]: warning: process /usr/lib/postfix/smtpd pid 4019 exit status 1
Jan 3 01:12:00 username postfix/master[13592]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jan 3 01:12:45 username postfix/local[5129]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:12:46 username postfix/master[13592]: warning: process /usr/lib/postfix/local pid 5129 exit status 1
Jan 3 01:12:46 username postfix/master[13592]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jan 3 01:13:00 username postfix/smtpd[5140]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:13:01 username postfix/master[13592]: warning: process /usr/lib/postfix/smtpd pid 5140 exit status 1
Jan 3 01:13:01 username postfix/master[13592]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jan 3 01:13:46 username postfix/local[5285]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:13:47 username postfix/master[13592]: warning: process /usr/lib/postfix/local pid 5285 exit status 1
Jan 3 01:13:47 username postfix/master[13592]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jan 3 01:14:01 username postfix/smtpd[5287]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:14:02 username postfix/master[13592]: warning: process /usr/lib/postfix/smtpd pid 5287 exit status 1
Jan 3 01:14:02 username postfix/master[13592]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jan 3 01:14:47 username postfix/local[5358]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:14:48 username postfix/master[13592]: warning: process /usr/lib/postfix/local pid 5358 exit status 1
Jan 3 01:14:48 username postfix/master[13592]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jan 3 01:15:01 username courierpop3login: Connection, ip=[::ffff:127.0.0.1]
Jan 3 01:15:01 username courierpop3login: Disconnected, ip=[::ffff:127.0.0.1]
Jan 3 01:15:01 username imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 3 01:15:01 username imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Jan 3 01:15:02 username postfix/smtpd[5438]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:15:03 username postfix/master[13592]: warning: process /usr/lib/postfix/smtpd pid 5438 exit status 1
Jan 3 01:15:03 username postfix/master[13592]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jan 3 01:15:48 username postfix/local[5465]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:15:49 username postfix/master[13592]: warning: process /usr/lib/postfix/local pid 5465 exit status 1
Jan 3 01:15:49 username postfix/master[13592]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jan 3 01:16:03 username postfix/smtpd[5496]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:16:04 username postfix/master[13592]: warning: process /usr/lib/postfix/smtpd pid 5496 exit status 1
Jan 3 01:16:04 username postfix/master[13592]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Jan 3 01:16:49 username postfix/local[5522]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:16:50 username postfix/master[13592]: warning: process /usr/lib/postfix/local pid 5522 exit status 1
Jan 3 01:16:50 username postfix/master[13592]: warning: /usr/lib/postfix/local: bad command startup -- throttling
Jan 3 01:17:04 username postfix/smtpd[5593]: fatal: open database /etc/aliases.db: No such file or directory
Jan 3 01:17:05 username postfix/master[13592]: warning: process /usr/lib/postfix/smtpd pid 5593 exit status 1
Jan 3 01:17:05 username postfix/master[13592]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
does any of this indiciate why email feature is not working on my ISPConfig setup? I run a game server and email feature is an important one. Please help.

falko 3rd January 2009 15:55

What are the outputs of
Code:

ls -la /etc/aliases*
and
Code:

ls -la /etc/postfix/aliases*
?

adobe 3rd January 2009 22:40

This is what I got :-

Quote:

username:/# ls -la /etc/aliases*
-rw-r--r-- 1 root root 77 Jan 2 15:12 /etc/aliases
-rw-r--r-- 1 root root 12288 Jan 3 01:29 /etc/aliases.db
Quote:

username:/# ls -la /etc/postfix/aliases*
ls: /etc/postfix/aliases*: No such file or directory
What do you make it?
________
Ford MTX transmission
________
Escape

adobe 4th January 2009 04:23

Oh yea, come to think of it, when i was setting up the ISConfig according to the instruction manual, i was installing these packages :-

Quote:

apt-get install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert libapache2-mod-php5 php5 php5-common php5-gd php5-mysql php5-imap phpmyadmin php5-cli php5-cgi libapache2-mod-fcgid
on my debian VPS and this message popped up :-

http://i43.tinypic.com/micfmb.png

There was no mention of this on the manual, so i pressed ok on the "yes" choice since it was already selected by default.

Could this be why email isn't working properly for me?

till 4th January 2009 12:44

Selecting yes was the correct choice. To install squirrelmail, run these commands:

apt-get install squirrelmail
ln -s /usr/share/squirrelmail/ /var/www/webmail

there is no further steps or configuration nescessary.

falko 4th January 2009 12:50

Quote:

Originally Posted by adobe (Post 162699)
This is what I got :-





What do you make it?

What's the output of
Code:

ls -la /var/spool/postfix/etc/aliases*
?

What's in /etc/postfix/master.cf?

adobe 5th January 2009 02:15

Never mind, i give up on this. I am going with OpenVZ with HyperVM and Lxadmin.

I will give up looking for free stuff. I come to a conclusion that nothing will beat paid software, even if it's DEAD CHEAP. I'd rather pay $10 / Month; than loose my time/effort and get angry and loose sleep over nothing.
________
Yamaha Y8950
________
Big-Block engine

calocen 9th January 2009 11:22

Did you test this?
http://pve.proxmox.com

Is a very good openvz/kvm manager. In fact is what I use to create preconfigured ispconfig 3 machines.


All times are GMT +2. The time now is 18:27.

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