SpamGuard

BlueNoteWeb

Verified User
Joined
Nov 4, 2004
Messages
52
Location
Denton, TX
I'm trying to install SpamGuard <http://www.enderunix.org/spamguard/> on my server, but I've run into a configuration question. The software is looking for this file:
/etc/mail/access

According to the .conf file, this is where bad email addresses are stored for SendMail. This file does not exist. Does DA use a different form of SendMail that this is not prepared for? Is this file located somewhere else?

The software is also trying to do this:
/usr/sbin/makemap hash /etc/mail/access < /etc/mail/access

I don't have a "makemap" command there or anywhere that I can find. Can anyone tell me what that's about?
 
DirectAdmin uses exim, not sendmail.

I think /etc/virtual/blacklist_domains
is the equivalent, but I am not sure on that. For a more confident answer you might try asking Jeff (jlasman), since he wrote the exim configuration DirectAdmin uses.
 
The format /etc/mail/access uses for spammers is (for example):

192.168.3.4 550 Mail rejected due to possible SPAM

In other words, it blocks by IP#, and adds, after the IP#, the error message in both numeric and human readable form.

/etc/virtual/blacklist_domains uses the actual domain name.

The two are not comparable.

My version of SpamBlocker (available for download here) is more up-to-date than the one distributed by DA, and has a file, etc/virtual/bad_sender_hosts, which uses this format:

192.168.3.4

It gets the error message from the /etc/exim.conf file.

So the two are not directly compatible.

Additionally, sendmail puts all it's email logging into /var/log/maillog, while exim puts it into /var/log/exim/mainlog, and uses a different format.

Besides, spammers today use different (forged) return addresses every few emails, just to get through systems such as SpamGuard.

You don't need or want to use makemap with exim; it reads text files directly.

Sendmail uses hashed text files, which are prepared with makemap.

If you attempt to use makemap with exim it would create files that exim can't read.

Jeff
 
Back
Top