On Sun, 2002-11-17 at 20:55, Kevin Waterson wrote:
> I use the the access file in /etc/mail/access to help
> reduce spam. Lately I notice some domains still getting
> past. The file is template for a hash table and I rebuild
> it after every edit and restart sendmail, yet some domains
> are unaffected.
> 

I'd wager the problem is that you're blocking the domain on the envelope
and not the one that's used on the SMTP conversation.

You need to understand the way a SMTP conversation works for that to
make sense.... (which you may already know)... 

tgreen@cavey:~$ telnet localhost 25      
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 cavey.bandcamp.tv ESMTP
helo localhost
250 cavey.bandcamp.tv Hello localhost [127.0.0.1], pleased to meet you
mail from:[EMAIL PROTECTED]
250 2.1.0 [EMAIL PROTECTED] Sender ok
rcpt to:[EMAIL PROTECTED]
250 2.1.5 [EMAIL PROTECTED] Recipient ok
data
354 Enter mail, end with "." on a line by itself
From: Tony Green <[EMAIL PROTECTED]>
To: Tony Green <[EMAIL PROTECTED]>
Subject: Test

Test
.
250 2.0.0 gAHAVa29025813 Message accepted for delivery


The line :
helo localhost
Contains the line which access.db is blocking against,  the line:
mail from:[EMAIL PROTECTED]
shows the line which shows up as the 'from' address in the email.

Post the headers from the spam you're receiving and we'll have a better
chance of helping.

This may not be the problem, but it's a good place to start looking.

Greeno

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to