[Mimedefang] Strange issue with mimedefang/spamassassin reports.

- kd6lvw at yahoo.com
Wed Jun 3 16:03:14 EDT 2009


--- On Wed, 6/3/09, Steffen Kaiser <skmimedefang at smail.inf.fh-bonn-rhein-sieg.de> wrote:
> On Wed, 3 Jun 2009, Champ Clark III [Softwink] wrote:
> >> foreach $recip (@Recipients) {
> >>     delete_recipient($recip);
> >> }
> >> add_recipient('spam at localhost');
> 
> There had been reports that delete_recipient() is not
> successfull always. Do you know, if those recipients are
> funnily encoded or something like that? With/without angle
> brackets?

See also whether adding the new recipient BEFORE deleting the others has any effect.  It's possible that there could be something strange going on if a message hits zero recipients while in the milter interface, even if just temporarily.  As your added recipient will [most likely] NOT be in @Recipients (actually, you should check for it), it won't be removed.

+ add_recipient('spam at localhost');
  foreach $recip (@Recipients) {
      delete_recipient($recip);
+         if ($recip ne 'spam at localhost');
  }
- add_recipient('spam at localhost');



More information about the MIMEDefang mailing list