From: Eric Wong Date: Wed, 9 Apr 2014 18:07:15 +0000 (+0000) Subject: mda: prevent duplicate Message-IDs from appearing X-Git-Tag: v1.0.0~1290 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=e07bf5280004c81d144fff9be266d81196c9f95d;p=public-inbox.git mda: prevent duplicate Message-IDs from appearing For practical purposes, Message-IDs are unique and duplicates do not appear unless client software is broken. --- diff --git a/public-inbox-mda b/public-inbox-mda index aabc37eb..70fbdf27 100755 --- a/public-inbox-mda +++ b/public-inbox-mda @@ -42,7 +42,7 @@ if (PublicInbox->precheck($filter, $recipient) && # run spamc again on the HTML-free message if (do_spamc($simple, \$filtered)) { $filter->simple(Email::Simple->new($filtered)); - $filter->pipe(MDA, $main_repo); + $filter->pipe(MDA, '-1', $main_repo); } } }