You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bu...@apache.org on 2003/10/03 11:20:41 UTC
DO NOT REPLY [Bug 23584] -
Need an optional SMTP AUTH
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23584>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23584
Need an optional SMTP AUTH
vincenzo.gianferraripini@praxis.it changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From vincenzo.gianferraripini@praxis.it 2003-10-03 09:20 -------
First of all, let's assume that when you say "If mail is bounced as SPAM ..."
you mean "if mail is detected (by some analyzer) as spam ...".
SMTP AUTH *is* optional: when activated, the only messages rejected will be
the ones coming from a non authenticated user and sent to <some remote
address>, hence blocking any open-relay exploit. Then your case "from <my
address> to <some remote address>" will be accepted and processed *only* if
<my address> is truly authenticated.
The tricky thing remaining is managing the case "from <my address 1> to <my
address 2>, that even if SMTP AUTH is on would get through.
Then using the latest James v2.2.0a# alpha releases you can use the new
SMTPAuthSuccessful matcher to achieve what you want:
<processor name="spam">
...
<!-- If the sender is an authenticated local user notify him -->
<mailet match="SMTPAuthSuccessful" class="ToProcessor">
<processor> spam_notification</processor>
</mailet>
<!-- If the sender is a fake local user ignore -->
<mailet match="SenderHostIs=mylocalhost1,mylocalhost2" class="Null"/>
<!-- The sender could be only a remote user (true or fake), so notify
him -->
<mailet match="All" class="ToProcessor">
<processor> spam_notification</processor>
</mailet>
</processor>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org