Postfix limit

Postfix a way to limit the frequency of brute force?
In file /usr/local/etc/postfix/ place something like the following:

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:


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 (more…)

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 (more…)

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[]: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

Installing Ffmpeg on xbian

For App to be able to create thumbnails and previews for video and audio files uses ffmpeg.
These instructions are specifically for version 8.0 (Jessie) of Debian/xbian.

Configure APT

Note: the commands in this section must be run as root

Add the following to the bottom of /etc/apt/sources.list:
deb jessie main non-free
deb-src jessie main non-free

Read More