Tom Scrape wrote: >> Subject: Re: [policyd-users] Disable spamtrap blacklisting when >> sender is null? >>> If Postfix is just getting a DUNNO, that would be what I >> want since I >>> have several more spam checks after policyd. But if it's >> getting an >>> OK, that would break any further spam checks. >>> >> According to the documentation, and at least my configurations, >> check_policy_service is always the last smtpd_*_restrictions. >> policyd will never affect the spam checks that are located BEFORE >> the check_policy_service line, which is where you call policyd. >>
You can put the policy check wherever it makes best sense for you. policyd will return these values (policyd.h) dunno, defer_if_permit, reject, prepend (for headers only) This is listed in the policyd.h file for when each is returned. #define POSTFIX_X_HEADER "action=prepend X-Greylist: Passed" #define POSTFIX_GOOD "action=dunno\n\n" #define POSTFIX_GREYLIST "action=defer_if_permit Policy Rejection-" #define POSTFIX_BAD_SIZE "action=reject Policy Rejection-" #define POSTFIX_SPAMTRAP "action=reject Policy Rejection-" #define POSTFIX_BLACKLIST_PERM "action=reject Policy Rejection-" #define POSTFIX_BLACKLIST_TEMP "action=defer_if_permit Policy Rejection-" #define POSTFIX_MODULE_FAILURE "action=defer_if_permit Policy Rejection- Invalid data\n\n" #define POSTFIX_QUOTA_EXCEEDED_PERM "action=reject Policy Rejection-" #define POSTFIX_QUOTA_EXCEEDED_TEMP "action=defer_if_permit Policy Rejection-" Search within the source to see exactly how each is returned, but this is pretty self-explanatory. To your specific question, the return value in your case, unless triggered by another check, would be dunno. John ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ policyd-users mailing list policyd-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/policyd-users