[ 
https://issues.apache.org/jira/browse/JAMES-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877971#comment-17877971
 ] 

Jean Helou commented on JAMES-1414:
-----------------------------------

I'm sorry this didn't get attention, there have been a lot of releases in 
recent years, possibly fixing this issue. If it is not the case donĀ“t hesitate 
to reopen.

> SPFHandler affects rejecting mail
> ---------------------------------
>
>                 Key: JAMES-1414
>                 URL: https://issues.apache.org/jira/browse/JAMES-1414
>             Project: James Server
>          Issue Type: Bug
>          Components: SMTPServer
>    Affects Versions: 3.0-beta4
>         Environment: Running Java 1.6.0_32 (64 bits) on a dedicated server 
> Ubuntu 10.04 LTS (64bits).
>            Reporter: Jordi Ferran
>            Priority: Minor
>
> I started to play with SMTPServer handler and I discovered external mails 
> send to James are rejected.
> No explicit "reject" keyword is seen in log file, but this is the reality, 
> mail do not enter the mailbox.
> I've discovered that the SPFHandler is the cause of this problem.
> I've looked into the source code, I modified configuration parameters, but I 
> do not fully comprehend the reason for the mail to be rejected or not 
> delivered to the mailbox.
> The log says:
> Id='1135436670' User='' No Sender or HELO/EHLO present
> The configuration:
>             <handler class="org.apache.james.smtpserver.fastfail.SPFHandler">
>                 <blockSoftFail>false</blockSoftFail>
>                 <blockPermError>false</blockPermError>
>                 <checkAuthNetworks>false</checkAuthNetworks>
>             </handler>
> My interpretation:
> "No Sender" => Not authorized user logged (no sender for controlled domains) 
> => OK
> "No HELO/EHLO" => OK, two external servers are not using this command => OK 
> to me, I do not enforce the use of HELO/EHLO.
> The log points to an if-condition where the method returns without rejecting 
> the email, but the true effect is that somehow the incoming mail is not 
> delivered to the mailbox. I raised LogLevel to DEBUG and no stacktrace is 
> seen, don't know where to search for more clues.
> Right now I don't know how to handle this problem. If it is my fault, I would 
> appreciate an indication on how to configure the handler.
> Thanks in advance.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to