View Single Post
  #3  
Old 22nd May 2006, 14:26
trueshanti trueshanti is offline
Member
 
Join Date: May 2006
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i didnt like the www-part either .. makes nasty aliases in roundcubemail with auto-created users

so i fixed some libs
Code:
root#:>/root/ispconfig.bak/scripts/lib/classes# diff ispconfig_postfix.lib.php ispconfig_postfix.lib.php.orig
203c203
<             if(!empty($web["web_host"]) and trim($web["web_host"]) != www and trim($web["web_web_domain"]) != "somesubdomain"){
---
>             if(!empty($web["web_host"])){
303,308c303,307
<
<           if(trim($web["web_host"]) != "" and trim($web["web_host"]) != www ){
<                $virtualdomain = $web["web_host"].".".$web["web_domain"];
<                 } else {
<                $virtualdomain = $web["web_domain"];
<               }
---
>           if(trim($web["web_host"]) != ""){
>             $virtualdomain = $web["web_host"].".".$web["web_domain"];
>           } else {
>             $virtualdomain = $web["web_domain"];
>           }
339c338
<               if(trim($codomain["domain_host"]) != "" and trim($codomain["domain_host"]) != www){
---
>               if(trim($codomain["domain_host"]) != ""){
419c418
< ?>
---
> ?>
\ No newline at end of file
i also make some template-changes vor named and procmail but non for postfix

-c-
Reply With Quote