source:
npl/mailserver/dspam/spamaction.patch
@
26ffad7
Last change on this file since 26ffad7 was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 985 bytes |
-
src/dspam.
old new 599 599 strcmp(_ds_pref_val(PTX, "trainPristine"), "on")) 600 600 add_xdspam_headers(CTX, ATX, PTX); 601 601 602 if ( !strcmp(_ds_pref_val(PTX, "spamAction"), "tag") &&602 if ((strstr(_ds_pref_val(PTX, "spamAction"), "tag")!=NULL) && 603 603 result == DSR_ISSPAM) 604 604 { 605 605 tag_message((struct _ds_message_block *) CTX->message->components->first->ptr, PTX); … … 1563 1563 if (ATX->source != DSS_CORPUS) { 1564 1564 if (ATX->spam_args[0] != 0 || 1565 1565 (PTX != NULL && 1566 ( !strcmp(_ds_pref_val(PTX, "spamAction"), "tag")||1567 !strcmp(_ds_pref_val(PTX, "spamAction"), "deliver"))1566 ( strstr(_ds_pref_val(PTX, "spamAction"), "tag")!=NULL || 1567 strstr(_ds_pref_val(PTX, "spamAction"), "deliver")!=NULL ) 1568 1568 ) 1569 1569 ) 1570 1570 {
Note: See TracBrowser
for help on using the repository browser.