[prev in list] [next in list] [prev in thread] [next in thread]
List: james-dev
Subject: [jira] [Updated] (JAMES-1414) SPFHandler affects rejecting mail
From: "Jordi Ferran (JIRA)" <server-dev () james ! apache ! org>
Date: 2012-05-31 15:54:23
Message-ID: 826070303.22375.1338479663398.JavaMail.jiratomcat () issues-vm
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/JAMES-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Jordi Ferran updated JAMES-1414:
--------------------------------
Description:
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.
was:
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 an 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.
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: \
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more \
information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic