It is good idea to get notified when someone logs into your Linux server. First be sure that your server is able to send email (at least Postfix + valid …
Category: Postfix
Postfix queue monitoring script
Here is a small Perl script which can be useful as a Postfix queue monitor (count number of emails in Postfix queue) #!/usr/bin/env perl # postfix queue/s size # …
Find and delete files
Few months ago, I had a problem after mail server migration. The old mail server decided to die and I had to replace the complete server. I read my logs carefully (on …
Mail relay testing service
In case you want to check your mail servers for relaying, check the next link: LINK.
Postfix quota notification email script
If you want to take care about your users quota and your storage space, check this … 1. Create new file (for example quota_notify inside /usr/local/sbin/ ) 2. Copy next …
Releasing a message from a quarantine with amavisd-relase
amavisd-new is a high-performance and reliable interface between mailer (MTA) and one or more content checkers: virus scanners, and/or Mail::SpamAssassin Perl module. It is written in Perl, ensuring high reliability, …
Config mta – howto
Centos has a neat application for switching between alternative software packages, called alternatives. Few days ago I noticed that one server doesn’t send logwatch email. I wanted to see what …
How to whitelist hosts or IP addresses in Postfix
If you are administrating a mail server and use blacklists to block spam, sometimes you may have a problem with certain mail servers. This happens because a specific mail server …