amavisd-new perl patterns

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

@spam_quarantine_to_maps = (
  new_RE( [qr'^(.*)@amstec\.net$'i => ''],
        [qr'^(.*)@ermeds\.com$'i => ''],
        [qr'^(.*)@flgolfnews\.com$'i => ''],
        [qr'^(.*)@libertyautoclinic\.com$'i =>
        [qr'^(.*)@plasticisland\.com$'i => ''],
        [qr'^(.*)@sosmeds\.com$'i => ''] ),

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

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


Martijn Stam

Site Timeline