Im using freebsd, postfix and spamassassin.

I made a script that runs once every night and scans my imap spam folder
for emails and if there is any i run sa-learn --spam on the email.

My question is, after i scan the email, can i delete the email?

Sure, just put it into your script to delete the message. If your folders are in Maildir format, it's simple. sa-learn won't do it for you, though.

Reply via email to