Community Discussions and Support
Transaction Filter - Block FROM...

OK Thanks.
I'll filter when the email has arrived.
 

<p>OK Thanks. I'll filter when the email has arrived.  </p>

I seem to be getting lots of emails from someone who's name is shown as:
<tt>Viagra.com Inc</tt>

When I look at the message headers the from address is:
<tt><b>From:</b> Viagra.com Inc &lt;<a href="http://webmail.adslweb.co.uk/src/compose.php?send_to=admin%40adslweb.co.uk">xxxx@domain.com</a>&gt;</tt>

 

I have tried to created a transaction filter that works on the from address:
M, "*viagra*", RS, "'Viagra' - connection dropped."

But this doesn't work..
 

Any Ideas ?

 

&lt;p&gt;I seem to be getting lots of emails from someone who&#039;s name is shown as: &lt;tt&gt;Viagra.com Inc&lt;/tt&gt;&lt;/p&gt;&lt;p&gt;When I look at the message headers the from address is: &lt;tt&gt;&lt;b&gt;From:&lt;/b&gt; Viagra.com Inc &amp;lt;&lt;a href=&quot;http://webmail.adslweb.co.uk/src/compose.php?send_to=admin%40adslweb.co.uk&quot;&gt;xxxx@domain.com&lt;/a&gt;&amp;gt;&lt;/tt&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have tried to created a transaction filter that works on the from address: M, &quot;*viagra*&quot;, RS, &quot;&#039;Viagra&#039; - connection dropped.&quot;&lt;/p&gt;&lt;p&gt;But this doesn&#039;t work.. &amp;nbsp;&lt;/p&gt;&lt;p&gt;Any Ideas ? &amp;nbsp;&lt;/p&gt;

The transaction filter works in the SMTP transaction and checks the MAIL FROM received there. The From header in the message could be something completely different.

/Rolf 

 

&lt;p&gt;The transaction filter works in the SMTP transaction and checks the MAIL FROM received there. The From header in the message could be something completely different.&lt;/p&gt;&lt;p&gt;/Rolf&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

Thanks..

Is there anyway to block them ??
 

&lt;p&gt;Thanks..&lt;/p&gt;&lt;p&gt;Is there anyway to block them ?? &amp;nbsp;&lt;/p&gt;

Not at transaction level, you need to receive the message first to get the headers. In theory you could probably create a daemon that checks the DATA portion line by line and stops transfer if an undesirable sender is found, but then you would need the new, so far not published daemon interface, and I'm not sure if it would be considered correct to do so.

/Rolf
 

&lt;p&gt;Not at transaction level, you need to receive the message first to get the headers. In theory you could probably create a daemon that checks the DATA portion line by line and stops transfer if an undesirable sender is found, but then you would need the new, so far not published daemon interface, and I&#039;m not sure if it would be considered correct to do so.&lt;/p&gt;&lt;p&gt;/Rolf &amp;nbsp;&lt;/p&gt;
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