Postfix limit

Postfix a way to limit the frequency of brute force?
In file /usr/local/etc/postfix/main.cf place something like the following:
Code:
...
# RATE THROTTLING
smtpd_client_connection_rate_limit = 20
smtpd_error_sleep_time = 10s
smtpd_soft_error_limit = 3
smtpd_hard_error_limit = 5
...

Read More

Diplaying Logs with journalctl [CentOS7]

To simply view the logs on your system, you can execute the following command:
journalctl
This will display the logs with the oldest entries first. Although this is simple, it is not very useful since we do not tend to read logs like a book.
By default journalctl displays the logs in a pager. It shows you one page of logs requiring you to hit the space bar to proceed.
Diplaying Logs by Date Read More

How to Upgrade Payara Server

The answer to the question of “how do I upgrade?” is always “it depends”, because everyone’s situation is going to be slightly different. This blog will cover some of the most straightforward ways which should apply in the majority of cases.
Either of the following two methods would work in most circumstances:
Backing up and restoring the existing configuration to a new installation
Maintaining completely separate domain and node directories and pointing the new version to the existing directories Read More

Posfix making sense of delays in mail

The maillog is easy enough to follow, but when you understand what all the delay and delays numbers mean then this may help really understand what is going on!
A standard email entry in postfix looks like:
Jan 10 10:00:00 testmtr postfix/smtp[20123]: 34A1B160852B: to=, relay=mx1.example.lan[1.2.3.4]:25, delay=0.49, delays=0.2/0/0.04/0.25, dsn=2.0.0, status=sent
Read More

Install ruTorrent on xbian

Install and configure apache server:
sudo apt-get install apache2 apache2-utils libapache2-mod-php5
Configure Apache
Enable auth_digest module for ruTorrent authentication, SSL, and reqtimeout.

sudo a2enmod auth_digest ssl reqtimeout
Open apache2.conf

sudo nano /etc/apache2/apache2.conf
Edit or add the following lines:

Timeout 30
ServerSignature Off
ServerTokens Prod

Read More

If you nead, automated certificate expiration checks on CentOS Linux

One important part of using SSL is to keep track of expiration dates on certificates. Most client software will rightfully refuse to connect to a server that presents an expired certificate, resulting in interrupted services. For CentOS and other RHEL based distributions, the crypto-utils package contains a very useful utility called certwatch, which can be used to detect whether a certificate will expire in the near future. Read More

Yum Timeout Slow Connection

For this particular situation the ISP (will rename un-named) had burstable-bandwidth. However, that became an issue when attempting to do a yum update. Here’s the workaround that let us download the updates no matter what the bandwidth was:

nano /etc/yum.conf

Read More