<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 12/19/11 11:25 AM, Thomas Johnson wrote:
    <blockquote
      cite="mid:A4401042-9757-4AF9-BA29-C9B8BC4DA59F@terramar.net"
      type="cite">
      <pre wrap="">Is there any way to do custom disclaimers on a per-user and per-domain basis?  We've got a lot of different domains and different users who want to add different disclaimers. Potentially hundreds or thousands of different bits of text they want to put in.

We can store all this in a sql database.  Is there a version of altermime that can do a SQL lookup to get the text for the disclaimer?  Or would there be a way to pass a string to altermime and have it use that instead of reading the disclaimer text from a text file stored on disk?  Or perhaps we need to use the custom hooks in amavisd-new?  

I'd appreciate any guidance and ideas.

</pre>
    </blockquote>
    an interesting project.  I would guess you could hack altermine,
    have it pull info from sql, or, store (hundreds of thousands) of
    disclaimers on the disk and have altermine find it with
    ../a/auser.txt  or such..<br>
    <br>
    <br>
    <blockquote
      cite="mid:A4401042-9757-4AF9-BA29-C9B8BC4DA59F@terramar.net"
      type="cite">
      <pre wrap="">Tom</pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      Michael Scheidell, CTO<br>
      o: 561-999-5000<br>
      d: 561-948-2259<br>
      <font color="#999999">></font><font color="#cc0000"> <b>| </b></font>SECNAP
      Network Security Corporation
      <style type="text/css">
<!--
.unnamed1 {
        margin: 1em;
        padding: 1px;
} -->
</style>
      <ul class="unnamed1">
        <li>Best Mobile Solutions Product of 2011</li>
        <li>Best Intrusion Prevention Product</li>
        <li>Hot Company Finalist 2011</li>
        <li>Best Email Security Product</li>
        <li>Certified SNORT Integrator</li>
      </ul>
    </div>
  
<br>
<div id="disclaimer.secnap.com"><hr />This email has been scanned and certified safe by SpammerTrap®.</div>
<div>For Information please see
<a href="http://www.spammertrap.com/">http://www.spammertrap.com/</a> <hr /></div>
<br>
</body>
</html>