Top Nav

Archive | Sendmail

Configure Spamhaus In Sendmail

On Redhad, edit /etc/mail/ and add the following line towards the end of the file before the first MAILER line:

Then run:


Add RBL To Sendmail

Edit /etc/mail/ and add the following lines near the bottom of the file:

The run make to rebuild the file and restart the sendmail service.


Activate RBL Check On Plesk

From the command line, an RBL check can be activated on Plesk with the following:





> cd /root/archive
> wget
> tar -xvzf mailman-2.1.2.tar.gz
> cd mailman-2.1.2

> useradd mailman
> groupadd mailman

> mkdir /usr/local/mailman
> cd /usr/local/mailman
> chgrp mailman .
> chmod a+rx,g+ws .
> cd /root/archive/mailman-2.1.2

> ./configure –prefix=/usr/local/mailman \
–with-mail-gid=mail \

> make install
> cd /usr/local/mailman/
> ./bin/check_perms
> ./bin/check_perms -f
> ./bin/check_perms

create new file at:



# Mailman config

ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/
Alias /pipermail/ /usr/local/mailman/archives/public/

> service httpd restart

> cp /usr/local/mailman/icons/*.{jpg,png} /var/www/icons

> cd /usr/local/mailman/
> bin/newlist mailman

append to /etc/aliases:

## mailman mailing list
mailman: “|/usr/local/mailman/mail/mailman post mailman”
mailman-admin: “|/usr/local/mailman/mail/mailman admin mailman”
mailman-bounces: “|/usr/local/mailman/mail/mailman bounces mailman”
mailman-confirm: “|/usr/local/mailman/mail/mailman confirm mailman”
mailman-join: “|/usr/local/mailman/mail/mailman join mailman”
mailman-leave: “|/usr/local/mailman/mail/mailman leave mailman”
mailman-owner: “|/usr/local/mailman/mail/mailman owner mailman”
mailman-request: “|/usr/local/mailman/mail/mailman request mailman”
mailman-subscribe: “|/usr/local/mailman/mail/mailman subscribe mailman”
mailman-unsubscribe: “|/usr/local/mailman/mail/mailman unsubscribe mailman”

> newaliases

edit data/sitelist.cfg and append this line to bottom:

host_name = ‘’

> bin/config_list -i data/sitelist.cfg mailman