Luca Berra ha scritto:

On Thu, Jul 03, 2003 at 01:39:41PM +0200, Giuseppe Ghibò wrote:

http://peoples.mandrakesoft.com/~ghibo/amavisd-new-0.20030616-1mdk.src.rpm


:!wget ...


But, before posting to contrib, I'm currently trying to find how to modify amavisd.conf so that:

- local "recipient" users is warned about receiving virus mail (with virus ID)
- sender is warned about sending a mail with virus, but only if sender
is relaying from LAN (it's a nonsense to warn non-local sender because
99.9% in case of virus, the sender is fake).

bret answered those two, i'd like the list of worm that fake sender to be loaded from an external file to make it easy to modify for lusers.

- let spam pass to users (but with X-Spam-Status) and at the same time collect
all the recognized spam to a repository for further bayes learning.


well you get this free with spamassassin
see auto_learn, auto_learn_threshold_nonspam, auto_learn_threshold_spam
in Mail::SpamAssassin::Conf (it is enabled by default)


collecting spamming (at least at beginning) could be useful for spam learning if you have to bayes train a 2nd spamassassin server or for testing purposes. Or for balancing spam and ham, IMHO.

Any quick hints welcome...

Furthermore I still need to add a %post script so to set $mydomain in /etc/amavisd.conf.


i'd also like for the rpm to provide a modified master.cf with all
goodies described in README.postfix (the part below the ascii art
diagram i mean)

You are right, but indeed, I was thiking to something different. Instead of a
awkward %post script which with some perl/sed/grep would add the lines to master.cf and main.cf,
rather only a line to /etc/sysconfig/amavis, containing some variable
(e.g. AMAVISD)to "yes" or "no". Then a stand-alone script (e.g. postfix-amavisconf) which would configure or un-configure the master.cf/main.cf according to this value.


Bye.
Giuseppe.





Reply via email to