Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-24, 10:44:48

Author Topic: Problems with webmail and spam.  (Read 11005 times)

0 Members and 1 Guest are viewing this topic.

Offline Guillermo leon

  • Junior Member
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Problems with webmail and spam.
« on: 2013-09-05, 05:03:00 »
hello, it's me again by the forum for help ..

Install latest version kloxo fork, since the last time did not want to run webmail when I send an email appears as spam ...

When entering: webmail.mydomain.com says that the page has not been found, and thus can not work.

I tried everything and I can not run the service webmail.mydomain.com

try sending an email with Thunderbird and when checking in gmail appeared in the spam bin. all emails sent from my website come to the spam bin in others as hotmail, gmail. etc!

I really appreciate it your help with this.  :D
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems with webmail and spam.
« Reply #1 on: 2013-09-05, 13:30:38 »
Inform your 'sh /script/sysinfo'.

Have you try 'sh /script/fix-all; sh /script/restart-all'?.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Guillermo leon

  • Junior Member
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Problems with webmail and spam.
« Reply #2 on: 2013-09-05, 20:10:41 »
hello again brother, thank you very much for responding.

this is the data you asked:

A. Kloxo-MR: 6.5.0.f-2013090201

B. OS: CentOS release 6.4 (Final) i686

C. Apps:
   1. MySQL: mysql-5.5.29-1.el6.i686
   2. PHP: php53u-5.3.27-1.ius.el6.i686
   3. Httpd: httpd-2.2.25-1.el6.i686
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.27.mr.el6.i686
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.i686
   7. Dns: bind-9.9.3-4.P2.el6.i686

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:           499        469         29          0         21        177
   -/+ buffers/cache:        270        228
   Swap:            0          0          0


------------------------------------------------

to execute the command sh / script / restart-all - it looks like this:

« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems with webmail and spam.
« Reply #3 on: 2013-09-05, 20:18:47 »
Look like something wrong with socket for gbasolutiongroup. Check inside /home/php-fpm/sock.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Guillermo leon

  • Junior Member
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Problems with webmail and spam.
« Reply #4 on: 2013-09-05, 20:32:27 »
Hi, look in the directory and found these two empty files

admin.sock
apache.sock
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems with webmail and spam.
« Reply #5 on: 2013-09-05, 20:37:10 »
Hmmm, inform here 'dir /etc/php-fpm.d'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Guillermo leon

  • Junior Member
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Problems with webmail and spam.
« Reply #6 on: 2013-09-05, 20:46:11 »
admin.conf:

[admin]
#listen = 127.0.0.1:57797
listen = /home/php-fpm/sock/admin.sock

listen.backlog = -1
listen.allowed_clients = 127.0.0.1
user = admin
group = admin
pm = dynamic
pm.max_children = 6
pm.start_servers = 4
pm.min_spare_servers = 2
pm.max_spare_servers = 4
pm.max_requests = 1000
;pm.status_path = /status
;ping.path = /ping
;ping.response = pong
request_terminate_timeout = 120s
request_slowlog_timeout = 30s
slowlog = /var/log/php-fpm/slow.log
rlimit_files = 1024
rlimit_core = 0
;chroot =
;chdir = /var/www
catch_workers_output = yes
security.limit_extensions = .php .php3 .php4 .php5

env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp

;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f webmaster@domain.com
;php_flag[display_errors] = off
php_admin_value[error_log] = /var/log/php-fpm/error.log
php_admin_value[session.save_path] = /var/lib/php/session
php_admin_flag[log_errors] = on
;php_admin_value[memory_limit] = 64M


PD: sorry for my ignorance and so much hassle for you ..!
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems with webmail and spam.
« Reply #7 on: 2013-09-05, 21:25:24 »
Look like php-fpm config match with their socket.

So, 1 possiblility is content of domain configs for httpd inside /home/apache/conf/domains have wrong reference to other php-fpm socket.

Try, 'rm -f /home/apache/conf/domains/*; sh /script/fixweb; sh /script/restart-web'. And then better reboot.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Guillermo leon

  • Junior Member
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Problems with webmail and spam.
« Reply #8 on: 2013-09-05, 22:33:05 »
This is the content of / home / apache / conf / domains / :

### begin - web of 'gbasolutionsgroup.com' - do not remove/modify this line


NameVirtualHost 192.241.254.90:80
NameVirtualHost 192.241.254.90:443


## webmail for 'gbasolutionsgroup.com' handled by ../defaults/webmail.conf


## web for 'gbasolutionsgroup.com'
<VirtualHost 192.241.254.90:80>

    ServerAdmin www.gbasolutionsgroup.com

    DocumentRoot "/home/admin/gbasolutionsgroup.com/"

    DirectoryIndex index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl

    Alias /__kloxo "/home/admin/kloxoscript/"

    Redirect /kloxo "https://cp.gbasolutionsgroup.com:7777"
    Redirect /kloxononssl "http://cp.gbasolutionsgroup.com:7778"

    Redirect /webmail "http://webmail.gbasolutionsgroup.com"

    ScriptAlias /cgi-bin/ "/home/admin/gbasolutionsgroup.com/cgi-bin/"

    <IfModule suexec.c>
        SuexecUserGroup admin admin
    </IfModule>

    <IfModule mod_suphp.c>
        SuPhp_UserGroup admin admin
        suPHP_Configpath "/home/httpd/gbasolutionsgroup.com/"
    </IfModule>

    <IfModule mod_ruid2.c>
        RMode config
        RUidGid admin admin
        RMinUidGid admin admin
    </IfModule>

    <IfModule itk.c>
        AssignUserId admin admin

        <Location "/awstats/">
            AssignUserId apache apache
        </Location>
    </IfModule>

    <IfModule mod_fastcgi.c>
        Alias /gbasolutionsgroup.com.0fake "/home/admin/gbasolutionsgroup.com/gbasolutionsgroup.com.0fake"
        #FastCGIExternalServer "/home/admin/gbasolutionsgroup.com/gbasolutionsgroup.com.0fake" -host 127.0.0.1:57797
        FastCGIExternalServer "/home/admin/gbasolutionsgroup.com/gbasolutionsgroup.com.0fake" -socket /home/php-fpm/sock/admin.sock      
        AddType application/x-httpd-fastphp .php
        Action application/x-httpd-fastphp /gbasolutionsgroup.com.0fake

        <Files "gbasolutionsgroup.com.0fake">
            RewriteCond %{REQUEST_URI} !gbasolutionsgroup.com.0fake
        </Files>
    </IfModule>

    <IfModule mod_fcgid.c>
        <Directory "/home/admin/gbasolutionsgroup.com/">
            Options +ExecCGI
            AllowOverride All
            AddHandler fcgid-script .php
            FCGIWrapper /home/httpd/gbasolutionsgroup.com/php5.fcgi .php
            <IfVersion < 2.4>
                Order allow,deny
                Allow from all
            </IfVersion>
            <IfVersion >= 2.4>
                Require all granted
            </IfVersion>
        </Directory>
    </IfModule>

    <IfModule mod_proxy_fcgi.c>
        ProxyPass / fcgi://127.0.0.1:57797/
        ProxyPassReverse / fcgi://127.0.0.1:57797/
    </IfModule>

    <IfModule mod_php5.c>
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i"
        php_admin_value sendmail_from "gbasolutionsgroup.com"
    </IfModule>

    <Directory "/home/admin/gbasolutionsgroup.com/">
        AllowOverride All
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>
        <IfVersion >= 2.4>
            Require all granted
        </IfVersion>
        Options +Indexes +FollowSymlinks
    </Directory>

    <Location />
        Options +Includes +FollowSymlinks
    </Location>

    <Location />
        <IfModule mod_php5.c>
            php_admin_value open_basedir "/home/admin:/tmp:/usr/share/pear:/var/lib/php/session/:/home/kloxo/httpd/script:/home/kloxo/httpd/disable/:"
        </IfModule>
    </Location>

    CustomLog "/home/httpd/gbasolutionsgroup.com/stats/gbasolutionsgroup.com-custom_log" combined
    ErrorLog "/home/httpd/gbasolutionsgroup.com/stats/gbasolutionsgroup.com-error_log"

    ScriptAlias /awstats/ "/home/kloxo/httpd/awstats/wwwroot/cgi-bin/"

    Alias /awstatscss "/home/kloxo/httpd/awstats/wwwroot/css/"
    Alias /awstatsicons "/home/kloxo/httpd/awstats/wwwroot/icon/"

#    Redirect /stats "http://gbasolutionsgroup.com/awstats/awstats.pl?config=gbasolutionsgroup.com"
#    Redirect /stats/ "http://gbasolutionsgroup.com/awstats/awstats.pl?config=gbasolutionsgroup.com"
    Redirect /stats "http://gbasolutionsgroup.com/awstats/awstats.pl"
    Redirect /stats/ "http://gbasolutionsgroup.com/awstats/awstats.pl"

    <Location "/stats/">
        Options +Indexes
    </Location>

</VirtualHost>


## webmail for 'gbasolutionsgroup.com' handled by ../defaults/webmail.conf


## web for 'gbasolutionsgroup.com'
<VirtualHost 192.241.254.90:443>

    ServerAdmin www.gbasolutionsgroup.com

    <IfModule mod_ssl.c>
        SSLEngine On
        SSLCertificateFile /home/kloxo/httpd/ssl/eth0___localhost.crt
        SSLCertificateKeyFile /home/kloxo/httpd/ssl/eth0___localhost.key
        SSLCACertificatefile /home/kloxo/httpd/ssl/eth0___localhost.ca
    </IfModule>

    DocumentRoot "/home/admin/gbasolutionsgroup.com/"

    DirectoryIndex index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl

    Alias /__kloxo "/home/admin/kloxoscript/"

    Redirect /kloxo "https://cp.gbasolutionsgroup.com:7777"
    Redirect /kloxononssl "http://cp.gbasolutionsgroup.com:7778"

    Redirect /webmail "https://webmail.gbasolutionsgroup.com"

    ScriptAlias /cgi-bin/ "/home/admin/gbasolutionsgroup.com/cgi-bin/"

    <IfModule suexec.c>
        SuexecUserGroup admin admin
    </IfModule>

    <IfModule mod_suphp.c>
        SuPhp_UserGroup admin admin
        suPHP_Configpath "/home/httpd/gbasolutionsgroup.com/"
    </IfModule>

    <IfModule mod_ruid2.c>
        RMode config
        RUidGid admin admin
        RMinUidGid admin admin
    </IfModule>

    <IfModule itk.c>
        AssignUserId admin admin

        <Location "/awstats/">
            AssignUserId apache apache
        </Location>
    </IfModule>

    <IfModule mod_fastcgi.c>
        Alias /gbasolutionsgroup.com.1fake "/home/admin/gbasolutionsgroup.com/gbasolutionsgroup.com.1fake"
        #FastCGIExternalServer "/home/admin/gbasolutionsgroup.com/gbasolutionsgroup.com.1fake" -host 127.0.0.1:57797
        FastCGIExternalServer "/home/admin/gbasolutionsgroup.com/gbasolutionsgroup.com.1fake" -socket /home/php-fpm/sock/admin.sock      
        AddType application/x-httpd-fastphp .php
        Action application/x-httpd-fastphp /gbasolutionsgroup.com.1fake

        <Files "gbasolutionsgroup.com.1fake">
            RewriteCond %{REQUEST_URI} !gbasolutionsgroup.com.1fake
        </Files>
    </IfModule>

    <IfModule mod_fcgid.c>
        <Directory "/home/admin/gbasolutionsgroup.com/">
            Options +ExecCGI
            AllowOverride All
            AddHandler fcgid-script .php
            FCGIWrapper /home/httpd/gbasolutionsgroup.com/php5.fcgi .php
            <IfVersion < 2.4>
                Order allow,deny
                Allow from all
            </IfVersion>
            <IfVersion >= 2.4>
                Require all granted
            </IfVersion>
        </Directory>
    </IfModule>

    <IfModule mod_proxy_fcgi.c>
        ProxyPass / fcgi://127.0.0.1:57797/
        ProxyPassReverse / fcgi://127.0.0.1:57797/
    </IfModule>

    <IfModule mod_php5.c>
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i"
        php_admin_value sendmail_from "gbasolutionsgroup.com"
    </IfModule>

    <Directory "/home/admin/gbasolutionsgroup.com/">
        AllowOverride All
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>
        <IfVersion >= 2.4>
            Require all granted
        </IfVersion>
        Options +Indexes +FollowSymlinks
    </Directory>

    <Location />
        Options +Includes +FollowSymlinks
    </Location>

    <Location />
        <IfModule mod_php5.c>
            php_admin_value open_basedir "/home/admin:/tmp:/usr/share/pear:/var/lib/php/session/:/home/kloxo/httpd/script:/home/kloxo/httpd/disable/:"
        </IfModule>
    </Location>

    CustomLog "/home/httpd/gbasolutionsgroup.com/stats/gbasolutionsgroup.com-custom_log" combined
    ErrorLog "/home/httpd/gbasolutionsgroup.com/stats/gbasolutionsgroup.com-error_log"

    ScriptAlias /awstats/ "/home/kloxo/httpd/awstats/wwwroot/cgi-bin/"

    Alias /awstatscss "/home/kloxo/httpd/awstats/wwwroot/css/"
    Alias /awstatsicons "/home/kloxo/httpd/awstats/wwwroot/icon/"

#    Redirect /stats "https://gbasolutionsgroup.com/awstats/awstats.pl?config=gbasolutionsgroup.com"
#    Redirect /stats/ "https://gbasolutionsgroup.com/awstats/awstats.pl?config=gbasolutionsgroup.com"
    Redirect /stats "https://gbasolutionsgroup.com/awstats/awstats.pl"
    Redirect /stats/ "https://gbasolutionsgroup.com/awstats/awstats.pl"

    <Location "/stats/">
        Options +Indexes
    </Location>

</VirtualHost>


### end - web of 'gbasolutionsgroup.com' - do not remove/modify this line


--------------------------------------------------------------------------

I run the above command and this is the result:

~]# rm -f /home/apache/conf/domains/
rm: cannot remove `/home/apache/conf/domains/': Is a directory


I run the above commands:

sh /script/fixweb:


# sh /script/fixweb

- For help, type '/script/fixweb --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Web server config
- 'defaults' and 'php-fpm' at 'localhost'
- 'gbasolutionsgroup.com' ('admin') at 'localhost'


---------------------------------

~]# sh /script/restart-web

Stopping httpd:                                            [  OK  ]

Starting httpd: httpd.event: apr_sockaddr_info_get() failed for gbasolutionsgroup

httpd.event: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [  OK  ]


I restarted the server and still not working .. :/

Stopping php-fpm:                                          [  OK  ]

Starting php-fpm:                                          [  OK  ]

[root@gbasolutionsgroup ~]#
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Guillermo leon

  • Junior Member
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Problems with webmail and spam.
« Reply #9 on: 2013-09-05, 22:36:28 »
This is the content of / home / apache / conf / domains / :

### begin - web of 'gbasolutionsgroup.com' - do not remove/modify this line


NameVirtualHost 192.241.254.90:80
NameVirtualHost 192.241.254.90:443


## webmail for 'gbasolutionsgroup.com' handled by ../defaults/webmail.conf


## web for 'gbasolutionsgroup.com'
<VirtualHost 192.241.254.90:80>

    ServerAdmin http://www.gbasolutionsgroup.com

    DocumentRoot "/home/admin/gbasolutionsgroup.com/"

    DirectoryIndex index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl

    Alias /__kloxo "/home/admin/kloxoscript/"

    Redirect /kloxo "https://cp.gbasolutionsgroup.com:7777"
    Redirect /kloxononssl "http://cp.gbasolutionsgroup.com:7778"

    Redirect /webmail "http://webmail.gbasolutionsgroup.com"

    ScriptAlias /cgi-bin/ "/home/admin/gbasolutionsgroup.com/cgi-bin/"

    <IfModule suexec.c>
        SuexecUserGroup admin admin
    </IfModule>

    <IfModule mod_suphp.c>
        SuPhp_UserGroup admin admin
        suPHP_Configpath "/home/httpd/gbasolutionsgroup.com/"
    </IfModule>

    <IfModule mod_ruid2.c>
        RMode config
        RUidGid admin admin
        RMinUidGid admin admin
    </IfModule>

    <IfModule itk.c>
        AssignUserId admin admin

        <Location "/awstats/">
            AssignUserId apache apache
        </Location>
    </IfModule>

    <IfModule mod_fastcgi.c>
        Alias /gbasolutionsgroup.com.0fake "/home/admin/gbasolutionsgroup.com/gbasolutionsgroup.com.0fake"
        #FastCGIExternalServer "/home/admin/gbasolutionsgroup.com/gbasolutionsgroup.com.0fake" -host 127.0.0.1:57797
        FastCGIExternalServer "/home/admin/gbasolutionsgroup.com/gbasolutionsgroup.com.0fake" -socket /home/php-fpm/sock/admin.sock      
        AddType application/x-httpd-fastphp .php
        Action application/x-httpd-fastphp /gbasolutionsgroup.com.0fake

        <Files "gbasolutionsgroup.com.0fake">
            RewriteCond %{REQUEST_URI} !gbasolutionsgroup.com.0fake
        </Files>
    </IfModule>

    <IfModule mod_fcgid.c>
        <Directory "/home/admin/gbasolutionsgroup.com/">
            Options +ExecCGI
            AllowOverride All
            AddHandler fcgid-script .php
            FCGIWrapper /home/httpd/gbasolutionsgroup.com/php5.fcgi .php
            <IfVersion < 2.4>
                Order allow,deny
                Allow from all
            </IfVersion>
            <IfVersion >= 2.4>
                Require all granted
            </IfVersion>
        </Directory>
    </IfModule>

    <IfModule mod_proxy_fcgi.c>
        ProxyPass / fcgi://127.0.0.1:57797/
        ProxyPassReverse / fcgi://127.0.0.1:57797/
    </IfModule>

    <IfModule mod_php5.c>
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i"
        php_admin_value sendmail_from "gbasolutionsgroup.com"
    </IfModule>

    <Directory "/home/admin/gbasolutionsgroup.com/">
        AllowOverride All
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>
        <IfVersion >= 2.4>
            Require all granted
        </IfVersion>
        Options +Indexes +FollowSymlinks
    </Directory>

    <Location />
        Options +Includes +FollowSymlinks
    </Location>

    <Location />
        <IfModule mod_php5.c>
            php_admin_value open_basedir "/home/admin:/tmp:/usr/share/pear:/var/lib/php/session/:/home/kloxo/httpd/script:/home/kloxo/httpd/disable/:"
        </IfModule>
    </Location>

    CustomLog "/home/httpd/gbasolutionsgroup.com/stats/gbasolutionsgroup.com-custom_log" combined
    ErrorLog "/home/httpd/gbasolutionsgroup.com/stats/gbasolutionsgroup.com-error_log"

    ScriptAlias /awstats/ "/home/kloxo/httpd/awstats/wwwroot/cgi-bin/"

    Alias /awstatscss "/home/kloxo/httpd/awstats/wwwroot/css/"
    Alias /awstatsicons "/home/kloxo/httpd/awstats/wwwroot/icon/"

#    Redirect /stats "http://gbasolutionsgroup.com/awstats/awstats.pl?config=gbasolutionsgroup.com"
#    Redirect /stats/ "http://gbasolutionsgroup.com/awstats/awstats.pl?config=gbasolutionsgroup.com"
    Redirect /stats "http://gbasolutionsgroup.com/awstats/awstats.pl"
    Redirect /stats/ "http://gbasolutionsgroup.com/awstats/awstats.pl"

    <Location "/stats/">
        Options +Indexes
    </Location>

</VirtualHost>


## webmail for 'gbasolutionsgroup.com' handled by ../defaults/webmail.conf


## web for 'gbasolutionsgroup.com'
<VirtualHost 192.241.254.90:443>

    ServerAdmin http://www.gbasolutionsgroup.com

    <IfModule mod_ssl.c>
        SSLEngine On
        SSLCertificateFile /home/kloxo/httpd/ssl/eth0___localhost.crt
        SSLCertificateKeyFile /home/kloxo/httpd/ssl/eth0___localhost.key
        SSLCACertificatefile /home/kloxo/httpd/ssl/eth0___localhost.ca
    </IfModule>

    DocumentRoot "/home/admin/gbasolutionsgroup.com/"

    DirectoryIndex index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl

    Alias /__kloxo "/home/admin/kloxoscript/"

    Redirect /kloxo "https://cp.gbasolutionsgroup.com:7777"
    Redirect /kloxononssl "http://cp.gbasolutionsgroup.com:7778"

    Redirect /webmail "https://webmail.gbasolutionsgroup.com"

    ScriptAlias /cgi-bin/ "/home/admin/gbasolutionsgroup.com/cgi-bin/"

    <IfModule suexec.c>
        SuexecUserGroup admin admin
    </IfModule>

    <IfModule mod_suphp.c>
        SuPhp_UserGroup admin admin
        suPHP_Configpath "/home/httpd/gbasolutionsgroup.com/"
    </IfModule>

    <IfModule mod_ruid2.c>
        RMode config
        RUidGid admin admin
        RMinUidGid admin admin
    </IfModule>

    <IfModule itk.c>
        AssignUserId admin admin

        <Location "/awstats/">
            AssignUserId apache apache
        </Location>
    </IfModule>

    <IfModule mod_fastcgi.c>
        Alias /gbasolutionsgroup.com.1fake "/home/admin/gbasolutionsgroup.com/gbasolutionsgroup.com.1fake"
        #FastCGIExternalServer "/home/admin/gbasolutionsgroup.com/gbasolutionsgroup.com.1fake" -host 127.0.0.1:57797
        FastCGIExternalServer "/home/admin/gbasolutionsgroup.com/gbasolutionsgroup.com.1fake" -socket /home/php-fpm/sock/admin.sock      
        AddType application/x-httpd-fastphp .php
        Action application/x-httpd-fastphp /gbasolutionsgroup.com.1fake

        <Files "gbasolutionsgroup.com.1fake">
            RewriteCond %{REQUEST_URI} !gbasolutionsgroup.com.1fake
        </Files>
    </IfModule>

    <IfModule mod_fcgid.c>
        <Directory "/home/admin/gbasolutionsgroup.com/">
            Options +ExecCGI
            AllowOverride All
            AddHandler fcgid-script .php
            FCGIWrapper /home/httpd/gbasolutionsgroup.com/php5.fcgi .php
            <IfVersion < 2.4>
                Order allow,deny
                Allow from all
            </IfVersion>
            <IfVersion >= 2.4>
                Require all granted
            </IfVersion>
        </Directory>
    </IfModule>

    <IfModule mod_proxy_fcgi.c>
        ProxyPass / fcgi://127.0.0.1:57797/
        ProxyPassReverse / fcgi://127.0.0.1:57797/
    </IfModule>

    <IfModule mod_php5.c>
        php_admin_value sendmail_path "/usr/sbin/sendmail -t -i"
        php_admin_value sendmail_from "gbasolutionsgroup.com"
    </IfModule>

    <Directory "/home/admin/gbasolutionsgroup.com/">
        AllowOverride All
        <IfVersion < 2.4>
            Order allow,deny
            Allow from all
        </IfVersion>
        <IfVersion >= 2.4>
            Require all granted
        </IfVersion>
        Options +Indexes +FollowSymlinks
    </Directory>

    <Location />
        Options +Includes +FollowSymlinks
    </Location>

    <Location />
        <IfModule mod_php5.c>
            php_admin_value open_basedir "/home/admin:/tmp:/usr/share/pear:/var/lib/php/session/:/home/kloxo/httpd/script:/home/kloxo/httpd/disable/:"
        </IfModule>
    </Location>

    CustomLog "/home/httpd/gbasolutionsgroup.com/stats/gbasolutionsgroup.com-custom_log" combined
    ErrorLog "/home/httpd/gbasolutionsgroup.com/stats/gbasolutionsgroup.com-error_log"

    ScriptAlias /awstats/ "/home/kloxo/httpd/awstats/wwwroot/cgi-bin/"

    Alias /awstatscss "/home/kloxo/httpd/awstats/wwwroot/css/"
    Alias /awstatsicons "/home/kloxo/httpd/awstats/wwwroot/icon/"

#    Redirect /stats "https://gbasolutionsgroup.com/awstats/awstats.pl?config=gbasolutionsgroup.com"
#    Redirect /stats/ "https://gbasolutionsgroup.com/awstats/awstats.pl?config=gbasolutionsgroup.com"
    Redirect /stats "https://gbasolutionsgroup.com/awstats/awstats.pl"
    Redirect /stats/ "https://gbasolutionsgroup.com/awstats/awstats.pl"

    <Location "/stats/">
        Options +Indexes
    </Location>

</VirtualHost>


### end - web of 'gbasolutionsgroup.com' - do not remove/modify this line


--------------------------------------------------------------------------

I run the above command and this is the result:

~]# rm -f /home/apache/conf/domains/
rm: cannot remove `/home/apache/conf/domains/': Is a directory


I run the above commands:

sh /script/fixweb:


# sh /script/fixweb

- For help, type '/script/fixweb --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Web server config
- 'defaults' and 'php-fpm' at 'localhost'
- 'gbasolutionsgroup.com' ('admin') at 'localhost'


---------------------------------

~]# sh /script/restart-web

Stopping httpd:                                            [  OK  ]

Starting httpd: httpd.event: apr_sockaddr_info_get() failed for gbasolutionsgroup

httpd.event: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
                                                                 
                                                                  [  OK  ]

Stopping php-fpm:                                          [  OK  ]

Starting php-fpm:                                          [  OK  ]

-------------------------------------------------------------------

[root@gbasolutionsgroup ~]# ~]# sh /script/restart-web
-bash: ~]#: command not found
[root@gbasolutionsgroup ~]# Stopping httpd:                                                                                                                                    [  OK  ]
-bash: Stopping: command not found
[root@gbasolutionsgroup ~]# Starting httpd: httpd.event: apr_sockaddr_info_get()                                                                                         failed for gbasolutionsgroup
-bash: syntax error near unexpected token `('
[root@gbasolutionsgroup ~]# httpd.event: Could not reliably determine the server                                                                                        's fully qualified domain name, using 127.0.0.1 for ServerName
>                                                            [  OK  ]
> Stopping php-fpm:                                          [  OK  ]
> Starting php-fpm:                                          [  OK  ]


I restarted the server and still not working..  :/
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems with webmail and spam.
« Reply #10 on: 2013-09-05, 22:48:21 »
Try add line inside /etc/hosts with:
Code: [Select]
192.241.254.90 mail.gbasolutionsgroup.com mail
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Guillermo leon

  • Junior Member
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Problems with webmail and spam.
« Reply #11 on: 2013-09-06, 00:15:41 »
I can not find the directory / hosts
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems with webmail and spam.
« Reply #12 on: 2013-09-06, 00:31:55 »
not directory but 'hosts' is file.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems with webmail and spam.
« Reply #13 on: 2013-09-06, 00:33:13 »
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Guillermo leon

  • Junior Member
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Problems with webmail and spam.
« Reply #14 on: 2013-09-06, 00:44:16 »
if forgiveness is right! But I did not find the hosts file, I will try with what I mentioned ..

Thank you so much for taking the kindness to answer me, help me and give me the time .. I rewrite anything! : (
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.069 seconds with 21 queries.

web stats analysis