[Mimedefang] mimedefang regenerates quarantined message every hour
Bill Friedman
linguafr at sbcglobal.net
Wed Jul 9 17:47:01 EDT 2003
--- "David F. Skoll" <dfs at roaringpenguin.com> wrote:
> On Wed, 9 Jul 2003, Bill Friedman wrote:
>
> > It was scanning the quarantine report.
>
> You may want to consider this in filter_relay:
>
> sub filter_relay {
> my($hostip, $hostname, $helo) = @_;
>
> # Don't filter locally-generated messages at all
> return ('ACCEPT_AND_NO_MORE_FILTERING', 'ok') if
> $hostip eq '127.0.0.1';
>
> return ('CONTINUE', 'ok');
> }
>
> --
I put it in filter_begin. We'll see if it works.
sub filter_begin () {
# don't check for locally submitted mail
if ($RelayAddr eq "127.0.0.1") {
return action_accept();
}
More information about the MIMEDefang
mailing list