Andrea, > Hi all, > I'm new on this list and I have configured amavisd-new-2.6.1 (20080629) > on a Debian server (lenny) with dovecot ans postfix.
> Everything works fine, but i have some question and www.amavis.org/howto > seems to be down (at least from my network) This site is outdated. For informations please use http://www.ijs.si/software/amavisd/ This is the official website of amavisd. > 1) I have configured amavis and i have also defined sql_select_policy, > but i'm not able to figure out how to instruct amavis to get per user > information from database. > For example i have the following conf > $sa_spam_subject_tag = undef; > $sa_tag_level_deflt = undef; > $sa_tag2_level_deflt = 5.5; # add 'spam detected' headers at > that level > $sa_kill_level_deflt = 6.0; # triggers spam evasive actions > $sa_dsn_cutoff_level = 10; # spam level beyond which a DSN > is not sent > $final_spam_destiny = D_PASS; > $final_virus_destiny = D_DISCARD; # (data not lost, see virus > quarantine) > $final_banned_destiny = D_BOUNCE; # D_REJECT when front-end MTA > $final_bad_header_destiny = D_PASS; > This conf is global, so every mail get analyzed with the same > $sa_tag2_level_deflt, but I would have this setting stored on a database > for each user (for each recipient) Yes,if no other values are found in the database amavisd falls back to the settings which are defined in amavisd.conf. Have you include these lines in 50-user for example: @lookup_sql_dsn = ( ['DBI:mysql:database=amavis;host=localhost', 'sql-user', 'sql-pass'] ); @storage_sql_dsn = @lookup_sql_dsn; With the above settings you enable sql lookups. Have you created the mysql database and tables which amavisd should use? See http://www.ijs.si/software/amavisd/README.sql-mysql.txt for examples. > It's possible? There is a guide or howto to accomplish this? > 2) Where can i found an exhaustive list of amavis configuration params? Personally I use the documentation which is included in the amavisd source package from the amavis website. Inside you'll find the file amavisd.conf-sample which contains many configuration options. > 3) If I wanto to teach my server what is spam and what is not, i have to > use the spaassasin tools (sa_learn) or it's possible to specify some > options within amavis? You can use the spamassassin autolearn feature within amavisd or you can train the bayes db manually. Note: amavisd calls spamassassin so the bayes database is owned and used by the amavisd user. You can store your bayes db on the local filesystem or in a mysql database. > Sorry is these questions are too simple, but i don't find any doc on > internet (maybe i submit the wrong question) Regards, Daniel ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ 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/
