assp 2.4.1(14132) - ok assp 2.4.3 15059 - broken assp 2.4.3(15075) - broken:
poTestMode=1 processOnlyAddresses - list of email adresses after upgrading this configuration does not work anymore. All emails are proxied through: [MessageOK] 104.173.215.48 <xxx> to: bbb message ok - (envelope sender xxx is on processOnlyAddresses) - [.......] xxx is not on processOnlyAddresses (as I manualy checked) after downgrading to assp 2.4.1(14132) problem is immediately gone. if, else, negations code for poTestMode are messed up and really hard to understand (and because of it bug was made). Here is much more transparent code (more in tune of poTestMode goal) and a fix at the same time. # check if this email is to be processed at all if in ProcessOnlyTestMode if( $poTestMode && ! ($this->{noprocessing} & 1)) { $this->{noprocessing} = 1; if(matchSL($uh,'processOnlyAddresses')){ $this->{noprocessing} = 0; $this->{passingreason} = "envelope recipient $uh is on processOnlyAddresses"; }elsif(matchSL($this->{mailfrom},'processOnlyAddresses')){ $this->{noprocessing} = 0; $this->{passingreason} = "envelope sender $this->{mailfrom} is on processOnlyAddresses"; } } ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test