How can I distinguish my internal networks from the evil internet in a
spamassassin rule?

I want to give messages coming from "not mynetworks" but using my
domain in the From: header some additional points:

header      MY_FROM   From =~ /charite.de/i
describe    MY_FROM   Sender is from charite.de

# Now you create a rule to combine them:
meta     MY_FROM_FROM_OUTSIDE  MY_FROM && HOW_DO_I_QUERY_TRUSTED_NETWORKS
describe MY_FROM_FROM_OUTSIDE  Sender is from my domain, but comes from the 
outside
score    MY_FROM_FROM_OUTSIDE  1.0


-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebra...@charite.de        Campus Benjamin Franklin
https://www.charite.de             Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155

Reply via email to