Will this do it?
4. The value of address_data from a sender verification is now available in
$sender_address_data in subsequent conditions in the ACL statement.
Note:
this is just like $address_data. The value does not persist after the
end
of the current ACL statement. If you want to preserve it, you can use
one
of the ACL variables.
Mark Morley wrote:
>>I'm not sure exactly what you are trying to do - but here's the docs on
>>it: And - I think there is a variable that returns the rejection string.
>>
>>
>
>Consider this hypothetical callback test:
>
><<< 220 Welcome!
>
>
>>>>HELO x
>>>>
>>>>
><<< 250 Hello x
>
>
>>>>MAIL FROM:<>
>>>>
>>>>
><<< 250 Ok
>
>
>>>>RCPT TO:<legit@???>
>>>>
>>>>
><<< 550 Bogus sender "<>"
>
>The $sender_verify_address value will give me "recipient" for the example
>above. What I was hoping for was a variable that would contain the
>"550 Bogus sender "<>"" string.
>
>Using $sender_verify_address eliminates the majority of cases where the
>rejection happens right at the MAIL FROM:<> command, but I have seen more
>than a few cases where they wait and give the error after RCPT TO:
>
>The idea is that if the error message itself refers to "<>" or "bogus sender"
>or certain other common error messages then I want to accept the message.
>
>Mark
>
>
>
>
--
Marc Perkel - marc@???
Spam Filter: http://www.junkemailfilter.com
My Blog: http://marc.perkel.com
My Religion: http://www.churchofreality.org
~ "If it's real - we believe in it!" ~