Updating ClamAV to Latest Stable Release for Atmail

Requirements A backup of your /usr/local/atmail/av/etc/clamd.conf file. A backup of your /usr/local/atmail/av/etc/freshclam.conf file. zlib-devel, or libz-devel libraries A post-3.2 version of GCC Instructions Download the newest clam software from clamav.net. See the « Stable Releases » page for info. If you have concerns in relation to security, and feel that you need to verify the integrity of […]

En Lire Plus

Some atmail/exim commands for searching and managing the message queue

# start/stop/restart atmail /etc/init.d/atmailserver start /etc/init.d/atmailserver stop /etc/init.d/atmailserver restart # count of messages in queue /usr/local/atmail/mailserver/bin/exim -bpc # list of messages in queue /usr/local/atmail/mailserver/bin/exim -bp # Freeze message /usr/local/atmail/mailserver/bin/exim -Mf 1UQh1e-00071v-Q5 # Remove messages older than 86400 (1 day) /usr/local/atmail/mailserver/bin/exiqgrep -o 86400 -i | xargs /usr/local/atmail/mailserver/bin/exim -Mrm # Delete message that contain ‘a certain string’ […]

En Lire Plus

Queue Exim

Show mails in queue 1 /usr/local/atmail/mailserver/bin/exim –bp Show a table overview of the mails in the queue 1 /usr/local/atmail/mailserver/bin/exim –bp | /usr/local/atmail/mailserver/bin/exiqsumm Show the number of mails in the queue 1 /usr/local/atmail/mailserver/bin/exim –bpc Deliver local mails 1 /usr/local/atmail/mailserver/bin/exim –v –M {MAIL ID} Deliver all mails in queue as far as possible 1 /usr/local/atmail/mailserver/bin/exim –q Deliver […]

En Lire Plus

Activer TLS dans postfix

Tout d’abord, à quoi sert le TLS ? à authentifier le client et le serveur avec des certificats, et surtout chiffrer les communications SMTP en SSL de manière à ne plus faire passer les données en clair. la clé et le certificats seront installés dans /etc/postfix/tls mkdir /etc/postfix/tls cd /etc/postfix/tls Commençons par générer notre clé […]

En Lire Plus

Postscreen

Postscreen, l’exterminateur de zombies Cet article a été publié dans le numéro 147 de Gnu Linux Magazine France et mis a disposition sous Creative Common par les Editions Diamond. Il y a plus d’un an de cela, je vous présentais dans ces pages un formidable répulsif à Sus scrofa domesticus, j’ai nommé DSPAM. Au même […]

En Lire Plus

How to install multiple Postfix instances on a single host

Postfix is a general-purpose mail system that can be configured to provide a variety of services like mail relay and domain rewriting. A single Postfix configuration can provide these services to users than belong to different groups. But what can be done if a specific user group requires different configuration rules? To solve the conflict […]

En Lire Plus

Amavis, Spamassassin & ClamAV Setup

This article covers: Spam filtering setup using spamassassin Antivirus scanning using clamav Installing packages amavis, clamav, spamassassin apt-get install amavisd-new spamassassin clamav clamav-daemon arj zoo nomarch cpio lzop cabextract apt-listchanges libauthen-sasl-perl libdbi-perl libmail-dkim-perl p7zip rpm unrar-free libsnmp-perl Please note that amavis itself doesn’t do any kind of spam-checking or virus-checking. It uses spamassassin for spam-testing and […]

En Lire Plus

Postfix, Dovecot, ViMbAdmin, RoundCube

Installing packages for postfix, dovecot, mysql apt-get install postfix postfix-mysql dovecot-core dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-mysql mysql-server dovecot-sieve dovecot-managesieved If you are adding a mail server on existing system some packages might be present already. Depending on previously installed package list, you may or may not see prompts to configure mysql, postfix, etc. Choose defaults wherever […]

En Lire Plus

Queue Postfix

Quelques commandes pour gérer vos mails en queue (mailq). Traitement de Queue Postfix : Schéma des mouvements d’un message dans la Queue de Postfix : La première commande a utiliser est mailq pour voir l’état des mails (erreurs, blocage etc…). Lister les messages en Queue : postqueue -p Résultats : -Queue ID- –Size– —-Arrival Time—- -Sender/Recipient——- DBB3F1A7 […]

En Lire Plus