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'); > $fromaddr =~ s/.+<([^>]+)>/$1/; [...]
Ah, yes. This is working. I thought "fromaddr" is a globally available variable. Sorry for misunderstanding. 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? Ciao Marcus _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang