David,

> I have two questions regarding amavisd:
> I would like to use the character "+" instead of "*" in the header line
> "X-Spam-Level".
> I changed it in /usr/sbin/amavisd-new and it works but I would prefer to
> set it in a config file and not in the programm itself. Whenever there
> comes an update, my change would be overwritten.
> Is there a configuration directive for defining the X-Spam-Level character?

  $sa_spam_level_char = '*';

    # character to be used in X-Spam-Level bar;
    # empty or undef disables adding this header field

> My current mailsystem (qmail with qmailscanner) shows me the used AV
> scanners in the header, like this:
> Received: from 66.35.250.225 by blue (envelope-from
> <[EMAIL PROTECTED]>, uid 64011) with
> qmail-scanner-1.25  (clamdscan: 0.88/1374. uvscan: v4.4.00/v4732.
> f-prot: 3.13/3.13.1. spamassassin: 3.0.3.
> Clear:RC:0(66.35.250.225):SA:0(0.0/5.0):.  Processed in 6.688624 secs);
> 24 Nov 2006 11:02:45 -0000
>
> Amavisd unfortunately doesn't show the used AV scanners. Is there a way
> to enable this?

If you want it as a CFWS field in Received you will have to modify
the routine sub received_line.

If a static text in X-Virus-Scanned suffices, you may place any text
in $X_HEADER_LINE, its default is: "$myproduct_name at $mydomain".
There is no provision for automatically providing a list of
AV scanners in use, so if you need that, you will have to
adapt the program.

Btw, showing versions of software components running on your server
may not be too clever. Granted it is security-through-obscurity,
but if an attacker knows of a security flaw in any of your listed
components before you do, his job is much easier than if
he had to guess it all.

  Mark

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
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