Sep 10 2017

mail Command in Shell Scripting

mail is an intelligent mail processing system which has a command syntax reminiscent of ed with lines replaced by messages.
mail is part of mailutils package in Debian-Based distros and is a very useful and powerful tool which can be used in scripts.
Continue reading


Jul 11 2012

Searching eMail messages for local users using Dovecot ‘Doveadm-Search’.

Doveadm-Search helps eMail Servers Administrators to show a list of mailbox GUIDs and message UIDs matching given search query.
Continue reading


Apr 24 2012

AMaViS: deal with SPAM, Viruses, Banned attachments, and Bad headers.

Once undesirable mail is found, AMaViS has the ability to quarantine, discard and/or allow the undesirable mail to pass and be delivered to destination address(es).
Amavisd-new can place useful information in the header of processed eMails, notifying people of taken actions and also “defang” undesirable messages.

When AMaViS “defangs” eMails, the original message can be encapsulated as attachment of a notice, delivered to destination address.
Continue reading


Nov 9 2011

eMail Headers: RFC2822 and ISO8601 date formats in Perl

In eMail headers, the Creation Date of message has to be present in order to visualize correctly the message itself in recipient’s client.

This piece of code can helps the definition of eMail Headers (for example for use in Perl BOTs Sending eMail messages).
Continue reading


May 11 2011

Dovecot & Sieve Message Filtering

Sieve support for Dovecot allows users to filter incoming messages by writing scripts specified in the Sieve language (RFC 5228).
Continue reading