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:
IAMASPAMMER.COM REJECT
ASP-PLATFORM.COM REJECT
SMTP.OFRSVR.COM REJECT
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.
Thursday, May 22, 2003
Posted by Anonymous at 9:41 am
Wednesday, May 21, 2003
Konspire
P2P meets push technology - a very interesting concept. Available on Linux, Mac and Windows.
Posted by Anonymous at 9:03 pm
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 sendmail.cf section looks like this (note the PLAIN as part of the AuthMechanism):
Once sendmail.cf is created with SMTP AUTH, you need to edit
the default-auth-info file (or create one)
Extract from sendmail.cf:
# list of authentication mechanisms
O AuthMechanisms=PLAIN GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5
# default authentication information for outgoing connections
O DefaultAuthInfo=/etc/mail/default-auth-info
# SMTP AUTH flags
O AuthOptions=A
Example default-auth-info:
username
username
password
outgoing.verizon.net
Posted by Anonymous at 12:51 pm
Wednesday, May 07, 2003
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.
Posted by Anonymous at 10:25 pm
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
AddType application/x-httpd-php .htm
Restart apache (apachectl restart)
The default Apache 2 config is placed in
/etc/httpd/2.0/conf
and its name is httpd2.conf
Posted by Anonymous at 11:41 am