Benoit, > I'd like to filter mail by extension and by user but i don't find how > to do this ... > Clearly a user "tata" can send an attachments .xls, .doc, .exe, .ppt > and a user "toto" can only send .doc for example.
This can only be done based on recipient address (see release notes of version 2.3.0 on how), but intentionally can not be based on sender address, which is easily faked. The only way to do something like that is to use policy banks attached to a dedicated port number, and let Postfix feed mail to be checked for privileged senders (authenticated or based on their client IP address) to that dedicated amavisd port number, where a different set of banned rules will apply. See: http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks > And I must associate specifics rules with some user's list ... > The blacklist/whitelist doesn't fetch my needs ... (i suppose) true, blacklist/whitelist only applies to spam tests Mark ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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/
