The Email Situation, Part II

I seem to be on a roll [1]. I think I nailed The Email Situation [2]. Several searches lead me to an email [3] which pointed to the solution to the problem I was having. It wasn't a direct solution, but it certainly led me in the right direction to solving the problem [4] with just a few lines of code:

>
```
/*---------------------------------------------------
; check to see if the user has authenticated, if so
; return OK and skip the rest of the processing (we
; hope)
;---------------------------------------------------*/
tauth = smfi_getsymval(ctx,"{auth_authen}");
if (!emptynull_string(tauth))
return(SMFIS_ACCEPT);
```

I've also made the latest version [5] available for download.

[1] /boston/2008/03/23.1

[2] /boston/2008/03/21.2

[3] http://lists.puremagic.com/pipermail/greylist-users/2005-August/000975.html

[4] https://www.milter.org/developers/api/smfi_getsymval

[5] http://www.x-grey.com/download/

Gemini Mention this post

Contact the author