Redirecting Email messages based on Subject

lloyd_tennison

Well-Known Member
Mar 12, 2004
697
1
168
Some spammer has found an email address for a mailman list(s) that I have and are using a spoofed return address(es) and keep sending the list a message with the subject containing "help". Naturally the list is sending them back help. The problem is, that particular return address (or addresses) is part of the QIL list at MAPS and I keep getting listed there. They take me off right away, as they say their software should not be dealing with challenge verifies or autoresponder -but they do. With that block on it fills up my mail queue real fast!

What I want to do is redirect emails to a different transport based on the text in the subject or return address, or ???, and use that transport to send the email on a different IP address until MAPS gets all figured out.

Chirpy or someone more knowledgeable with exim - help, please.
 
Last edited:

lloyd_tennison

Well-Known Member
Mar 12, 2004
697
1
168
I am looking for something similar to this, maybe someone will understand better with an example and be able to help:

mailman_virtual_router:
driver = accept
require_files = /usr/local/cpanel/3rdparty/mailman/lists/${lc::$local_part}_${lc::$domain}/config.pck
local_part_suffix_optional
local_part_suffix = -admin : \
-bounces : -bounces+* : \
-confirm : -confirm+* : \
-join : -leave : \
-owner : -request : \
-subscribe : -unsubscribe
transport = mailman_virtual_transport

Just instead of the Mailman stuff - check by subject or return address and/or have the option for both, etc.
 

lloyd_tennison

Well-Known Member
Mar 12, 2004
697
1
168
Really thought someone would have an idea, with all those perl programmers out there.....