amavisd-new perl patterns

M

Martijn Stam

@spam_quarantine_to_maps = (
new_RE( [qr'^(.*)@amstec\.net$'i => '(e-mail address removed)'],
[qr'^(.*)@ermeds\.com$'i => '(e-mail address removed)'],
[qr'^(.*)@flgolfnews\.com$'i => '(e-mail address removed)'],
[qr'^(.*)@libertyautoclinic\.com$'i =>
'(e-mail address removed)'],
[qr'^(.*)@plasticisland\.com$'i => '(e-mail address removed)'],
[qr'^(.*)@sosmeds\.com$'i => '(e-mail address removed)'] ),
$spam_quarantine_to
);

I want Amavis to send the original spam e-mails per domain to
(e-mail address removed), but with the above patterns only a part of the mails are
sent to spam@. So (e-mail address removed) has to go to (e-mail address removed)

And if this works, I would like to have a MySQL lookup for these vars.
Amavisd-new and Postfix already run on MySQL

Thanks!

Martijn Stam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,427
Latest member
HildredDic

Latest Threads

Top