Recent Posts

Pages: [1] 2 3 ... 10
1
E-Mail / Re: Using sendgrid,mailgun,sparkpost as default smtp
« Last post by Sandeep on Today at 12:30:14 PM »
you need to configure postfix for that, the configuration procedure is the same and you'll found many tutorials regarding this
2
SSL / Re: after changing port cannot login to ssh
« Last post by Sandeep on Today at 12:28:50 PM »
if you've csf firewall enabled then you need to add the port to it.
3
Informations / Re: location of letsencrypt vhost template wanted
« Last post by Sandeep on Today at 12:26:53 PM »
thanks, but thats not the template is it?

that is the current one is it not? I need the template so i can change it just like an normal vhost template such as domain.com:2031/index.php?module=vhost_tpl
Le doesn't have any template
4
Informations / Re: location of letsencrypt vhost template wanted
« Last post by martexx on Today at 11:56:26 AM »
thanks, but thats not the template is it?

that is the current one is it not? I need the template so i can change it just like an normal vhost template such as domain.com:2031/index.php?module=vhost_tpl
5
Informations / install and configure Spamassassin
« Last post by martexx on Today at 11:53:53 AM »
It seems that spamassasin gets installed by centos web panel but not used.

To enable it do the following on your own risk!:

(Im on Centos 6, clean install)

yum -y update
yum -y install spamassassin
groupadd spamfilter
useradd -g spamfilter -s /bin/false -d /usr/local/spamassassin spamfilter
chown spamfilter: /usr/local/spamassassin

echo "## Required_hits: This determines the filter balance; the lower the score the more aggressive the filter.
# A setting of 5.0 is generally effective for a small organisation or a single user.
# Adjust the strictness score to your organization's needs - a large medical organisation might want  to let email items
# through that are trying to sell pharmaceuticals, so we might increase the level to a more modest 8.0.
required_hits 5
## Report_safe:  This line determines whether to delete the item or to move the item to the inbox whilst appending
# a spam notice to the subject line. The levels for this line are set to either a 1 or 0. A score of 1 will delete the spam item,
# whereas a score of 0 will send the item to the inbox and rewrite the subject line.
report_safe 0
rewrite_header Subject [**SPAM**]
## Required_score: This line sets the spam score for all email allowed through to your domain, with levels of certainty set from 0 to 5.
# Zero would be classified as a legitimate email item, whereas 5 would be an definite 'SPAM' item.  If we set the score to 3 we would catch a
# lot of unsolicited emails but quite a few false positives would still get through. For our example email server we will use the score of 5,
# but you can of course set this value according to your preference.
required_score 5.0" > /etc/mail/spamassassin/local.cf


echo "# Options to spamd
SAHOME="/usr/local/spamassassin"
SPID_DIR="/var/run/spamassassin"
SUSER="spamfilter"
SPAMDOPTIONS="-d -c -m5 --username ${SUSER} -H ${SAHOME} -s ${SAHOME}/spamfilter.log" > /etc/sysconfig/spamassassin

service spamassassin start
chkconfig spamassassin on


#edit /etc/postfix/master.cf and replace:

#
# Postfix master process configuration file.  For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ***** Unused items removed *****
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
  -o content_filter=smtp-amavis:127.0.0.1:10024
  -o receive_override_options=no_address_mappings
#
## Enable SMTP on port 587 only for authenticated/TLS clients
submission inet n       -       n       -       -       smtpd
  -o smtpd_enforce_tls=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject


#With :

#
# Postfix master process configuration file.  For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ***** Unused items removed *****
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
  -o content_filter=smtp-amavis:127.0.0.1:10024
  -o receive_override_options=no_address_mappings
smtp      inet  n       -       n       -       -       smtpd -o content_filter=spamassassin
spamassassin unix -     n       n       -       -       pipe user=spamfilter argv=/usr/bin/spamc -f -e  /usr/sbin/sendmail -oi -f ${sender} ${recipient}


#
## Enable SMTP on port 587 only for authenticated/TLS clients
submission inet n       -       n       -       -       smtpd
  -o smtpd_enforce_tls=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject

save the file and then restart postfix



To test if SpamAssassin actually works, you can simply send an email with subject XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X to some of your email accounts (from an external one!) and once the email is received, check itís headers and you should notice something like this:

X-Spam-Flag: YES
X-Spam-Level: **************************************************
X-Spam-Status: Yes, score=1000.0 required=5.0 tests=GTUBE,RCVD_IN_DNSWL_NONE,
    TVD_SPACE_RATIO autolearn=no version=3.3.1
....
This means that SpamAssassin is doing itís job.

Maybe the developer can inlcude smth like this to his setup when installing, or just dont install spamassassin ))
6
E-Mail / Re: Using sendgrid,mailgun,sparkpost as default smtp
« Last post by dormeo on Today at 11:05:29 AM »
somebody please!
7
CentOS 6 Problems / Re: Centos server restarts, would like to know why?
« Last post by johnny09 on Today at 10:01:31 AM »
Thats what I am trying to find out.
Reconfigured my router, added mod security, now it looks better....

But how to know if someone else restarted my server??? Were and what to look at???
8
CentOS 6 Problems / Re: suphp not working ... security issue
« Last post by botonakis on Today at 09:45:57 AM »
CWP cannot run in windows server. Maybe you are confused.

Enable antivirus into CWP and mod_security and disable php_functions: eval(), exec() for client accounts.
9
are you sure the server restarts by itself?
10
CentOS 6 Problems / Re: mysql errors
« Last post by botonakis on Today at 09:43:12 AM »
open my.cnf file and send here your configuration.

Pages: [1] 2 3 ... 10