Re: [AMaViS-user] Different rule for outgoing mail

This is a discussion on Re: [AMaViS-user] Different rule for outgoing mail within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; R.Smits, > Difficult problem. I want to apply a different spamassassin rule to the > outgoing mail stream. I ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-05-2006
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] Different rule for outgoing mail

R.Smits,

> Difficult problem. I want to apply a different spamassassin rule to the
> outgoing mail stream. I know about the policy bank MYNETS.
> I want to block all the mail to the internet with a specific string in
> the subject. But I do not want to apply this rule to the incoming stream.


You probably don't need two completely different sets of rules,
but just few modified or conditionalized rules, as also indicated
in Gary's posting:

| If internal_networks and trusted_networks are set up properly, one
| could assume mail from ALL_TRUSTED is outbound (rather it originates
| from your network - not exactly the same thing). This meta rule would
| also hit on mail from one internal client to another however:

The all_trusted does not necessarily mean outbound, mail from
internal_networks might indicate this, unless you have roaming users
or a separate MSA.

Btw, 'outgoing mail' is not necessarily the same as 'originating
from my users'. Make sure you know which you have in mind.
Also, since mail can have multiple recipients, 'outgoing'
applies on per-recipient basis, where 'originating from my users'
applies on a per-message basis. As SA (when called from amavisd)
is called once per message, the only reliable SA tests are
on the message originator.

One possibility is to add a SA test which checks on a particular
Received header field (like some specific internal IP address),
and conditionalize the other test (using meta rules).

Mark

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:14 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0