OK.  Fritz and others: here's the updated code:

After:
['LocalAddresses_Flat_Domains','Use Addresses without \'@\' as
Domains',0,\&checkbox,0,'([01]?)',undef,'Will handle entries without \'@\'
as full domains'],
Add:
['RejectTheseLocalInvalidAddresses','Reject These Local Invalid
Addresses*',80,\&textinput,'','(.*)','ConfigMakeSLRe',
  'If ANY recipient on reject list, message will not be delivered.  Used for
disabled legitimate accounts, where a user may have
  left the company. Stops wildcard mailboxes from getting these messages.
ASSP rejects and then sender server bouncees the rejected message back to
the sender'],
In "our %MakeSLRE = (", add:
    'RejectTheseLocalInvalidAddresses' => 'REJCTTHESEINVALIDLOCALADDRRE',
Replace:
if ( $LocalAddresses_Flat && matchSL( $uh, 'LocalAddresses_Flat' ) ) {
 $this->{islocalmailaddress} = 1;
 d("$u$h validated by flat LocalAddresses list");

}
with:
if ( $LocalAddresses_Flat && matchSL( $uh, 'LocalAddresses_Flat' ) ) {

 if(matchSL( $uh, 'RejectTheseLocalInvalidAddresses' )) {
  d("$u$h rejected by reject invlid address list\n");
 } else {
  $this->{islocalmailaddress}=1;
  d("$u$h validated by flat LocalAddresses list\n");
}
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to