Re: Scoring mails from "not mynetworks" but using my domain in the headers?

2017-11-27 Thread Benny Pedersen
Ralf Hildebrandt skrev den 2017-11-28 00:31: Putting my rules in place already pointed out several hosts not on our network sending mail as charite.de senders... your rules, your problem :=) in amavisd 0.01 it was designed to use xclient forwards in postfix so amavisd know what clients it r

Re: Scoring mails from "not mynetworks" but using my domain in the headers?

2017-11-27 Thread Ralf Hildebrandt
* Bill Cole : > On 27 Nov 2017, at 8:57 (-0500), Ralf Hildebrandt wrote: > > > * Tobi : > > > ALL_TRUSTED should fire if msg is only transported via trusted > > > hosts, so > > > you can do && !ALL_TRUSTED > > > But would it not be better to not accept such messages in first place > > > and reject

Re: Scoring mails from "not mynetworks" but using my domain in the headers?

2017-11-27 Thread Bill Cole
On 27 Nov 2017, at 8:57 (-0500), Ralf Hildebrandt wrote: * Tobi : ALL_TRUSTED should fire if msg is only transported via trusted hosts, so you can do && !ALL_TRUSTED But would it not be better to not accept such messages in first place and reject them on your border mta? This is my border MT

Re: Scoring mails from "not mynetworks" but using my domain in the headers?

2017-11-27 Thread Benny Pedersen
Ralf Hildebrandt skrev den 2017-11-27 13:57: 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

Re: Scoring mails from "not mynetworks" but using my domain in the headers?

2017-11-27 Thread RW
On Mon, 27 Nov 2017 14:32:11 +0100 Tobi wrote: > But would it not be better to not accept such messages in first place > and reject them on your border mta? There are legitimate reasons to receive them, e.g. mailing lists.

Re: Scoring mails from "not mynetworks" but using my domain in the headers?

2017-11-27 Thread Ralf Hildebrandt
* Tobi : > ALL_TRUSTED should fire if msg is only transported via trusted hosts, so > you can do && !ALL_TRUSTED > But would it not be better to not accept such messages in first place > and reject them on your border mta? This is my border MTA. -- Ralf Hildebrandt Charite Univ

Re: Scoring mails from "not mynetworks" but using my domain in the headers?

2017-11-27 Thread Tobi
ALL_TRUSTED should fire if msg is only transported via trusted hosts, so you can do && !ALL_TRUSTED But would it not be better to not accept such messages in first place and reject them on your border mta? Am 27.11.2017 um 13:57 schrieb Ralf Hildebrandt: > How can I distinguish my internal network

Re: Scoring mails from "not mynetworks" but using my domain in the headers?

2017-11-27 Thread RW
On Mon, 27 Nov 2017 13:57:25 +0100 Ralf Hildebrandt wrote: > 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_F

Scoring mails from "not mynetworks" but using my domain in the headers?

2017-11-27 Thread Ralf Hildebrandt
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 describeMY_FROM Sender is from charite.d