On Sat, Jan 22, 2005 at 01:53:35AM +0000, [EMAIL PROTECTED] wrote:
>       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' ) ;

Any reason not to simply call "$connection->relay_client(1)" from your
pop-before-smtp plugin?

Thanks,
-mct

-- 
perl -e'$u="\4\5\6";sub H{8*($_[1]%79)+($_[0]%8)}sub G{vec$u,H(@_),1}sub S{vec
($n,H(@_),1)=$_[2]}$_=q^{P`clear`;for$iX){PG($iY)?"O":" "forX8);P"\n"}for$iX){
forX8){$c=scalar [EMAIL PROTECTED];S$iY,G(
$iY)?$c=~/[23]/?1:0:$c==3?1:0}}$u=$n;select$M,$C,$T,.2;redo}^;s/Z/],[\$i/g;s/Y
/,\$_/xg;s/X/(0..7/g;s/P/print+/g;eval' #     Michael C. Toren <[EMAIL 
PROTECTED]>

Reply via email to