Marcus Schopen wrote:
Am Montag, den 26.11.2018, 13:02 -0500 schrieb Dianne Skoll:
On Mon, 26 Nov 2018 17:55:57 +0100
Marcus Schopen wrote:
is always the same, but I can't catch it with blacklist_from. Can I
get
that from $entity->head->get('From') or any better ideas?
That should work, or
Am Montag, den 26.11.2018, 13:02 -0500 schrieb Dianne Skoll:
> On Mon, 26 Nov 2018 17:55:57 +0100
> Marcus Schopen wrote:
>
> > is always the same, but I can't catch it with blacklist_from. Can I
> > get
> > that from $entity->head->get('From') or any better ideas?
>
> That should work, or you
On Mon, 26 Nov 2018 17:55:57 +0100
Marcus Schopen wrote:
> is always the same, but I can't catch it with blacklist_from. Can I get
> that from $entity->head->get('From') or any better ideas?
That should work, or you can open and read the file ./HEADERS, which
contains the message headers
Hi,
I see a spammer, who sends with different envelope from and header
from, but the "display name" in header from always contains the same
substring, e.g.:
From: "Spammer "
The part
From: "Spammer "
is always the same, but I can't catch it with blacklist_from. Can I get
that from
On Tue, 09 May 2017 17:07:58 +0200
Marcus Schopen wrote:
> Okay. So if I rebuild the hash file I have the reread mimedefang to
> kill idle slaves and forcing reread filter rules or wait until all
> processes are restarted itself by multiplexor, right?
Yes. The purpose of
Hi Dianne,
Am Dienstag, den 09.05.2017, 09:46 -0400 schrieb Dianne Skoll:
[...]
> No, because the filter_recipient and filter_begin/filter_end functions
> may not be called in the same process.
>
> You can define a function called filter_initialize() that will get called
> once when a new
On Tue, 09 May 2017 10:51:08 +0200
Marcus Schopen wrote:
> Is there a way to load the key-value hash table file only at
> start/reread/reload of mimedefang and not read it on each incoming
> email in filter_end?
No, because the filter_recipient and filter_begin/filter_end
Am Dienstag, den 09.05.2017, 14:45 +0200 schrieb Marcus Schopen:
> The hash file is created with
>
> makemap hash testhash.db < testhash.txt
Just found out, that I can use the -e option using makemap to allow empty value
on right hand side, so the format now is just one email address per
Hi Kris,
Am Dienstag, den 09.05.2017, 10:51 +0200 schrieb Marcus Schopen:
> Is there a way to load the key-value hash table file only at
> start/reread/reload of mimedefang and not read it on each incoming email
> in filter_end?
Haha, we had a similar discussion three years a ago ;)
Hi Kris,
Am Montag, den 08.05.2017, 17:27 -0400 schrieb Kris Deugau:
> You would have to fill it in first, by extracting it from the
> MIME::Entity passed to the filter_end sub; something like (untested,
> check MIME::Tools documentation):
>
> $fromaddr = $entity->head->get('From');
>
Marcus Schopen wrote:
Hi Kris,
Am Montag, den 08.05.2017, 11:13 -0400 schrieb Kris Deugau:
if ($hashfile{$fromaddr}) {
action_add_header("SpecialHeader", "$fromaddr found in list");
}
Ah, good idea. Thanks!
But if I just add this to filter_end
action_add_header("X-SpecialHeader",
Hi Kris,
Am Montag, den 08.05.2017, 11:13 -0400 schrieb Kris Deugau:
> if ($hashfile{$fromaddr}) {
>action_add_header("SpecialHeader", "$fromaddr found in list");
> }
>
Ah, good idea. Thanks!
But if I just add this to filter_end
action_add_header("X-SpecialHeader", "$fromAddr test");
Marcus Schopen wrote:
Hei,
I have a text base list of email addresses (one email per line). Where
would I best filter on header "From: " (not envelope from) in
mimedefang-filter and add an additional mail header in case of a hit? At
the moment I use spamassassin rules to tag such mails in
Hei,
I have a text base list of email addresses (one email per line). Where
would I best filter on header "From: " (not envelope from) in
mimedefang-filter and add an additional mail header in case of a hit? At
the moment I use spamassassin rules to tag such mails in filter_end, but
spamassassin
14 matches
Mail list logo