[Mimedefang] disclamer only for out going mails.

bablu bablu bablu_002 at yahoo.com
Tue Dec 20 02:50:50 EST 2005


This worked for me:- (Ay idea how to change a font
size of disclamer in mimedefang)

if ($RelayAddr eq "192.168.10.102") {
       append_text_boilerplate($entity,
                             "text disclaimer", 0);
       append_html_boilerplate($entity,
                             "HTML disclaimer", 0);
##
if ($RelayAddr =~/127\.0\.0\.1/) { 
# Mail injected by the MSA       
        append_text_boilerplate($entity,
                             "text disclaimer", 0);
       append_html_boilerplate($entity,
                             "HTML disclaimer", 0);

} 
if ($RelayAddr=~/192\.168\.10\./) { 
# Mail coming from company LAN 
        append_text_boilerplate($entity,
                             "text disclaimer", 0);
       append_html_boilerplate($entity,
                             "HTML disclaimer", 0);
} 
my $authen=$SendmailMacros{auth_authen}; 
if ( $authen ne "") { 
# authenticated, remote user 
        append_text_boilerplate($entity,
                             "text disclaimer", 0);
       append_html_boilerplate($entity,
                             "HTML disclaimer", 0); 
        } 





--- Joseph Brennan <brennan at columbia.edu> wrote:

> 
> 
> --On Friday, December 16, 2005 15:17 -0800 Gary
> Funck <gary at intrepid.com> 
> wrote:
> 
> > Can you give an example of how this might be
> configured so
> > that the "outgoing" gateway runs on the same box,
> and how
> > MdF checks for the mailer ID?
> 
> 
> No, since I have not been asked to do such a thing. 
> The question
> just got me started thinking about how difficult it
> is to define
> what outgoing mail is.  I didn't even mention the
> situation we
> have here, and also at many universities, that the
> "company" has
> many email servers, so that some mail outbound from
> the main
> system is actually internal mail by some definition.
> 
> One extra that I forgot was to try to detect when a
> message already
> had the disclaimer, so as not to add it again.
> 
> There are also issues about where to put it.  If it
> is put into a
> separate MIME part, many recipients will not see it,
> because some
> popular email programs classify parts 2 and up as
> attachments.  But
> inserting it into part 1 destroys digital signature.
> 
> Joseph Brennan
> Columbia University Information Technology
> 
> _______________________________________________
> NOTE: If there is a disclaimer or other legal
> boilerplate in the above
> message, it is NULL AND VOID.  You may ignore it.
> 
> Visit http://www.mimedefang.org and
> http://www.roaringpenguin.com
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
>
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the MIMEDefang mailing list