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 […]
Catégorie: Mail
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’ […]
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 […]
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é […]
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 […]
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 […]
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 […]
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 […]
How To Log Emails Sent With PHP’s mail() Function To Detect Form Spam
Version 1.0 Author: Till Brehm <t [dot] brehm [at] ispconfig [dot] com> Last edited 07/10/2009 If you are running a webserver you might have faced the problem already: somewhere on your server is a vulnerable contact form or CMS system written in PHP that gets abused by spammers to send emails trough your server. If […]
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 […]