On Fri, 2014-01-10 at 03:47 -0600, Mark Chaney wrote: > So my I dont think I am getting this to work. I have _DOMAIN_ in my > query, but it doesnt appear to get assigned a value as the spamassasin > debug is showing a value of NULL when it performs the query. Any > suggestions? I am not really finding much information on how this value > gets populated. If I do something like: > > echo -e "From: user\nTo:user\Subject: Test\n\n" | spamc -u 'example.com' > > I get: > One reason that _DOMAINS_ isn't set could be that your test data doesn't contain any domain names. Does this:
echo -e "From: u...@from.com\nTo:u...@to.com\Subject: Test\n\n" | spamc -u 'example.com' put a value in _DOMAIN_? Martin