FM wrote: > Hello, > We are using spamassassin with courier-mta for all our users. > For this we created .mailfilter for each user. > > I just read about the courierd file that can be used for system wide > spam filtering : > > DEFAULTDELIVERY="|/usr/bin/spamc|/usr/bin/maildrop" > > > So it would be a one time config instead of creating a .mailfilter > file each time a user is created. > > Sound good to me :) > > Is there perfomance improvement when using courierd file instead of > .mailfilter ? > > our .mailfilter are basic : > xfilter "/usr/bin/spamc" > > if(/^X-Spam-Status: Yes/) > to Maildir/.Junk/
Use /etc/courier/maildroprc instead. Any commands you put there will be run prior to the commands in the user's .mailfilter files. If everyone has a Junk folder, you could put both of those commands in the maildroprc file and remove the individual .mailfilter files altogether. -- Bowie ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
