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 "Jean Helou (Jira)" <se...@james.apache.org> on 2024/08/30 05:47:00 UTC

[jira] [Closed] (JAMES-1414) SPFHandler affects rejecting mail

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

Jean Helou closed JAMES-1414.
-----------------------------
    Resolution: Won't Fix

> 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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org