How to store and delete a message

Jason Gottschalk Jason at SYO.Com
Fri Jun 1 03:03:27 IST 2007


Hello Scott,

Just one account, actually.

I figured it out.

I have to use two rules. The first issue was that I didn't realize
there was a "non spam" item in the mailscanner.conf file until Julian
pressed the issue. I found that the "non spam" was set to "store
deliver" rather than a ruleset.

So I changed it to a ruleset and then placed my rule in there to
delete the message.

So here is what I have now, which, btw, is precisely what I was looking
for.


nonspam.action.rules:
From:Him at HisDomain.com delete
FromOrTo: Default Store Deliver

Archive.Rules:
FromOrTo: Him at HisDomain.Com /sites/hisdomain/mail/approve/mbox
FromOrTo: Default


So now I get what I want, his e-mail is stored for administrative
approval before it is released. (There is a script that puts the
message in /var/spool/mqueue after it is approved.)



Thursday, May 31, 2007, 5:13:03 PM, you wrote:
Scott> Jason Gottschalk spake the following on 5/31/2007 12:05 PM:
>> Hello Scott,
>> 
>> Can I write to a mbox from the spam rules? or do I need half of my
>> goal in the spam ruleset and the other half of my gola in the archive
>> ruleset.
>> 
>> And if it is split, will the archive process before the spam?
>> 
Scott> Are you trying to archive "everything" or just non-spam?
Scott> Do you have one archive, or one for each recipient?


Scott> -- 

Scott> MailScanner is like deodorant...
Scott> You hope everybody uses it, and
Scott> you notice quickly if they don't!!!!



-- 
Best regards,
 Jason Gottschalk                         mailto:Jason at SYO.Com
 SYO Computer Engineering Services, Inc.
 586-286-2557



More information about the MailScanner mailing list