List Info

Thread: Disclaimers.




Disclaimers.
user name
2006-06-22 08:49:31

>>> "Michael Scheidell"
<scheidellsecnap.net> 06/20/06 10:55pm
>>>

> -----Original Message-----
> From: amavis-user-bounceslists.sourceforge.net 
> [mailto:amavis-user-bounceslists.sourceforge.net] On
Behalf 
> Of Benedict White
> Sent: Tuesday, June 20, 2006 12:01 PM
> To: amavis-userlists.sourceforge.net 
> Subject: [AMaViS-user] Disclaimers.
> 
> 
> Hi, I found some information on disclaimers, (thanks
Gary V 
> for the pointer)
> 
>
If you haven't set it up, try this:
(postfix: master.cf  you can set up different ip addresses,
aliases, and
send 'local' email to one of them:

>>


That is roughly what I did except that I use Archlinux so
some locations are different.

I used the thread mentioned by Gary V on
www.freespamfilter.org and that seems to work.

I was just wondering if Mark fancied including the ability
to send something to an external script via 
some kind of policy to make it more flexible in much the
same way postfix can.

Kind regards

Benedict White



All the advantages of Linux Managed Hosting--Without the
Cost and Risk!
Fully trained technicians. The highest number of Red Hat
certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
Disclaimers.
user name
2006-06-22 09:53:04
Benedict,

> I was just wondering if Mark fancied including the
ability to send
> something to an external script via some kind of policy
to make it more
> flexible in much the same way postfix can.

You mean through SMTP?  Sure, chain content filters as you
like. 

There are no hooks to add code which could easily modify
mail body.
There is some basic functionality to supply a MIME::Entity
object
for forwarding in place of the original mail on a file.
It is used for basic 'defanging' and for sending
notifications,
but is slower than forwarding mail from a temporary file.

There are two approaches on how mail body could be modified
within amavisd: prepare a replacement MIME::Entity object
and
place it into $msginfo->mail_text. This is clean, but can
be slow.
Alternatively, one may prepare a new temporary file with a
modified mail, close original file descriptor in
$msginfo->mail_text
and delete old temporary file, open new file and place a new
open
descriptor into $msginfo->mail_text. There may be other
interactions
with the rest of the code, specially in the milter
interface, so
this can be a bit tricky to do right.

Properly adding disclaimers is a black art, it is not
obvious
where and how to place disclaimers when MIME structure
becomes
more complex than single a plain text part, and even that
can
be tricky as it can contain uuencoded text or use various
encodings
and character sets and text flows - added text must be
compatible
with existing set of MIME options.

  Mark

All the advantages of Linux Managed Hosting--Without the
Cost and Risk!
Fully trained technicians. The highest number of Red Hat
certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
Disclaimers.
user name
2006-06-22 14:06:18
Benedict wrote:

> I used the thread mentioned by Gary V on
www.freespamfilter.org and that seems to work.
http://www.freespamfilter.org/forum/viewtopic.php?t=82

I should mention one point regarding that thread. If you
look at what
is happening in the example where amavisd-new forwards to
altermime
you can see a potential problem. There is no problem if the
number of
recipients is one or two. However, since amavisd-new
prepares a message
for each recipient, if one message has 100 recipients,
altermime will be
called 100 times. Actually I have not tested this, so this
is somewhat
of an assumption, but I have no reason to think otherwise.
It is
better if altermime is called prior to handing it off to
amavisd-new,
but I have not spent any time determining how that might be
done.

Another example shows where altermime is used for outgoing
mail,
but amavisd-new is not used at all for outgoing mail, that
is also
an option, but not a good one IMHO. If you want to take
advantage of
penpals whitelisting, it's not an option at all.

Gary V


Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )