Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 12th June 2009, 00:25
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default

thx, that actually helped, now if you could help me out getting mail.* to work for all domains, so that basically mail.whateverdomain.com wil lead to my squirrelmail installation, that woudl be great :-)
Reply With Quote
Sponsored Links
  #12  
Old 19th June 2009, 21:58
Amorphous Amorphous is offline
Member
 
Join Date: Jun 2009
Posts: 61
Thanks: 27
Thanked 1 Time in 1 Post
Default

same problem here, installed ispconfig 3, everything was fine, 2 days, and from that on, problems like not making anymore mail accounts, using only 3- 4 mail accounts max, or it s making me only on one of the test sites, but for the tothers not making, exactlly now i m trying to reinstall ispconfig 3 on a centos 5.2 server, i hope will not get same problems ...
one other thing ... i have a domain of my own, domain.com let s say , i am trying to make mail accounts for that domain, but no chance.. isconfig created the mail account, let s say admin@domain.com , but is not receiving anything, i can send e-mails, but no receive .... the eror i m getting in the mail that i m sending from is a replay from mailer-daemon that the account doesn t exists.

one other problem is with fresh new e-mail accounts, each one of them is not registered in var/vmail/domain and trying to connect in that account newlly created i get "connection dropped by IMAP server "

any ideeas ???

i m telling again, i m reinstalling ispconfig 3 on a centos 5.3 the problems that i had were on a fedora 10 server
Reply With Quote
  #13  
Old 30th June 2009, 10:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,804
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

@Amorphus: This is all not related to this thread. If you have any problems with creating email accounts, please make a new thread.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #14  
Old 25th August 2009, 23:10
Amorphous Amorphous is offline
Member
 
Join Date: Jun 2009
Posts: 61
Thanks: 27
Thanked 1 Time in 1 Post
Default

hope this helps , i just found out myself


go to /etc/httpd/conf/sites-enabled/mail.domain.comvhost

assuming u allready created a website mail.domain.com, there u will find the virtualhost settings:

the settings initially look like this

<Directory /var/www/mail.domain.com> ( change this to /usr/share/squirrelmail )
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>

<VirtualHost *:80>
DocumentRoot /var/www/mail.domain.com/web ( change this to /usr/share/squirrelmail )

ServerName mail.domain.com
ServerAdmin webmaster@mail.domain.com ( change this with your real e-mail address , eg.: master@domain.com )

ErrorLog /var/log/ispconfig/httpd/mail.domain.com/error.log (u can leave the error logs in the same place just for not complicating the settings from webmail )

ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html

<Directory /var/www/mail.domain.com/web> ( change this to /usr/share/squirrelmail )
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>
<Directory /var/www/clients/client1/webXX/web> ( u can leave it unchanged)
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>

# cgi enabled
<Directory /var/www/clients/clientX/webXX/cgi-bin> ( leave this unchanged )
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/clients/clientX/webXX/cgi-bin/ ( leave this unchanged )
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# suexec enabled
SuexecUserGroup webXX clientX
# mod_php enabled
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@mail.domain.com" (change the e-mail address )
php_admin_value upload_tmp_dir /var/www/clients/clientX/webXX/tmp (same unchanged )
php_admin_value session.save_path /var/www/clients/clientX/webXX/tmp (unchanged )


</VirtualHost>




in the end the final vhost settings will look like this:

<quote>

<Directory /usr/share/squirrelmail>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>

<VirtualHost *:80>
DocumentRoot /usr/share/squirrelmail

ServerName mail.domain.com
ServerAdmin master@domain.com

ErrorLog /var/log/ispconfig/httpd/mail.domain.com/error.log

ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html

<Directory /usr/share/squirrelmail>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>
<Directory /usr/share/squirrelmail>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>

# cgi enabled
<Directory /var/www/clients/clientX/webXX/cgi-bin>
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/clients/clientX/webXX/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# suexec enabled
SuexecUserGroup webXX clientX
# mod_php enabled
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fmaster@domain.com"
php_admin_value upload_tmp_dir /var/www/clients/clientX/webXX/tmp
php_admin_value session.save_path /var/www/clients/clientX/webXX/tmp


</VirtualHost>

</quote>

restart httpd and ure done

Accesing http://mail.domain.com u will get the answer http://mail.domain.com/src/login.php

This is strictly for squirrelmail, but i think it can work easilly
NOTE: do not try to set the location directl;y to the src folder, it won t work trust me i tryed allready


i hope it helps u at least for me worked perfectly

Last edited by Amorphous; 25th August 2009 at 23:13.
Reply With Quote
  #15  
Old 14th September 2009, 20:51
tomnhanni tomnhanni is offline
Junior Member
 
Join Date: Sep 2009
Posts: 20
Thanks: 6
Thanked 0 Times in 0 Posts
Question

Quote:
Originally Posted by fastgrav View Post
Hi,

add the following lines in /etc/apache2/conf.d/apache2-doc

Alias /webmail /usr/share/squirrelmail/

<Directory "/usr/share/squirrelmail/">
Options Indexes FollowSymlinks
AllowOverride None
Order allow,deny
Allow from all
AddDefaultCharset off
</Directory>

and every virtual domain will have a www.virt-domain.com/webmail

Andrei

I get this:

Warning: Unknown: open_basedir restriction in effect. File(/usr/share/squirrelmail/index.php) is not within the allowed path(s): (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/usr/share/php5:/var/www/typo3_src) in Unknown on line 0

Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Fatal error: Unknown: Failed opening required '/usr/share/squirrelmail/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0
Reply With Quote
  #16  
Old 17th September 2009, 15:10
tomnhanni tomnhanni is offline
Junior Member
 
Join Date: Sep 2009
Posts: 20
Thanks: 6
Thanked 0 Times in 0 Posts
 
Default

adding this to apache directives for each Site seems to work nicely

Redirectpermanent /webmail http://MY_IP_ADDRESS/webmail

just make sure a symlink called webmail is set up in apache root im my case /var/www/ (on Debian) to /usr/share/squirrelmail/
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
Webmail on port 80, ISPConfig on port 81 wonka Installation/Configuration 5 3rd March 2007 16:46
Redirect question {SERVERNAME} for webmail Herbert Installation/Configuration 15 15th January 2007 15:05
Redirect webmail page alex916 Installation/Configuration 1 22nd February 2006 15:36
Trouble with Webmail users rodriglm Installation/Configuration 5 29th December 2005 10:18
Webmail alias aethiolas HOWTO-Related Questions 2 21st November 2005 19:21


All times are GMT +2. The time now is 02:34.


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