Re: [VOTE] Release Hupa 0.2
[X] +1 Please release Go for the first release. Felix - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Hupa 0.2
[ x ] +1 Please release Thanks, Norman 2012/5/30 Manuel Carrasco Moñino man...@apache.org: Hi all, It's time to release apache Hupa 0.2. Hupa is quite functional right now, and I would like to release 0.2 before we hopefully add a lot of changes coming from the Hupa-evolution project at the end of Summer. You can test what hupa-0.2 does: 1.- At these demo urls: http://james.zones.apache.org http://hupa.alcala.org 2.- Or downloading the .war file: $ wget https://repository.apache.org/content/repositories/orgapachejames-156/org/apache/james/hupa/hupa/0.0.2/hupa-0.0.2.war and running either: $ java -Dhupa.demo -jar hupa-0.0.2.war $ java -jar hupa.0.2.war Then point your browser to http://localhost:8282 So please cast your VOTE for Apache Hupa 0.2 release: [ ] +1 Please release [ ] +0 No time to review [ ] -1 Something is wrong Release Notes: This is the first version of the product. All important issues have been fixed and it does not depends on any snapshot nor any software incompatible with our license. SVN tag: https://svn.apache.org/repos/asf/james/hupa/tags/hupa-parent-0.0.2/ Source tarball: https://repository.apache.org/content/repositories/orgapachejames-156/org/apache/james/hupa/hupa-parent/0.0.2/hupa-parent-0.0.2-source-release.zip Staging repository: https://repository.apache.org/content/repositories/orgapachejames-156/ Thanks - Manolo - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Hupa 0.2
[x] +1 Please release svn co + mvn install OK (tests OK) ran war in tomcat container with demo account OK checked WEB-INF/lib for non ASL2 jars OK DEPENDENCIES file does not contain what it states Thx, Eric On 05/30/2012 02:48 PM, Manuel Carrasco Moñino wrote: Hi all, It's time to release apache Hupa 0.2. Hupa is quite functional right now, and I would like to release 0.2 before we hopefully add a lot of changes coming from the Hupa-evolution project at the end of Summer. You can test what hupa-0.2 does: 1.- At these demo urls: http://james.zones.apache.org http://hupa.alcala.org 2.- Or downloading the .war file: $ wget https://repository.apache.org/content/repositories/orgapachejames-156/org/apache/james/hupa/hupa/0.0.2/hupa-0.0.2.war and running either: $ java -Dhupa.demo -jar hupa-0.0.2.war $ java -jar hupa.0.2.war Then point your browser to http://localhost:8282 So please cast your VOTE for Apache Hupa 0.2 release: [ ] +1 Please release [ ] +0 No time to review [ ] -1 Something is wrong Release Notes: This is the first version of the product. All important issues have been fixed and it does not depends on any snapshot nor any software incompatible with our license. SVN tag: https://svn.apache.org/repos/asf/james/hupa/tags/hupa-parent-0.0.2/ Source tarball: https://repository.apache.org/content/repositories/orgapachejames-156/org/apache/james/hupa/hupa-parent/0.0.2/hupa-parent-0.0.2-source-release.zip Staging repository: https://repository.apache.org/content/repositories/orgapachejames-156/ Thanks - Manolo -- eric | http://about.echarles.net | @echarles - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: How to use MailboxManager to insert a fake mail?
Hi Jerry, Why do you want to store anything if you want to act as a proxy? Shouldn't you always delegate the request to the remote imap server? To try to answer your question: - which mailstore do you use: memory? - are you accessing the same mailstore when invoke getMessages()? Print also the content of the msgContent string before callen append(). Thx, Eric On 05/30/2012 05:20 PM, Jerry Tian wrote: Hi, Jame developers, I am building a proxy/gateway using james-imap-processor sub-module. Currently I directly put my testing logic into the actual processor. In org.apache.james.imap.processor.SearchProcessor, before the actual searching happening, I am trying to insert/save some fake mails into mailbox using the provided MailboxManager. This is the code, more of a hack, which is borrowed from the AppendProcessor. = //add this message into mailbox. String msgContent = this.getNewMsgStreamContent(noteData.getNoteTitle(), noteData.getNoteTitle(),//noteData.getNoteContent(), new Date(noteData.getCreatedAt()), inoteUID, null, userId, userDomain); logger.info(using raw msg content generated: + msgContent); final MailboxPath mailboxPath = ...; final SelectedMailbox selectedMailbox = imapSession.getSelected(); final boolean isSelectedMailbox = selectedMailbox != null selectedMailbox.getPath().equals(mailboxPath); mailbox.appendMessage(new ByteArrayInputStream(msgContent.getBytes(ISO-8859-1)), new Date(noteData.getCreatedAt()), mailboxSession, !isSelectedMailbox, new Flags()); = And the referred getNewMsgStreamContent method is as below(the template used is dumped before using the same client and server): = private String getNewMsgStreamContent(String title, String content, Date cDate, String inoteUUID, String msgUUID, String userId, String domain) { final SimpleDateFormat sdf = new SimpleDateFormat(EEE, d MMM HH:mm:ss Z); if (cDate == null) { cDate = new Date(); } String currDate = sdf.format(cDate); if (inoteUUID == null) { inoteUUID = UUID.randomUUID().toString(); } if (msgUUID == null) { msgUUID = UUID.randomUUID().toString() + @ + domain; } String syncUser = userId + @ + domain; return NEW_MSG_TPL.replaceAll(__TITLE__, title) .replaceAll(__SYNC_USER__, syncUser) .replaceAll(__INOTE_UUID__, inoteUUID) .replaceAll(__MSG_UUID__, msgUUID) .replaceAll(__CDATE__, currDate) .replaceAll(__BODY__, content); } = From my test, the above method will produce a message as this: = Subject: Coming soon From: a...@def.coma...@def.com X-Universally-Unique-Identifier: 3f4e6172-042b-4363-8edb-a366751f8163 Content-Type: text/html; charset=utf-8 X-Uniform-Type-Identifier: com.apple.mail-note Message-Id:a95c1844-a3cb-4726-9c3d-d8c9031a6...@def.com Date: Thu, 24 May 2012 16:19:31 +0800 X-Mail-Created-Date: Thu, 24 May 2012 16:19:31 +0800 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Coming soon = Although the invoking of appendMessage generates no exception so far, it turns out only an empty mail record is stored in this mail box. That is, the messageManager.getMessages(MessageRange, FetchGroup.HEADERS, mailboxSession) does returns newly added records in search result, but only MessageResult.getUid() returns a valid value, and all other header values are missing(different from the normal mail records from real clients). Any clue why this is happening? And is there a more developer friendly way to directly save a fake mail into user's mailbox? Thanks a lot. - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail:
Re: [VOTE] Release Hupa 0.2
[x] +1 Please release On Thu, May 31, 2012 at 10:11 AM, Eric Charles e...@apache.org wrote: [x] +1 Please release svn co + mvn install OK (tests OK) ran war in tomcat container with demo account OK checked WEB-INF/lib for non ASL2 jars OK DEPENDENCIES file does not contain what it states Thx, Eric On 05/30/2012 02:48 PM, Manuel Carrasco Mońino wrote: Hi all, It's time to release apache Hupa 0.2. Hupa is quite functional right now, and I would like to release 0.2 before we hopefully add a lot of changes coming from the Hupa-evolution project at the end of Summer. You can test what hupa-0.2 does: 1.- At these demo urls: http://james.zones.apache.org http://hupa.alcala.org 2.- Or downloading the .war file: $ wget https://repository.apache.org/**content/repositories/** orgapachejames-156/org/apache/**james/hupa/hupa/0.0.2/hupa-0.**0.2.warhttps://repository.apache.org/content/repositories/orgapachejames-156/org/apache/james/hupa/hupa/0.0.2/hupa-0.0.2.war and running either: $ java -Dhupa.demo -jar hupa-0.0.2.war $ java -jar hupa.0.2.war Then point your browser to http://localhost:8282 So please cast your VOTE for Apache Hupa 0.2 release: [ ] +1 Please release [ ] +0 No time to review [ ] -1 Something is wrong Release Notes: This is the first version of the product. All important issues have been fixed and it does not depends on any snapshot nor any software incompatible with our license. SVN tag: https://svn.apache.org/repos/**asf/james/hupa/tags/hupa-**parent-0.0.2/https://svn.apache.org/repos/asf/james/hupa/tags/hupa-parent-0.0.2/ Source tarball: https://repository.apache.org/**content/repositories/** orgapachejames-156/org/apache/**james/hupa/hupa-parent/0.0.2/** hupa-parent-0.0.2-source-**release.ziphttps://repository.apache.org/content/repositories/orgapachejames-156/org/apache/james/hupa/hupa-parent/0.0.2/hupa-parent-0.0.2-source-release.zip Staging repository: https://repository.apache.org/**content/repositories/** orgapachejames-156/https://repository.apache.org/content/repositories/orgapachejames-156/ Thanks - Manolo -- eric | http://about.echarles.net | @echarles --**--**- To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.orgserver-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.**orgserver-dev-h...@james.apache.org
[jira] [Created] (JAMES-1414) SPFHandler affects rejecting mail
Jordi Ferran created JAMES-1414: --- Summary: 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, none enter. I've discovered that the SPFHandler is the cause to disrupt. I've looked into the source code, I modified configuration parameters, but I do not fully comprehend the reason to reject the mail. The log says: Id='1135436670' User='' No Sender or HELO/EHLO present The configuration: handler class=org.apache.james.smtpserver.fastfail.SPFHandler blockSoftFailfalse/blockSoftFail blockPermErrorfalse/blockPermError checkAuthNetworksfalse/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. Looking at the source code seems that in this situation (this log appears), the method returns without rejecting the email, but the true effect is that somehow the mail is never handled to the mailbox. 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-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
[jira] [Updated] (JAMES-1414) SPFHandler affects rejecting mail
[ 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 blockSoftFailfalse/blockSoftFail blockPermErrorfalse/blockPermError checkAuthNetworksfalse/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. Looking at the source code seems that in this situation (the log confirms the source code 'if'), the method returns without rejecting the email, but the true effect is that somehow the incoming mail never 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. 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, none enter. I've discovered that the SPFHandler is the cause to disrupt. I've looked into the source code, I modified configuration parameters, but I do not fully comprehend the reason to reject the mail. The log says: Id='1135436670' User='' No Sender or HELO/EHLO present The configuration: handler class=org.apache.james.smtpserver.fastfail.SPFHandler blockSoftFailfalse/blockSoftFail blockPermErrorfalse/blockPermError checkAuthNetworksfalse/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. Looking at the source code seems that in this situation (this log appears), the method returns without rejecting the email, but the true effect is that somehow the mail is never handled to the mailbox. 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 blockSoftFailfalse/blockSoftFail blockPermErrorfalse/blockPermError checkAuthNetworksfalse/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. Looking at the source code seems that in this situation (the log confirms the source code 'if'), the method returns without rejecting the email, but the true effect is that somehow the incoming mail never 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
[jira] [Updated] (JAMES-1414) SPFHandler affects rejecting mail
[ 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 blockSoftFailfalse/blockSoftFail blockPermErrorfalse/blockPermError checkAuthNetworksfalse/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 never 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. 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 blockSoftFailfalse/blockSoftFail blockPermErrorfalse/blockPermError checkAuthNetworksfalse/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. Looking at the source code seems that in this situation (the log confirms the source code 'if'), the method returns without rejecting the email, but the true effect is that somehow the incoming mail never 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 blockSoftFailfalse/blockSoftFail blockPermErrorfalse/blockPermError checkAuthNetworksfalse/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 never 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
[jira] [Updated] (JAMES-1414) SPFHandler affects rejecting mail
[ 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 blockSoftFailfalse/blockSoftFail blockPermErrorfalse/blockPermError checkAuthNetworksfalse/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. 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 blockSoftFailfalse/blockSoftFail blockPermErrorfalse/blockPermError checkAuthNetworksfalse/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 never 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 blockSoftFailfalse/blockSoftFail blockPermErrorfalse/blockPermError checkAuthNetworksfalse/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
[jira] [Updated] (JAMES-1414) SPFHandler affects rejecting mail
[ 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 blockSoftFailfalse/blockSoftFail blockPermErrorfalse/blockPermError checkAuthNetworksfalse/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 blockSoftFailfalse/blockSoftFail blockPermErrorfalse/blockPermError checkAuthNetworksfalse/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 blockSoftFailfalse/blockSoftFail blockPermErrorfalse/blockPermError checkAuthNetworksfalse/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