At 3:56 pm -0400 2004/05/10, Brian wrote:
>Giuliano Gavazzi wrote:
>
>>At 1:33 pm -0400 2004/05/10, Brian wrote:
>>[...]
>>
>>>well for starters I would like to offer more people information about
>>>why this happened..
>>>
>>>I tried doing this:
>>>
>>>!verify = sender/callout=use_sender
>>> deny message = some useful text here
>>> log_message = Verify failed [$sender_address - $local_part@$domain]
>>>
>>>but that seemed to only reject mail give the deny message.. even valid
>>>ones..
>>>
>>>I changed the deny to drop and it made no different.. what did I miss?
>>
>>
>>ehm, you have just found the perfect anti-spam recipe: deny (or drop)
>>all messages... to be precise all messages that have not been
>>accepted yet.
>>
>
>hmm..
>
>then is this correct?
>
>require message = some useful text here
> verify = sender/callout
> log_message = Verify failed (more txt here.. )
I would say it is.
>so does deny/drop -need- a condition then?
yes, the problem with your original deny was that there was no
conditional expression at all (because you put it *before* the verb
deny). This would work too:
deny message = whatever
!verify = sender/callout
log_message = some text
>I was using the dnslists example as an example..
>
>deny message = rejected because..
> dnslists = dnsbl.domain.com
[...]
dnslists *is* a condition.
Giuliano