>I have Sendmail v11.6 installed on my system.
>I have it configured to block spam using dns black listing.
>That works great.
>I configure the /etc/mail/access file to accept email from certain addresses,
>and therefore not apply any spam filtering rules.
>This does not appear to be working.
>Even after restarting sendmail.
>It will accept mail from particular domains, but not from just particular users.
>Here is my sample /etc/mail/access file
>#this is the sample email address of the person I wish to accept.
>If I add this entree in for a domain that is currently filtered by a blacklist
>with this line, it will accept the mail.
>Any ideas on troubleshooting this?
I can explain what is happening. Sendmail tests based on sender
information, connection information, recipient information. These
tests are relatively independent.
the sender information. But apparently this mail is being blocked on
the basis of connection information (hostname or ip address of the
sending system). The decision to block has already been made before
the sender information is received, so sendmail already rejects that
Your other entry "hotmail.com OK" applies to both connection
information and sender information. So it does succeed in overruling
the blacklist you are checking.
One possibility would be for you to use
to overrule blocking on the connection information. But then
to block this mail on the sender information. In that case
would allow mail from the one particular hotmail user.
Another possibility is to use `delay_checks', as Claus has
suggested. This has the effect of reversing the order of tests, so
that the connection information is examined first. But I think you
might still need to add a rule to "Local_check_mail" to achieve what