<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang="EN-US" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal">I am running a basic iredmail install with amavis, postfix, dovecot.<p></p></p><p class="MsoNormal">I want to use the declaimer feature to automatically append a disclaimer (in our case a signature).<p></p></p><p class="MsoNormal">The reasoning for this is that clients (ipad, outlook, etc) don’t have to be configured with signature settings, and that we have corporate control over the actual signatures that are posted.<p></p></p><p class="MsoNormal"><p> </p></p><p class="MsoNormal">Instead of:<p></p></p><p class="MsoNormal" style="line-height:13.5pt;background:#EEEEEE;vertical-align:baseline"><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;background:#EEEEEE">'boss@domain.com' => 'boss.domain.com.txt'</span><span style="font-size:10.5pt;font-family:Consolas;color:black"><p></p></span></p><p class="MsoNormal"><p> </p></p><p class="MsoNormal">I am trying to get to <p></p></p><pre style="line-height:13.5pt;background:#EEEEEE;vertical-align:baseline"><code><span style="font-size:10.5pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;background:#EEEEEE">%mailbox + ‘@’ + %domain =>  %mailbox + “.” + %domain + ‘.txt’</span></code><span style="font-size:10.5pt;font-family:Consolas;color:black"><p></p></span></pre><p class="MsoNormal"><p> </p></p><p class="MsoNormal">This way we can simply use a script to generate the .txt / .htm signature files using just mysql / php.<p></p></p><p class="MsoNormal"><p> </p></p><p class="MsoNormal">THANKS IN ADVANCE  <p></p></p><p class="MsoNormal"><p> </p></p></div><img width="1px" height="1px" src="http://wt.mailgun.org/o/d3QtbXNnLWlkPWNlZjRhZGY5YTk2MGQ4ODdjMDgyOTgxNThiYTdmZDcwJmg9NWFjZjk5YWEwOGM3MjY3ZDI3MDQwMTIxZjU4NTc0NmMmcj1hbWF2aXMtdXNlcnMlNDBhbWF2aXMub3JnJmQ9ODlkNQ"></body></html>