[ 
https://issues.apache.org/jira/browse/JAMES-764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Norman Maurer resolved JAMES-764.
---------------------------------

    Resolution: Cannot Reproduce

Bouncing etc works without problems here

> How is it possible to generate a DSN or an error when JAMES receives a mail 
> for a user that does not exist?
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: JAMES-764
>                 URL: https://issues.apache.org/jira/browse/JAMES-764
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: Matchers/Mailets (bundled)
>    Affects Versions: 2.3.0
>         Environment: Windows
>            Reporter: maximeloridan
>
> How is it possible to generate a DSN or an error when JAMES receives a mail 
> for a user that does not exist?
> Actually, the mailet does work well when it concerns the name of the server 
> with the following mailet:
> <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
>   <processor>relay-denied</processor> 
>   <notice>550 - Requested action not taken: relaying denied</notice> 
>   </mailet>
> If I send a mail to [email protected], I will receive an error 
> "relaying denied" (which is good)
> BUT if I send a mail to [email protected], I will NOT receive an 
> error. And yet I have a quiet same mailet:
> <mailet match="HostIsLocal" class="ToProcessor">
>   <processor>local-address-error</processor> 
>   <notice>550 - Requested action not taken: no such user here</notice> 
>   </mailet>
> (I was expected to receive the error "no such user here" as I received 
> "relaying denied" when the name of the server was not the good one.. Why did 
> I not receive the error??...) Is there a way to receive "no such user here"?
> Moreover, I tried to see what was the local-address-error processor and I 
> uncomment the class Bounce as you can see below..
>  
>  
> <processor name="local-address-error"> 
> - <!--  To notify the sender the address was invalid, uncomment this 
> matcher/mailet configuration 
>   --> 
> - <mailet match="All" class="Bounce">
>   <attachment>none</attachment> 
>   </mailet> 
> - <mailet match="All" class="ToRepository">
>   <repositoryPath>file://var/mail/address-error/</repositoryPath> 
>   </mailet>
>   </processor>
> .. But the sender was not notified.. Why?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to