See Thread at: http://www.techienuggets.com/Detail?tx=50082 Posted on behalf of a User
Thanks that worked. In Response To: [EMAIL PROTECTED] ha scritto: > See Thread at: http://www.techienuggets.com/Detail?tx=50082 Posted on behalf > of a User > > Ok so I uncommented: > > <mailet match="HasMailAttribute=isSpam" class="Null" > onMatchException="noMatch"/> > > But it still creates an entry in the james\var\mail\address-error > > The only difference I see is that another file with "550 - Requested action > not taken: no such user here" is also created. So what's happening now? Is a > status 550 being sent back to the sender? The sender is a spammer. I don't > want them to get a notification. I just want the email to go to null and not > use up disk space. > > Any suggestions? <processor name="local-address-error"> <mailet match="All" class="Null" onMatchException="match"/> </processor> or even better replace the current: <mailet match="HostIsLocal" class="ToProcessor"> <processor> local-address-error </processor> <notice>550 - Requested action not taken: no such user here</notice> </mailet> with <mailet match="HostIsLocal" class="Null" /> This will simply drop any mail for non local addresses. Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
