Community Discussions and Support
Filering email claiming to be from me.

Thanks I try this over the next day or two and see how it goes.

Thanks I try this over the next day or two and see how it goes.

is it possible to add a transaction filter like.

from 'me@domain.co.uk' and ip address or host not myserversname / or IP address drop connection ??

Thanks

<P>is it possible to add a transaction filter like.</P> <P>from <A href="mailto:'me@domain.co.uk'">'me@domain.co.uk'</A> and ip address or host not myserversname / or IP address drop connection ??</P> <P>Thanks</P>

Yep, I do.

I have a transflt rule to drop any connections using a MAIL FROM of a local address.

They should only be coming from the local lan or a couple of fixed external addresses that are all exempted from transaction filtering in their Connection Control settings.

If you have external dynamic ip's this approach may be a bit difficult, although you can add exceptions for certain addresses (Edit: ABOVE the reject rule).

[quote]M, "*user@mydomain.com*", X, "MAIL FROM accepted"

M, "*@mydomain.com*", B, "554 Fraudulent MAIL FROM - rejected"

[/quote]

 

<p>Yep, I do.</p><p>I have a transflt rule to drop any connections using a MAIL FROM of a local address.</p><p>They should only be coming from the local lan or a couple of fixed external addresses that are all exempted from transaction filtering in their Connection Control settings.</p><p>If you have external dynamic ip's this approach may be a bit difficult, although you can add exceptions for certain addresses (Edit: <b>ABOVE</b> the reject rule). </p><p>[quote]M, "*user@mydomain.com*", X, "MAIL FROM accepted"</p><p>M, "*@mydomain.com*", B, "554 Fraudulent MAIL FROM - rejected"</p><p>[/quote] </p><p> </p>

As you probably already noticed transaction filtering can only be applied to one SMTP command or header at the time, not a combination. You can cheat a bit, though. If you exempt all IPs that you send from yourself from transaction filtering (Connection control / Add restriction) you can then add a transaction filter to drop all incoming messages with 'me@domain.co.uk' as Mail From.

/Rolf 

<p>As you probably already noticed transaction filtering can only be applied to one SMTP command or header at the time, not a combination. You can cheat a bit, though. If you exempt all IPs that you send from yourself from transaction filtering (Connection control / Add restriction) you can then add a transaction filter to drop all incoming messages with <a href="mailto:%27me@domain.co.uk%27">'me@domain.co.uk'</a> as Mail From.</p><p>/Rolf </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft