Every good server must have a good antivirus installed. Let’s install ClamAV to our machine. Paths to distributions are provided to the latest versions at the time of writting. If new version releases all you need to do is to change numbers in shell command. SSH to your server Step 1. Installing prerequisites. Clam uses [...]
Archive for the ‘Exim’ Category
Installing ClamAV antivirus and integrating with Exim and pure-ftpd
Posted in Exim, SECURITY on October 4, 2009 | Leave a Comment »
Where is Mailing lists?
Posted in Cpanel, Exim on January 1, 2009 | Leave a Comment »
Please make sure that mailman is enabled at WHM >> Server Configuration >> Tweak Settings and that account in question has non-zero ?Max Mailing Lists? limit.
Resend exim emails from a mailbox
Posted in Exim, LINUX, SERVICES on December 31, 2008 | Leave a Comment »
Introduction: ========= There are a useful PERL script on Exim Wiki that resend emails from a single mailbox file. What it does is read a mailbox file (/home/username/mail/Sent for example) and, from each email inside this file it will resend email to right destinataries according Return-path or Envelope-to headers. In some cases, Exim can give [...]
How-To: Copy of incoming and outgoing mails of specific users sent to other user on Exim..
Posted in Articles, Cpanel, Exim on December 31, 2008 | Leave a Comment »
Outgoing email: ========= Turning on system_filter Just check if on exim.conf there should be a line: system_filter = /etc/antivirus.exim So, edit /etc/antivirus.exim. There should be a line on the top of this file: if not first_delivery then finish endif Ingoing email: ========= if $header_to contains “@yourdomain.com” or $header_cc contains “@yourdomain.com” or $header_bcc contains “@yourdomain.com” or [...]
Allow SMTP through port 26…
Posted in Exim, LINUX, tagged LINUX on July 2, 2008 | Leave a Comment »
With the ever growing popularity for Broad Band providers these days blocking SMTP connections on port 25 I have a quick and dirty way to allow your clients to still use your SMTP servers to send their mail without having to resort to using their broad band providers SMPT servers. I know recently I have [...]
Exim with SSL POP/SMTP/IMAP by using stunnel…
Posted in Exim, SECURITY on July 2, 2008 | Leave a Comment »
# cd /etc/stunnel [replace 'domain' with your domain] # openssl req -newkey rsa:1024 -keyout mail.domain.com.tmp.pem -nodes -x509 -days 9999 -out mail.domain.com.tmp2.pem # cat mail.domain.com.tmp.pem > mail.domain.com.pem && echo “” >> mail.domain.com.pem && cat mail.domain.com.tmp2.pem >> mail.domain.com.pem vi /etc/stunnel/stunnel.conf # stunnel configuration file # Copyright by Martin Vernooij – 2005 cert = /etc/stunnel/mail.domain.com.pem pid = /var/run/stunnel/stunnel.pid [...]
Update Exim and switch to dovecot…
Posted in DIRECTADMIN, Exim, tagged DIRECTADMIN on July 2, 2008 | Leave a Comment »
exim conf update: http://help.directadmin.com/item.php?id=51 dovecot update source:http://help.directadmin.com/item.php?id=143 The conversion guide for customapache can be found here: directadmin.com/features.php?id=590 If you’re using custombuild (apache 2.2, php5, etc), then the update procedure is: cd /usr/local/directadmin/custombuild ./build clean ./build update Then edit your options.conf. Set: dovecot=yes save, exit. Type: ./build dovecot then do (if not already applied): patch -p0 [...]
How to Upgrade SpamAssassin on DirectAdmin…
Posted in DIRECTADMIN, Exim, SECURITY, tagged DIRECTADMIN on July 2, 2008 | Leave a Comment »
First install INET6 libraries (which latest spamassassin will complain about): # yum install INET6 Kill current spamd process: # pkill -9 spamd Go here and get updatescript and follow directions on how to install it: [tools] update.script # cd /usr/local/updatescript # ./update.script UPDATEME then install: # ./update.script SPAMASSASSIN
How to enable SpamAssassin on DirectAdmin…
Posted in DIRECTADMIN, Exim, SECURITY, tagged DIRECTADMIN on July 2, 2008 | Leave a Comment »
To enable Spamassassin on your server, you need to first need to install it. Once installed a few minor changes are needed in your /etc/exim.conf file. 1) Install spamd and spamc: cd /usr/local/directadmin/scripts ./spam.sh 2) Start the spamd: /usr/bin/spamd -d -c -m 5 3) In order to get exim to use the spamd program, you’ll [...]
Changing your default IP of your exim mail server…
Posted in Cpanel, Exim, GENERAL, SECURITY on July 2, 2008 | Leave a Comment »
If you are in the danger of getting your main server IP block by SpamCop or othersĀ because you had a few anoying spamers abusing your server then you could simply change your exim mailserver IP to avoid the effect of your main IP beeing blacklisted. Below are some simple steps of changing your exim [...]