Thursday, May 22, 2003

Blacklisting Spam domains using Sendmail

In sendmail 8.8.7 and above, you can create a deny file that will block entire domains.

/etc/mail/deny file example:


After creating/editing the deny file you must issue this command:
makemap hash deny
which will create a deny.db file

to create the deny.db database file which sendmail uses.

Wednesday, May 21, 2003

P2P meets push technology - a very interesting concept. Available on Linux, Mac and Windows.

Notes on sendmail smtp authentication

There are various notes around on setting up a password protected Sendmail relay box, which allows your users on one domain to send mail via sendmail in another domain, WITHOUT allowing relaying as an anti-spam measure.

Once set up, your users SMTP mail client settings require you to set a username and password.

You need to uncomment each of them, and make a few changes. Since verizon still uses plain text authentication, we need to tell Sendmail about that. After making the changes, my section in the section looks like this (note the PLAIN as part of the AuthMechanism):

Once is created with SMTP AUTH, you need to edit
the default-auth-info file (or create one)

Extract from
# list of authentication mechanisms

# default authentication information for outgoing connections
O DefaultAuthInfo=/etc/mail/default-auth-info

# SMTP AUTH flags
O AuthOptions=A

Example default-auth-info:

Wednesday, May 07, 2003
Home of phpmyadmin.

Maguma now have a forum on their redesigned website.

Apt-get install notes for Red Hat by Void Main.

Friday, May 02, 2003

Setting up a Home Network with Linux and a Cable Modem Service
Setting DHCP, Samba and an description on how to set up IMAP, Sendmail, Fetchmail, Procmail on your home network utilising these on your Linux gateway.

Clean Mandrake 9.1 install and Apache

If you do a fresh 9.1 install, Mandrake installs the Apache 2 webserver.

Apache 2 radically changes where it puts its config files - rather than a single httpd.conf file, the various sections are now split into multiple conf files.

I had a problem getting apache to recognise .htm files as php. Here's how I solved it.

Go to /etc/httpd/conf.d
Edit 75_mod_php.conf
Add the following line in the section.
AddType application/x-httpd-php .htm

Restart apache (apachectl restart)

The default Apache 2 config is placed in
and its name is httpd2.conf