Re: SApermrejectsave to a variable directory?
Dave Lugo <[email protected]> Sat, 12 Feb 2005 14:04:31 -0500 (EST)
| Newsgroups | gmane.mail.exim.spamassassin |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 12 Feb 2005, Marc MERLIN wrote: > > Without playing tricks with sym or hard links, not easily. You see, the > problem is that you can have multiple rcpt-to's in one mail, so it > would have to be in multiple places. > Yeah, there is that :) I've been looking at the 'only one recipient per mail' options mentioned here: http://www.timj.co.uk/linux/Exim-SpamAndVirusScanning.php Since this is for a rather low-volume mailserver, for domains which don't attract (except for spam) a lot of identical items sent to multiple recips, it's not too bad. > > Anyway, the idea behind saving rejected spam was twofold: > 1) debugging rules and scores for you and me > 2) allowing users to read their rejected mail via mutt or some maildir > capable imap server > > For #2, I would recommend the following approach: > Exim puts this header in the mail > X-SA-Exim-Rcpt-To: [email protected] > > You could run an hourly cron job that goes through the spool of rejected > messages, and moves/hard links them to other directories where your users > can only get to the ones that were sent to them. > Oh, that's a thought I hadn't considered. Thanks! > If you write such a script please contribute it back so that I can include > it in the main distro > Will do. Regards, Dave -- -------------------------------------------------------- Dave Lugo [email protected] LC Unit #260 TINLC Have you hugged your firewall today? No spam, thanks. -------------------------------------------------------- Are you the police? . . . . No ma'am, we're sysadmins.