On Tue, Sep 04, 2012 at 08:47:20AM +0200, Robert Schetterer wrote: > Am 04.09.2012 08:37, schrieb Robert Schetterer: > > Am 03.09.2012 20:36, schrieb Eddy Ilg: > >> Dear Postfix List, > >> > >> > >> I'd like to continously update whitelist for spamassassin of recipients > >> that my sasl users have sent mail to (i.e. when the recipients reply > >> they will surely not be considered as spam). I am not using per-user > >> spamassassin configurations (only a global configuration). > > > > the problem will be that you have to restart spamassassin > > each time you whitelist if using spamd with local files and global setup > > ( dont know it might better with some sql setup ), i use spamass-milter > > and dont scan for spam with sasl authed users, in addition i use > > clamav-milter with sanesecurtiy antispam stuff > > for all users, this isnt ideal but its fast enough and havent got any > > problems since years > > > > anyway you may use amavis, and ask on their list, perhaps its more easy > > to goal what you want with some amavis setup > >> > >> I've found several approaches but none seems to fit... Where is the best > >> place to insert a script that grabs recipient of mails being sent by > >> sasl-authenticated users? > > > > for a general "whitelist" feature you may use i.e > > > > http://mailfud.org/postpals/ > >> > >> > >> Best regards, > >> > >> > >> Eddy > > > > > > i forgot , you can always write a log analyse script
Well, you could always modify the postpals-taillog to just grep sasl users.. but from my (limited) experience I fail to see the point in that. It should make no different who sends the outgoing mail. If some server accepts the mail, it most likely is legimate.