Ulysses,

> On Monday, February 06, 2006 12:57, Mark Martinec wrote:
> > amavisd.conf format is upwards compatible, later versions of
> > amavisd-new can live with old amavisd.conf file just fine. The reason
> > to change it is mostly to weed out old stuff and to use new features
> > when needeed. The few incompatibilities that exist are described in
> > RELEASE_NOTES, and do not affect most sites.
>
> The only slightly out of the ordinary lines we have in 20030616-p8a's
> amavisd.conf are as follows:
>
> $X_HEADER_LINE = "by $mydomain";
>> @spam_lovers_acl = qw( [EMAIL PROTECTED] [EMAIL PROTECTED]
> . );
> @bypass_spam_checks_acl = @spam_lovers_acl;
> @banned_files_lovers_acl = qw( [EMAIL PROTECTED]
> [EMAIL PROTECTED] );
> @bypass_banned_checks_acl = @banned_files_lovers_acl;
> @av_scanners_backup = ( ...

Looks fine.

> From RELEASE_NOTES it appears the *acl lists may be legacy but should
> still work?

Yes, the _acl and named hash lookups tables are still perfectly valid
and just as efficient as before. If you are comfortable with
them, there is no need to change to a 'unified view' of @..._maps

I believe the only important thing to be mentioned is that disabling
one complete set of tests (like virus or spam checkas or decoding)
should now preferably use the recipe below, instead of ad-hoc tricks
with _acl or % lookups:
  @bypass_virus_checks_maps = (1);  # DISABLES anti-virus code
  @bypass_spam_checks_maps  = (1);  # DISABLES anti-spam code

> Also, later versions you added a temp variable to the clamscan command
> lines, does this matter?

You mean the --tempdir=$TEMPBASE ?  It is mostly cosmetic,
it makes clamd use $TEMPBASE directory instead of /tmp for
its temporary files. It was added mostly for consistency
with other decoding. Should work one way or another.

> If these look OK to you we'll go ahead and upgrade everything to
> amavisd-new 2.3.3.

I think you should be alright. Just watch the log for the first hour or so.
And skim through INCOMPATIBLE CHANGES sections in RELEASE_NOTES.

  Mark


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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