> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:amavis-user-
> [EMAIL PROTECTED] On Behalf Of Mark Martinec
> Sent: Monday, June 16, 2008 5:44 PM
> To: [email protected]
> Subject: Re: [AMaViS-user] Rule evaluation order
> 
> Giampaolo,
> 
> > ...omissis...
> 
> There is one catch there: notification and log templates depend on
> the hard-wired order of these numbers, e.g.
> 
> in admin notification:
>   Subject: [? [:ccat|major] |Clean mail|Clean mail|MTA-blocked mail|\
>   OVERSIZED mail|INVALID HEADER in mail|spam|SPAM|UNCHECKED contents in
> mail|\
>   BANNED contents (%F) in mail|VIRUS (%V) in mail]\
> 
> in sender notification:
>   Subject: [? [:ccat|major]
>   |Clean message from you\
>   |Clean message from you\
>   |Clean message from you (MTA blocked)\
>   |OVERSIZED message from you\
>   |BAD-HEADER in message from you\
>   |SPAM apparently from you\
>   |SPAM apparently from you\
>   |A message with UNCHECKED contents from you\
>   |BANNED message from you (%F)\
>   |VIRUS in message apparently from you (%V)\
>   ]
> 
> and elsewhere where macro ccat is used in templates.
> 
> The program code itself should be fine regardless of the order
> of CC_* constants.
> 
> So it is doable, but is not trivial to catch and fix all the uses
> in templates which depend on the order of categories.

Mmmh, this should concern only notification templates only when they are
invoked, right?

I'm asking this because in my setup nots are sent ONLY for banneds, so maybe
I don't even have to care about this specific problem: templates are not
even "materialized" in other cases.


> Instead, for most cases it should suffice to keep the
> dsn_cutoff_level values reasonably low. If such new undetected
> viruses would collect enough spam points to exceed the cutoff level
> (even if it were also blocked as banned), the non-delivery notification
> would be suppressed due to high spam score.

Pardon me, Mark, but I wasn't even aware of the dsn_cutoff_level thingery...

This sounds very interesting to me.

Thank you.

Giampaolo


>   Mark
> 
> -----------------------------------------------------------------------
> --
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> AMaViS-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to