You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by yongke <yo...@hotmail.com> on 2010/04/12 16:14:14 UTC

How to filter emails in a text file

Hi guys

Is it possible to just run spamassassin on a text file?  I don't have a
mailsever or anything.  Is it possible to have like a totally standalone
spamassassin to just check emails I generate but haven't sent out yet?
-- 
View this message in context: http://old.nabble.com/How-to-filter-emails-in-a-text-file-tp28218339p28218339.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: How to filter emails in a text file

Posted by yongke <yo...@hotmail.com>.
Ok thanks, I will give this a try.


Daniel Lemke wrote:
> 
> 
> yongke wrote:
>> 
>> Hi guys
>> 
>> Is it possible to just run spamassassin on a text file?  I don't have a
>> mailsever or anything.  Is it possible to have like a totally standalone
>> spamassassin to just check emails I generate but haven't sent out yet?
>> 
> 
> 
> Uhm, not sure what you mean with "totally standalone" but have you tried
> something like this?
> 
> spamassassin < yourtextfile
> 

-- 
View this message in context: http://old.nabble.com/How-to-filter-emails-in-a-text-file-tp28218339p28219140.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: How to filter emails in a text file

Posted by Daniel Lemke <le...@jam-software.com>.

yongke wrote:
> 
> Hi guys
> 
> Is it possible to just run spamassassin on a text file?  I don't have a
> mailsever or anything.  Is it possible to have like a totally standalone
> spamassassin to just check emails I generate but haven't sent out yet?
> 


Uhm, not sure what you mean with "totally standalone" but have you tried
something like this?

spamassassin < yourtextfile
-- 
View this message in context: http://old.nabble.com/How-to-filter-emails-in-a-text-file-tp28218339p28218474.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: How to filter emails in a text file

Posted by Per Jessen <pe...@computer.org>.
yongke wrote:

> 
> Hi guys
> 
> Is it possible to just run spamassassin on a text file?  I don't have
> a mailsever or anything.  Is it possible to have like a totally
> standalone spamassassin to just check emails I generate but haven't
> sent out yet?

Yep, just run 'spamassassin <arguments...> <yourmail'


/Per Jessen, Zürich