I have a bit of a different plugin running that handles
pop-before-smtp by reading a list of recent IPs that have popped an
account, and if there is a match with the connecting IP, it sets a
transaction note:

$transaction->notes( 'pop-b4-smtp', 1 ) ;

        In the check_relay plugin, I added this to test, first thing:

return OK if $transaction->notes( 'pop-b4-smtp' ) ;

        However, when I pop, and then connect, the check_relay plugin
falls through to the trailing "return DENY" and I get SMTP.pm's default
"550 relay denied". I have verified that when this happens, the
pop-b4-smtp note contains nothing (after verifying that the custom plugin
set it!).

        But that's not all!

        Tests from an IP that has RELAYCLIENT set also fails in the same
way, even though it shouldn't have to do pop-b4-smtp.

        On top of that, some tests from a client without RELAYCLIENT set
have worked, but some have not.

        Very frustrating.

        At the moment, I am at a loss as to where I might check, or what I
might do to further narrow down this problem. Any suggestions would be
most welcome. Thanks.

-- 
Roger Walker
"HIS Pain - OUR Gain"

Reply via email to