Squirrelmail on DA 1.2

Hello,

I forgot to restart apache in the update. Just restart apache to get it going. Also xinetd doesn't seem to restart automatically during the update either (it *is* called), so if you don't have IMAP, you'll need to restart xinetd:

service xinetd restart

John
 
The SM alias is not showing up in /etc/httpd/conf/httpd.conf.

Code:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
won't fix either.

How can I update httpd.conf?
 
Hello,

The update script should have done it for you.. As long as the bottom of the file wasn't tampered with... it uses:
Code:
/usr/bin/perl -pi -e 's/Start DirectAdmin Settings/Start DirectAdmin Settings\nAlias \/squirrelmail \/var\/www\/html\/squirrelmail\//' /etc/httpd/conf/httpd.conf;
It basically just makes the bottom of the httpd.conf (before the includes and virtualhosts) look like:
Code:
#Start DirectAdmin Settings
Alias /squirrelmail /var/www/html/squirrelmail/
Alias /webmail /var/www/html/webmail/
Alias /config /usr/local/directadmin/scripts/redirect.php
Alias /phpMyAdmin /var/www/html/phpMyAdmin/
Alias /phpmyadmin /var/www/html/phpMyAdmin/
John
 
Ok, now httpd.conf is fixed (and httpd restarted), but it's still not working.

stat /var/www/html/squirrelmail
stat: cannot stat `/var/www/html/squirrelmail': No such file or directory
 
Hello,

Did you already have squirrelmail installed in one form or another? It checks first before running things. If /var/www/html/squirrelmail exist, it wouldn't have run the script. Also, that path is a symbolic link to squirrelmail-1.4.2, so changing versions will be much easier. (Apache has to be able to follow symbolic links)

cd /usr/local/directadmin/scripts
./squirrelmail.sh

John
 
[root@server1 customapache]# cd /usr/local/directadmin/scripts
[root@server1 scripts]# ./squirrelmail.sh
-bash: ./squirrelmail.sh: No such file or directory
 
SquirrelMail

Yeah, it seems like SquirrelMail didnt come with the package. (?)

Later When.
-The Sentinel
 
Ok thanks for the note. I use symlinks across build systems, but
use linked files instead of one directory for rh 9.0.. I've created
the link now and the 1.2 release is fixed.. for any RedHat 9.0
users, you can do the following:
Code:
cd /usr/local/directadmin/scripts
wget http://files.directadmin.com/services/9.0/squirrelmail.sh
./squirrelmail.sh

I'm not going to release a 1.201 for that because RH9 was the
only one affected, and it's a really easy fix :) (That's why I don't
force updates right away)

John
 
Alright, thanks :)

(that worked after I chown diradmin sq* and chmod 700 sq*)
 
Last edited:
I can change it but would it be possible in future versions for you to configure the folders so we don't get dupe Inbox, Sent and Trash folders by changing the default INBOX.whatever to just the name

-Inbox
-Sent
-Trash

I have been using SM for years and have always had to change this so users don't have extra folders on their computer at home.
 
/**
* The domain part of local email addresses.
* This is for all messages sent out from this server.
* Reply address is generated by $username@$domain
* Example: In [email protected], foo.com is the domain.
*/
global $domain;
$domain = 'example.com';


All mail appears as coming from
[email protected]


Any suggestions on a Fix ?
 
This is a problem with Squirrelmail, I am almost positive that they are working to change Squirrelmail so that it handels virtual domains better.

What I have always done is used my default email domain in place for example.com.
 
John,

I sent support a email...hopefully you get to read it. I would be more than willing to help you get Squirrelmail configed with special plugins and customized for DirectAdmin's use. Please let me know if I can help...
 
Back
Top