Amavis / Atermime - Dynamic Email Disclaimers

view story

http://serverfault.com – I have a basic setup of Postifx Mysql using Amavis. Its the setup included with iRedMail. Within amavis/conf.d/50-user I am able to configure disclaimer options. This works fine, on a per domain or per user basis if i list all my users here. I am trying to make this a bit more dynamic. Where i can have a Per-user discailmer that uses a variable to read the domain name. so instead of: '[email protected]' => 'boss.domain.com.txt' I would like it to be %variable + '@domain.com' => %variable + 'domain.com.txt' Cannot figure out whywhere how i can parse an email address in amavid an tu (HowTos)