SPF record and domain keys

ARUN Posted in SPAMMING, Uncategorized
0

To set SPF records and domain keys in cpanel server login to cpanel >> Email Authentication >> and there you can enable the SPF record and the Domain keys.

Or

/usr/local/cpanel/bin/spf_installer UN

/usr/local/cpanel/bin/domain_keys_installer UN

Or you can use the script

for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/domain_keys_installer $i ;done

Or

To enable Domain keys by default for all the accounts created.

Edit /scripts/postwwwacct and adding:

================

my %OPTS = @ARGV;
my $user = $OPTS{’user’};
/usr/local/cpanel/bin/domain_keys_installer $user

================

 

To install SPF record for all the domains use :

for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/spf_installer $i ;done

Redirect domain with WWW to Without WWW

ARUN Posted in Uncategorized
0

Open .htaccess and paste the following

==
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^a24uall\.info
RewriteRule (.*) http://a24uall.info/$1 [R=301,L]
====================================

OR

======================

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^(.*)$ http://www.a24uall.info/$1 [R=301,L]

======================

Clamscan freshclam error

ARUN Posted in Uncategorized
0

[root@localhost ~]# freshclam
ERROR: Please edit the example config file /usr/local/etc/freshclam.conf
ERROR: Can’t open/parse the config file /usr/local/etc/freshclam.conf
[root@localhost ~]#

Solution :

Just comment out (or delete) the line in the two .conf
files that says:
# Comment it out
#Example

Global Nameservers

ARUN Posted in Uncategorized
0

nameserver 208.67.220.220

nameserver 208.67.222.222