javaemailserver-user Mailing List for Java SMTP/POP EMail Server
Brought to you by:
edaugherty,
mfg8876
You can subscribe to this list here.
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
(6) |
Sep
|
Oct
(8) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(18) |
Jun
(1) |
Jul
|
Aug
(16) |
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(8) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(5) |
Dec
|
From: <jav...@li...> - 2014-11-11 21:55:04
|
Hi all, following a lengthy hiatus, a new version of JES is finally available. A number of issues reported by the community have been addressed. Worthy of note is a new implementation of the SMTP command pipeline extension. Enjoy this new release of JES. Your feedback as always is welcome and very much appreciated. Regards, Andreas (aka mfg8876) |
From: <jav...@li...> - 2014-11-02 22:54:01
|
Hi max, the logs will not be needed. I have replicated the bug with the supplied files. I will now work towards delivering a fix. Thanks for sharing the valuable intel. Regards, Andreas Date: Sun, 2 Nov 2014 16:47:53 +0100 To: jav...@li... From: jav...@li... Subject: [Javaemailserver-user] configuring the mail.xml local user Hello, In the appendix: -user.conf -mail.xml Can´t find the log files or did a clear command? I can´t find them in the logs folder. Are they will be created after startup? Java: java version "1.6.0_43" System: Mac 10.6 Snow Leo Firewall:on Greets ------------------------------------------------------------------------------ _______________________________________________ Javaemailserver-user mailing list Jav...@li... https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
From: <jav...@li...> - 2014-11-02 15:48:02
|
Hello, In the appendix: -user.conf -mail.xml Can´t find the log files or did a clear command? I can´t find them in the logs folder. Are they will be created after startup? Java: java version "1.6.0_43" System: Mac 10.6 Snow Leo Firewall:on Greets |
From: <jav...@li...> - 2014-11-02 15:12:55
|
Hi Max, if it would be possible could you also sent me copies of mail.xml, user.conf(unaltered), jes.log and jes2.log? The log files contain more information than the console printout. Could you also describe your system? Windows, linux distro, java version, firewalled? Regards, Andreas > Date: Wed, 29 Oct 2014 12:43:02 +0100 > To: jav...@li... > From: jav...@li... > Subject: Re: [Javaemailserver-user] Installing JES on CentOS 6.5 > > I can also not startup the email-server with similar parameter, there > is always an java.net.UnknownHostException. On Window it works? > > 2014-10-28 23:49 GMT+01:00, jav...@li... > <jav...@li...>: > > Hi > > > > I'm currently trying to install JES 2.8 on CentOS 6.5. When I run mail.sh I > > get the following error: > > > > [main]ConfigurationManagerBackEndFile - No users registered with any > > domain!! > > [main]ConfigurationManagerBackEndFile - No users registered, aborting > > startup. Please consult the documentation > > > > I have configured mail.xml with the domain localhost and the user.conf file > > with user.incoming@localhost=kana1234. > > > > I have used similar config on Windows with JES before and not had any issues > > so any help would be appreciated. > > > > Thanks > > > > Ryan > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Javaemailserver-user mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
From: <jav...@li...> - 2014-11-02 15:04:42
|
Hi Ryan, I have installed CentOS 6.6 and setup jes in the minimum fashion. That is: Set localhost as a local domain in mail.xml. Added a single user in user.conf (actually used user.incoming@localhost=kana1234). Because in linux the first 1024 ports are considered privileged, I also set the smtp port to 10025 and the pop3 port to 10110. I also killed my network connection so that I can get the dreaded UnknownHostException (which will either abort the server launch or allow it to continue normally). JES started as expected. I have updated the code base with a number of fixes to address various issues that have come up in recent months. There is still some work to be done, so I could wait before issuing a maintenance release (within the week by all accounts). Since I cannot reproduce your issue, I ask that you mail me a copy of mail.xml, user.conf, jes.log and jes2.log. I can only hope that I can find clues in these file that will help coming up with a fix. Please make sure that user.conf is unaltered. I need to check that the line terminators are properly handled. Regards, Andreas > Date: Wed, 29 Oct 2014 12:43:02 +0100 > To: jav...@li... > From: jav...@li... > Subject: Re: [Javaemailserver-user] Installing JES on CentOS 6.5 > > I can also not startup the email-server with similar parameter, there > is always an java.net.UnknownHostException. On Window it works? > > 2014-10-28 23:49 GMT+01:00, jav...@li... > <jav...@li...>: > > Hi > > > > I'm currently trying to install JES 2.8 on CentOS 6.5. When I run mail.sh I > > get the following error: > > > > [main]ConfigurationManagerBackEndFile - No users registered with any > > domain!! > > [main]ConfigurationManagerBackEndFile - No users registered, aborting > > startup. Please consult the documentation > > > > I have configured mail.xml with the domain localhost and the user.conf file > > with user.incoming@localhost=kana1234. > > > > I have used similar config on Windows with JES before and not had any issues > > so any help would be appreciated. > > > > Thanks > > > > Ryan > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Javaemailserver-user mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
From: <jav...@li...> - 2014-10-29 11:43:08
|
I can also not startup the email-server with similar parameter, there is always an java.net.UnknownHostException. On Window it works? 2014-10-28 23:49 GMT+01:00, jav...@li... <jav...@li...>: > Hi > > I'm currently trying to install JES 2.8 on CentOS 6.5. When I run mail.sh I > get the following error: > > [main]ConfigurationManagerBackEndFile - No users registered with any > domain!! > [main]ConfigurationManagerBackEndFile - No users registered, aborting > startup. Please consult the documentation > > I have configured mail.xml with the domain localhost and the user.conf file > with user.incoming@localhost=kana1234. > > I have used similar config on Windows with JES before and not had any issues > so any help would be appreciated. > > Thanks > > Ryan > |
From: <jav...@li...> - 2014-10-28 23:07:28
|
Hi I'm currently trying to install JES 2.8 on CentOS 6.5. When I run mail.sh I get the following error: [main]ConfigurationManagerBackEndFile - No users registered with any domain!! [main]ConfigurationManagerBackEndFile - No users registered, aborting startup. Please consult the documentation I have configured mail.xml with the domain localhost and the user.conf file with user.incoming@localhost=kana1234. I have used similar config on Windows with JES before and not had any issues so any help would be appreciated. Thanks Ryan |
From: <jav...@li...> - 2014-06-25 08:46:17
|
Hello, I try to keep going, but something does not work. My domain is "localhost" When I try to create a user: user.me@localhost=1234 I'll come back to the previous exception 2014-06-25 10:38:59,621 - [main] Config - No default servers available, JES-DNS operating in RECURSIVE mode. Remote port set to default: 53 2014-06-25 10:38:59,699 - [main] SpecialPurpose - The entry 2001:10::/28,,02.28.2014 is expired. Ignoring. 2014-06-25 10:38:59,702 - [main] Mail - JES Starting Up... 2014-06-25 10:39:29,975 - [main] ConfigurationManager - Unable to download mail.xsd, using local copy instead. schema_reference.4: Failed to read schema document 'http://javaemailserver.sourceforge.net/schema/mail_2_8.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. 2014-06-25 10:39:30,129 - [main] ConfigurationManager - There was an error parsing http://javaemailserver.sourceforge.net/schema/mail_2_8.xsd java.net.UnknownHostException: javaemailserver.sourceforge.net at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at sun.net.NetworkClient.doConnect(NetworkClient.java:163) at sun.net.www.http.HttpClient.openServer(HttpClient.java:388) at sun.net.www.http.HttpClient.openServer(HttpClient.java:523) at sun.net.www.http.HttpClient.<init>(HttpClient.java:227) at sun.net.www.http.HttpClient.New(HttpClient.java:300) at sun.net.www.http.HttpClient.New(HttpClient.java:317) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:675) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.getXMLDocument(ConfigurationManager.java:1277) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(ConfigurationManager.java:335) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(ConfigurationManager.java:277) at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) 2014-06-25 10:40:30,919 - [main] ConfigurationManagerBackEndFile - E-mail address: is malformed and therefore ignored. 2014-06-25 10:40:30,919 - [main] EmailAddress - The localhost is used as a mail domain. 2014-06-25 10:40:30,967 - [main] ConfigurationManagerBackEndFile - No users registered with any domain!!! 2014-06-25 10:40:30,967 - [main] ConfigurationManagerBackEndFile - No users registered, aborting startup. Please consult the documentation. The application failed to initialize. java.lang.RuntimeException: No users registered, aborting startup. Please consult the documentation. at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile.loadUsersAndRealms(ConfigurationManagerBackEndFile.java:706) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProperties(ConfigurationManager.java:405) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(ConfigurationManager.java:367) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(ConfigurationManager.java:277) at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) Forgive me if I understand something difficult here - How do I create a user in to a localhost domain? regards max 2014-06-23 11:55 GMT+02:00, jav...@li... <jav...@li...>: > I think you need to add a user to the users file first…. > > From: > "jav...@li...<mailto:jav...@li...>" > <jav...@li...<mailto:jav...@li...>> > Reply-To: > "jav...@li...<mailto:jav...@li...>" > <jav...@li...<mailto:jav...@li...>> > Date: dinsdag 17 juni 2014 16:05 > To: > "jav...@li...<mailto:jav...@li...>" > <jav...@li...<mailto:jav...@li...>> > Subject: Re: [Javaemailserver-user] java.net.UnknownHostException in > localhost > > Hi Andreas, > > Sorry if the message is longer, I will send all now all I've done to boot > jes. > I tried it with localhost, hostname and 127.0.0.1 and I each have the > same exception. > It is surely only a simple thing, but I rise not at the moment. > I can not find anything in the turtorial, what is missing (at this simple > start) > > I have for the simple configuration steps carried out as indicated on > my Unix-like OS: > > 1.Installations path ---> bin/mail.sh--> JES_HOME > > 2.domain ---> conf / mail.xml -> > > # > <File> > <domains> localhost </ domains> > <defaultMailbox> </ default mailbox> > </ Document> > # > > 3.user --> conf/ user.conf > > #Examples > #use...@my...=adminpassword<mailto:#use...@my...=adminpassword> > #use...@my...rwardAddresses=other<mailto:#use...@my...rwardAddresses=other>@other.domain.net > > me.me@localhost=1234 > > > Shell: > > 2014-06-17 15:31:22,506 - [main] Config - No default servers > available, JES-DNS operating in RECURSIVE mode. Remote port set to > default: 53 > 2014-06-17 15:31:22,526 - [main] SpecialPurpose - The entry > 2001:10::/28,,02.28.2014 is expired. Ignoring. > 2014-06-17 15:31:22,528 - [main] Mail - JES Starting Up... > 2014-06-17 15:31:52,630 - [main] ConfigurationManager - Unable to > download mail.xsd, using local copy instead. schema_reference.4: > Failed to read schema document > 'http://javaemailserver.sourceforge.net/schema/mail_2_8.xsd', because > 1) could not find the document; 2) the document could not be read; 3) > the root element of the document is not <xsd:schema>. > 2014-06-17 15:31:52,744 - [main] ConfigurationManager - There was an > error parsing http://javaemailserver.sourceforge.net/schema/mail_2_8.xsd > java.net.UnknownHostException: javaemailserver.sourceforge.net > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) > at java.net.Socket.connect(Socket.java:529) > at java.net.Socket.connect(Socket.java:478) > at sun.net.NetworkClient.doConnect(NetworkClient.java:163) > at sun.net.www.http.HttpClient.openServer(HttpClient.java:388) > at sun.net.www.http.HttpClient.openServer(HttpClient.java:523) > at sun.net.www.http.HttpClient.<init>(HttpClient.java:227) > at sun.net.www.http.HttpClient.New(HttpClient.java:300) > at sun.net.www.http.HttpClient.New(HttpClient.java:317) > at > sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970) > at > sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911) > at > sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836) > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) > at > com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:675) > at > com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) > at > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) > at > com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232) > at > com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) > at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManager.getXMLDocument(ConfigurationManager.java:1277) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(ConfigurationManager.java:335) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(ConfigurationManager.java:277) > at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) > at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) > at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) > 2014-06-17 15:32:53,246 - [main] ConfigurationManagerBackEndFile - > E-mail address: is malformed and therefore ignored. > 2014-06-17 15:32:53,246 - [main] EmailAddress - The localhost is used > as a mail domain. > 2014-06-17 15:32:53,362 - [main] ConfigurationManagerBackEndFile - No > users registered with any domain!!! > 2014-06-17 15:32:53,362 - [main] ConfigurationManagerBackEndFile - No > users registered, aborting startup. Please consult the documentation. > The application failed to initialize. > java.lang.RuntimeException: No users registered, aborting startup. > Please consult the documentation. > at > com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile.loadUsersAndRealms(ConfigurationManagerBackEndFile.java:706) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProperties(ConfigurationManager.java:405) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(ConfigurationManager.java:367) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(ConfigurationManager.java:277) > at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) > at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) > at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > Javaemailserver-user mailing list > Jav...@li...<mailto:Jav...@li...> > https://lists.sourceforge.net/lists/listinfo/javaemailserver-user > > |
From: <jav...@li...> - 2014-06-24 19:58:50
|
Thanks, Andreas. I've gone ahead and installed 1.6.1, and it works great for what I need. I also discovered Thunderbird is a heck of a lot easier to configure unambiguously for multiple users than Pegasus, so playing around with new versions has not been a total loss. J Thanks for your labors. JES is a great piece of software. Rebeccah From: jav...@li... [mailto:jav...@li...] Sent: Tuesday, June 24, 2014 12:53 PM To: jav...@li... Subject: Re: [Javaemailserver-user] Version 2.8.2 not starting up - authentication problem Hello Rebeccah, I am currently updating JES to a new major version (no release date at this time, too much work at the office). There are a few issues with the 2.x branch that need addressing in such a way that a minor or maintenance version update won't cut it. I suggest at this time to stick to version 1.6.1 and when version 3.x comes around you could perhaps jump on board. I am terribly sorry for the inconvenience. I can only hope that with the new version, if and when you decide to check it out, your current effort will not have been a total waste. Regards, Andreas ________________________________ Date: Mon, 23 Jun 2014 19:53:50 -0400 To: jav...@li... From: jav...@li... Subject: [Javaemailserver-user] Version 2.8.2 not starting up - authentication problem Hi, I've been using JES 1.6.1 for some time, but now that I have a new laptop with Windows 7 and java 7, I decided to upgrade JES as well, to 2.8.2. I've translated my mail.conf settings into the corresponding mail.xml values and added my users in users.conf. I've fixed mail.bat to point to the correct JRE and the correct installation directory for JES. Now, when I run mail.bat, I get the following exception: 2014-06-23 16:33:49,817 - [main] ConfigurationManager - There was an error loading the schema org.xml.sax.SAXParseException; schema_reference.4: Failed to read schema document 'http://javaemailserver.sourceforge.ne t/schema/mail_2_8.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element o f the document is not <xsd:schema>. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXPar seException(Unknown Source) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknow n Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unk nown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unk nown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportS chemaErr(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportS chemaError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSche maDocument1(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSche maDocument(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSc hema(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(Un known Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(U nknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(U nknown Source) at com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory.newS chema(Unknown Source) at javax.xml.validation.SchemaFactory.newSchema(Unknown Source) at javax.xml.validation.SchemaFactory.newSchema(Unknown Source) at com.ericdaugherty.mail.server.configuration.ConfigurationManager$1.run(C onfigurationManager.java:1344) at com.ericdaugherty.mail.server.configuration.ConfigurationManager$1.run(C onfigurationManager.java:1340) at java.security.AccessController.doPrivileged(Native Method) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.getXMLS chema(ConfigurationManager.java:1339) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Co nfigurationManager.java:334) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initial ize(ConfigurationManager.java:279) at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://javaemailserver.sourceforge.net/ schema/mail_2_8.xsd at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEnt ity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocV ersion(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.pars e(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.pars e(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaDOMParser.parse(Un known Source) ... 17 more The application failed to initialize. java.lang.RuntimeException: There was an error loading the schema at com.ericdaugherty.mail.server.configuration.ConfigurationManager.getXMLS chema(ConfigurationManager.java:1364) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Co nfigurationManager.java:334) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initial ize(ConfigurationManager.java:279) at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) C:\Program Files\jes 2.8.2\bin> It looks like JES is not able to get to the schema file on the Internet, probably because we have a proxy server here that we have to go through. I never had this problem with 1.6.1. I'm guessing my options are: 1. Go back to 1.6.1 (I'm just using it for testing an app that sends out e-mail notifications, anyway) 2. Find where the schema document location is specified and edit it to file://some_path_on_my_laptop/mail_2_8.xsd <file:///\\some_path_on_my_laptop\mail_2_8.xsd> and copy the schema file there. 3. Configure 2.8.2 to authenticate at our proxy server. Can anyone help me with either option 2 or option 3? I'm thinking the simplest thing is just to go back to 1.6.1. Thanks, Rebeccah ______________________________________________________________________ The contents of this message, together with any attachments, are intended only for the use of the person(s) to which they are addressed and may contain confidential and/or privileged information. Further, any medical information herein is confidential and protected by law. It is unlawful for unauthorized persons to use, review, copy, disclose, or disseminate confidential medical information. If you are not the intended recipient, immediately advise the sender and delete this message and any attachments. Any distribution, or copying of this message, or any attachment, is prohibited. ------------------------------------------------------------------------ ------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Javaemailserver-user mailing list Jav...@li... https://lists.sourceforge.net/lists/listinfo/javaemailserver-user ______________________________________________________________________ The contents of this message, together with any attachments, are intended only for the use of the person(s) to which they are addressed and may contain confidential and/or privileged information. Further, any medical information herein is confidential and protected by law. It is unlawful for unauthorized persons to use, review, copy, disclose, or disseminate confidential medical information. If you are not the intended recipient, immediately advise the sender and delete this message and any attachments. Any distribution, or copying of this message, or any attachment, is prohibited. |
From: <jav...@li...> - 2014-06-24 19:52:45
|
Hello Rebeccah, I am currently updating JES to a new major version (no release date at this time, too much work at the office). There are a few issues with the 2.x branch that need addressing in such a way that a minor or maintenance version update won't cut it. I suggest at this time to stick to version 1.6.1 and when version 3.x comes around you could perhaps jump on board. I am terribly sorry for the inconvenience. I can only hope that with the new version, if and when you decide to check it out, your current effort will not have been a total waste. Regards, Andreas Date: Mon, 23 Jun 2014 19:53:50 -0400 To: jav...@li... From: jav...@li... Subject: [Javaemailserver-user] Version 2.8.2 not starting up - authentication problem Hi, I've been using JES 1.6.1 for some time, but now that I have a new laptop with Windows 7 and java 7, I decided to upgrade JES as well, to 2.8.2. I've translated my mail.conf settings into the corresponding mail.xml values and added my users in users.conf.I've fixed mail.bat to point to the correct JRE and the correct installation directory for JES. Now, when I run mail.bat, I get the following exception: 2014-06-23 16:33:49,817 - [main] ConfigurationManager - There was an error loading the schemaorg.xml.sax.SAXParseException; schema_reference.4: Failed to read schema document 'http://javaemailserver.sourceforge.net/schema/mail_2_8.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument1(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory.newSchema(Unknown Source) at javax.xml.validation.SchemaFactory.newSchema(Unknown Source) at javax.xml.validation.SchemaFactory.newSchema(Unknown Source) at com.ericdaugherty.mail.server.configuration.ConfigurationManager$1.run(ConfigurationManager.java:1344) at com.ericdaugherty.mail.server.configuration.ConfigurationManager$1.run(ConfigurationManager.java:1340) at java.security.AccessController.doPrivileged(Native Method) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.getXMLSchema(ConfigurationManager.java:1339) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(ConfigurationManager.java:334) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(ConfigurationManager.java:279) at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) at com.ericdaugherty.mail.server.Mail.main(Mail.java:472)Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://javaemailserver.sourceforge.net/schema/mail_2_8.xsd at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaDOMParser.parse(Unknown Source) ... 17 moreThe application failed to initialize.java.lang.RuntimeException: There was an error loading the schema at com.ericdaugherty.mail.server.configuration.ConfigurationManager.getXMLSchema(ConfigurationManager.java:1364) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(ConfigurationManager.java:334) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(ConfigurationManager.java:279) at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) C:\Program Files\jes 2.8.2\bin> It looks like JES is not able to get to the schema file on the Internet, probably because we have a proxy server here that we have to go through. I never had this problem with 1.6.1. I'm guessing my options are:1. Go back to 1.6.1 (I'm just using it for testing an app that sends out e-mail notifications, anyway)2. Find where the schema document location is specified and edit it to file://some_path_on_my_laptop/mail_2_8.xsd and copy the schema file there.3. Configure 2.8.2 to authenticate at our proxy server. Can anyone help me with either option 2 or option 3?I'm thinking the simplest thing is just to go back to 1.6.1. Thanks, Rebeccah ______________________________________________________________________ The contents of this message, together with any attachments, are intended only for the use of the person(s) to which they are addressed and may contain confidential and/or privileged information. Further, any medical information herein is confidential and protected by law. It is unlawful for unauthorized persons to use, review, copy, disclose, or disseminate confidential medical information. If you are not the intended recipient, immediately advise the sender and delete this message and any attachments. Any distribution, or copying of this message, or any attachment, is prohibited. ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Javaemailserver-user mailing list Jav...@li... https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
From: <jav...@li...> - 2014-06-24 00:13:49
|
Hi, I've been using JES 1.6.1 for some time, but now that I have a new laptop with Windows 7 and java 7, I decided to upgrade JES as well, to 2.8.2. I've translated my mail.conf settings into the corresponding mail.xml values and added my users in users.conf. I've fixed mail.bat to point to the correct JRE and the correct installation directory for JES. Now, when I run mail.bat, I get the following exception: 2014-06-23 16:33:49,817 - [main] ConfigurationManager - There was an error loading the schema org.xml.sax.SAXParseException; schema_reference.4: Failed to read schema document 'http://javaemailserver.sourceforge.ne t/schema/mail_2_8.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element o f the document is not <xsd:schema>. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXPar seException(Unknown Source) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknow n Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unk nown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unk nown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportS chemaErr(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportS chemaError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSche maDocument1(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSche maDocument(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSc hema(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(Un known Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(U nknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(U nknown Source) at com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory.newS chema(Unknown Source) at javax.xml.validation.SchemaFactory.newSchema(Unknown Source) at javax.xml.validation.SchemaFactory.newSchema(Unknown Source) at com.ericdaugherty.mail.server.configuration.ConfigurationManager$1.run(C onfigurationManager.java:1344) at com.ericdaugherty.mail.server.configuration.ConfigurationManager$1.run(C onfigurationManager.java:1340) at java.security.AccessController.doPrivileged(Native Method) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.getXMLS chema(ConfigurationManager.java:1339) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Co nfigurationManager.java:334) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initial ize(ConfigurationManager.java:279) at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://javaemailserver.sourceforge.net/ schema/mail_2_8.xsd at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEnt ity(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocV ersion(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.pars e(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaParsingConfig.pars e(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.opti.SchemaDOMParser.parse(Un known Source) ... 17 more The application failed to initialize. java.lang.RuntimeException: There was an error loading the schema at com.ericdaugherty.mail.server.configuration.ConfigurationManager.getXMLS chema(ConfigurationManager.java:1364) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Co nfigurationManager.java:334) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initial ize(ConfigurationManager.java:279) at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) C:\Program Files\jes 2.8.2\bin> It looks like JES is not able to get to the schema file on the Internet, probably because we have a proxy server here that we have to go through. I never had this problem with 1.6.1. I'm guessing my options are: 1. Go back to 1.6.1 (I'm just using it for testing an app that sends out e-mail notifications, anyway) 2. Find where the schema document location is specified and edit it to file://some_path_on_my_laptop/mail_2_8.xsd <file:///\\some_path_on_my_laptop\mail_2_8.xsd> and copy the schema file there. 3. Configure 2.8.2 to authenticate at our proxy server. Can anyone help me with either option 2 or option 3? I'm thinking the simplest thing is just to go back to 1.6.1. Thanks, Rebeccah ______________________________________________________________________ The contents of this message, together with any attachments, are intended only for the use of the person(s) to which they are addressed and may contain confidential and/or privileged information. Further, any medical information herein is confidential and protected by law. It is unlawful for unauthorized persons to use, review, copy, disclose, or disseminate confidential medical information. If you are not the intended recipient, immediately advise the sender and delete this message and any attachments. Any distribution, or copying of this message, or any attachment, is prohibited. |
From: <jav...@li...> - 2014-06-23 10:10:05
|
I think you need to add a user to the users file first…. From: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Reply-To: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Date: dinsdag 17 juni 2014 16:05 To: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Subject: Re: [Javaemailserver-user] java.net.UnknownHostException in localhost Hi Andreas, Sorry if the message is longer, I will send all now all I've done to boot jes. I tried it with localhost, hostname and 127.0.0.1 and I each have the same exception. It is surely only a simple thing, but I rise not at the moment. I can not find anything in the turtorial, what is missing (at this simple start) I have for the simple configuration steps carried out as indicated on my Unix-like OS: 1.Installations path ---> bin/mail.sh--> JES_HOME 2.domain ---> conf / mail.xml -> # <File> <domains> localhost </ domains> <defaultMailbox> </ default mailbox> </ Document> # 3.user --> conf/ user.conf #Examples #use...@my...=adminpassword<mailto:#use...@my...=adminpassword> #use...@my...rwardAddresses=other<mailto:#use...@my...rwardAddresses=other>@other.domain.net me.me@localhost=1234 Shell: 2014-06-17 15:31:22,506 - [main] Config - No default servers available, JES-DNS operating in RECURSIVE mode. Remote port set to default: 53 2014-06-17 15:31:22,526 - [main] SpecialPurpose - The entry 2001:10::/28,,02.28.2014 is expired. Ignoring. 2014-06-17 15:31:22,528 - [main] Mail - JES Starting Up... 2014-06-17 15:31:52,630 - [main] ConfigurationManager - Unable to download mail.xsd, using local copy instead. schema_reference.4: Failed to read schema document 'http://javaemailserver.sourceforge.net/schema/mail_2_8.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. 2014-06-17 15:31:52,744 - [main] ConfigurationManager - There was an error parsing http://javaemailserver.sourceforge.net/schema/mail_2_8.xsd java.net.UnknownHostException: javaemailserver.sourceforge.net at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at sun.net.NetworkClient.doConnect(NetworkClient.java:163) at sun.net.www.http.HttpClient.openServer(HttpClient.java:388) at sun.net.www.http.HttpClient.openServer(HttpClient.java:523) at sun.net.www.http.HttpClient.<init>(HttpClient.java:227) at sun.net.www.http.HttpClient.New(HttpClient.java:300) at sun.net.www.http.HttpClient.New(HttpClient.java:317) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:675) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.getXMLDocument(ConfigurationManager.java:1277) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(ConfigurationManager.java:335) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(ConfigurationManager.java:277) at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) 2014-06-17 15:32:53,246 - [main] ConfigurationManagerBackEndFile - E-mail address: is malformed and therefore ignored. 2014-06-17 15:32:53,246 - [main] EmailAddress - The localhost is used as a mail domain. 2014-06-17 15:32:53,362 - [main] ConfigurationManagerBackEndFile - No users registered with any domain!!! 2014-06-17 15:32:53,362 - [main] ConfigurationManagerBackEndFile - No users registered, aborting startup. Please consult the documentation. The application failed to initialize. java.lang.RuntimeException: No users registered, aborting startup. Please consult the documentation. at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile.loadUsersAndRealms(ConfigurationManagerBackEndFile.java:706) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProperties(ConfigurationManager.java:405) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(ConfigurationManager.java:367) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(ConfigurationManager.java:277) at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Javaemailserver-user mailing list Jav...@li...<mailto:Jav...@li...> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
From: <jav...@li...> - 2014-06-17 14:05:28
|
Hi Andreas, Sorry if the message is longer, I will send all now all I've done to boot jes. I tried it with localhost, hostname and 127.0.0.1 and I each have the same exception. It is surely only a simple thing, but I rise not at the moment. I can not find anything in the turtorial, what is missing (at this simple start) I have for the simple configuration steps carried out as indicated on my Unix-like OS: 1.Installations path ---> bin/mail.sh--> JES_HOME 2.domain ---> conf / mail.xml -> # <File> <domains> localhost </ domains> <defaultMailbox> </ default mailbox> </ Document> # 3.user --> conf/ user.conf #Examples #use...@my...=adminpassword #use...@my...rwardAddresses=ot...@ot... me.me@localhost=1234 Shell: 2014-06-17 15:31:22,506 - [main] Config - No default servers available, JES-DNS operating in RECURSIVE mode. Remote port set to default: 53 2014-06-17 15:31:22,526 - [main] SpecialPurpose - The entry 2001:10::/28,,02.28.2014 is expired. Ignoring. 2014-06-17 15:31:22,528 - [main] Mail - JES Starting Up... 2014-06-17 15:31:52,630 - [main] ConfigurationManager - Unable to download mail.xsd, using local copy instead. schema_reference.4: Failed to read schema document 'http://javaemailserver.sourceforge.net/schema/mail_2_8.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. 2014-06-17 15:31:52,744 - [main] ConfigurationManager - There was an error parsing http://javaemailserver.sourceforge.net/schema/mail_2_8.xsd java.net.UnknownHostException: javaemailserver.sourceforge.net at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at sun.net.NetworkClient.doConnect(NetworkClient.java:163) at sun.net.www.http.HttpClient.openServer(HttpClient.java:388) at sun.net.www.http.HttpClient.openServer(HttpClient.java:523) at sun.net.www.http.HttpClient.<init>(HttpClient.java:227) at sun.net.www.http.HttpClient.New(HttpClient.java:300) at sun.net.www.http.HttpClient.New(HttpClient.java:317) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:675) at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:232) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.getXMLDocument(ConfigurationManager.java:1277) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(ConfigurationManager.java:335) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(ConfigurationManager.java:277) at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) 2014-06-17 15:32:53,246 - [main] ConfigurationManagerBackEndFile - E-mail address: is malformed and therefore ignored. 2014-06-17 15:32:53,246 - [main] EmailAddress - The localhost is used as a mail domain. 2014-06-17 15:32:53,362 - [main] ConfigurationManagerBackEndFile - No users registered with any domain!!! 2014-06-17 15:32:53,362 - [main] ConfigurationManagerBackEndFile - No users registered, aborting startup. Please consult the documentation. The application failed to initialize. java.lang.RuntimeException: No users registered, aborting startup. Please consult the documentation. at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile.loadUsersAndRealms(ConfigurationManagerBackEndFile.java:706) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProperties(ConfigurationManager.java:405) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(ConfigurationManager.java:367) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(ConfigurationManager.java:277) at com.ericdaugherty.mail.server.Mail.init(Mail.java:181) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:343) at com.ericdaugherty.mail.server.Mail.main(Mail.java:472) |
From: <jav...@li...> - 2014-06-16 19:02:03
|
Hi Max, you should most likely use localhost instead. "me-iMac.local" sounds like a computer name and will unlikely resolve to a proper IP, hence the Exception. That is, if I have understood the issue correctly. Regards, Andreas > Date: Sat, 14 Jun 2014 12:49:28 +0200 > To: Jav...@li... > From: jav...@li... > Subject: [Javaemailserver-user] java.net.UnknownHostException in localhost > > Hello andreas and to all subscriber, > > When I set the in the xml the domain to my local computer 'me-iMac.local', > I get in the shellscript-configuration of an UnknownHostException. > > Would a barebone(like me)-instruction possible-what you need to do to > operate the jes locally? > what is the easiest way to create the dns? > > thanks in advance, > max > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > Javaemailserver-user mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
From: <jav...@li...> - 2014-06-14 10:49:36
|
Hello andreas and to all subscriber, When I set the in the xml the domain to my local computer 'me-iMac.local', I get in the shellscript-configuration of an UnknownHostException. Would a barebone(like me)-instruction possible-what you need to do to operate the jes locally? what is the easiest way to create the dns? thanks in advance, max |
From: <jav...@li...> - 2013-08-27 19:31:59
|
OK, cool.... Will try tonight, or early tomorrow. Thanks for the fast support! HRV From: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Reply-To: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Date: dinsdag 27 augustus 2013 19:54 To: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Subject: Re: [Javaemailserver-user] Messages rejected Hi, actually, it does exactly what it is meant to do. You have to set wrapper.app.parameter.2= which is located in wrapper.conf, to point to the JES install dir just like you have to set it in mail.bat / mail.sh. Regards, Andreas P.S. As things stand right now, I will very likely have a updated jes.jar ready (late) tonight for you to try. ________________________________ To: jav...@li...<mailto:jav...@li...> Date: Tue, 27 Aug 2013 16:36:09 +0000 From: jav...@li...<mailto:jav...@li...> Subject: Re: [Javaemailserver-user] Messages rejected Thanks Andreas, Appreciate the help to get this all sorted. Let me add one more issue then ;-) I am also unable to start it as a service. Looks like it cannot find the mail.xml file, but I do not see any option of specifying its location. Is the source "missing a dot" for the file separator? (as it says bin\.\conf\mail.xml) HRV STATUS | wrapper | 2013/08/27 11:26:40 | --> Wrapper Started as Service STATUS | wrapper | 2013/08/27 11:26:40 | Launching a JVM... INFO | jvm 1 | 2013/08/27 11:26:40 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2013/08/27 11:26:40 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO | jvm 1 | 2013/08/27 11:26:40 | INFO | jvm 1 | 2013/08/27 11:26:40 | Configuration Directory not specified. Using "C:\prog\jes-2.7.0\bin\." INFO | jvm 1 | 2013/08/27 11:26:40 | Aug 27, 2013 11:26:40 AM com.ericdaugherty.mail.server.Mail init INFO | jvm 1 | 2013/08/27 11:26:40 | WARNING: JES Starting Up... INFO | jvm 1 | 2013/08/27 11:26:40 | The application failed to initialize. INFO | jvm 1 | 2013/08/27 11:26:40 | java.lang.RuntimeException: Invalid/Missing mail.xml configuration file! C:\prog\jes-2.7.0\bin\.\conf\mail.xml INFO | jvm 1 | 2013/08/27 11:26:40 | at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(ConfigurationManager.java:224) INFO | jvm 1 | 2013/08/27 11:26:40 | at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) INFO | jvm 1 | 2013/08/27 11:26:40 | at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) INFO | jvm 1 | 2013/08/27 11:26:40 | at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) INFO | jvm 1 | 2013/08/27 11:26:40 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2013/08/27 11:26:40 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) INFO | jvm 1 | 2013/08/27 11:26:40 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1 | 2013/08/27 11:26:40 | at java.lang.reflect.Method.invoke(Method.java:601) INFO | jvm 1 | 2013/08/27 11:26:40 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) INFO | jvm 1 | 2013/08/27 11:26:40 | at java.lang.Thread.run(Thread.java:722) STATUS | wrapper | 2013/08/27 11:26:42 | <-- Wrapper Stopped |
From: <jav...@li...> - 2013-08-27 17:54:37
|
Hi, actually, it does exactly what it is meant to do. You have to set wrapper.app.parameter.2= which is located in wrapper.conf, to point to the JES install dir just like you have to set it in mail.bat / mail.sh. Regards, Andreas P.S. As things stand right now, I will very likely have a updated jes.jar ready (late) tonight for you to try. To: jav...@li... Date: Tue, 27 Aug 2013 16:36:09 +0000 From: jav...@li... Subject: Re: [Javaemailserver-user] Messages rejected Thanks Andreas, Appreciate the help to get this all sorted. Let me add one more issue then ;-) I am also unable to start it as a service. Looks like it cannot find the mail.xml file, but I do not see any option of specifying its location. Is the source "missing a dot" for the file separator? (as it says bin\.\conf\mail.xml) HRV STATUS | wrapper | 2013/08/27 11:26:40 | --> Wrapper Started as Service STATUS | wrapper | 2013/08/27 11:26:40 | Launching a JVM... INFO | jvm 1 | 2013/08/27 11:26:40 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2013/08/27 11:26:40 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO | jvm 1 | 2013/08/27 11:26:40 | INFO | jvm 1 | 2013/08/27 11:26:40 | Configuration Directory not specified. Using "C:\prog\jes-2.7.0\bin\." INFO | jvm 1 | 2013/08/27 11:26:40 | Aug 27, 2013 11:26:40 AM com.ericdaugherty.mail.server.Mail init INFO | jvm 1 | 2013/08/27 11:26:40 | WARNING: JES Starting Up... INFO | jvm 1 | 2013/08/27 11:26:40 | The application failed to initialize. INFO | jvm 1 | 2013/08/27 11:26:40 | java.lang.RuntimeException: Invalid/Missing mail.xml configuration file! C:\prog\jes-2.7.0\bin\.\conf\mail.xml INFO | jvm 1 | 2013/08/27 11:26:40 | at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(ConfigurationManager.java:224) INFO | jvm 1 | 2013/08/27 11:26:40 | at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) INFO | jvm 1 | 2013/08/27 11:26:40 | at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) INFO | jvm 1 | 2013/08/27 11:26:40 | at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) INFO | jvm 1 | 2013/08/27 11:26:40 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2013/08/27 11:26:40 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) INFO | jvm 1 | 2013/08/27 11:26:40 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1 | 2013/08/27 11:26:40 | at java.lang.reflect.Method.invoke(Method.java:601) INFO | jvm 1 | 2013/08/27 11:26:40 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) INFO | jvm 1 | 2013/08/27 11:26:40 | at java.lang.Thread.run(Thread.java:722) STATUS | wrapper | 2013/08/27 11:26:42 | <-- Wrapper Stopped |
From: <jav...@li...> - 2013-08-27 16:36:26
|
Thanks Andreas, Appreciate the help to get this all sorted. Let me add one more issue then ;-) I am also unable to start it as a service. Looks like it cannot find the mail.xml file, but I do not see any option of specifying its location. Is the source "missing a dot" for the file separator? (as it says bin\.\conf\mail.xml) HRV STATUS | wrapper | 2013/08/27 11:26:40 | --> Wrapper Started as Service STATUS | wrapper | 2013/08/27 11:26:40 | Launching a JVM... INFO | jvm 1 | 2013/08/27 11:26:40 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2013/08/27 11:26:40 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO | jvm 1 | 2013/08/27 11:26:40 | INFO | jvm 1 | 2013/08/27 11:26:40 | Configuration Directory not specified. Using "C:\prog\jes-2.7.0\bin\." INFO | jvm 1 | 2013/08/27 11:26:40 | Aug 27, 2013 11:26:40 AM com.ericdaugherty.mail.server.Mail init INFO | jvm 1 | 2013/08/27 11:26:40 | WARNING: JES Starting Up... INFO | jvm 1 | 2013/08/27 11:26:40 | The application failed to initialize. INFO | jvm 1 | 2013/08/27 11:26:40 | java.lang.RuntimeException: Invalid/Missing mail.xml configuration file! C:\prog\jes-2.7.0\bin\.\conf\mail.xml INFO | jvm 1 | 2013/08/27 11:26:40 | at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize(ConfigurationManager.java:224) INFO | jvm 1 | 2013/08/27 11:26:40 | at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) INFO | jvm 1 | 2013/08/27 11:26:40 | at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) INFO | jvm 1 | 2013/08/27 11:26:40 | at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) INFO | jvm 1 | 2013/08/27 11:26:40 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2013/08/27 11:26:40 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) INFO | jvm 1 | 2013/08/27 11:26:40 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1 | 2013/08/27 11:26:40 | at java.lang.reflect.Method.invoke(Method.java:601) INFO | jvm 1 | 2013/08/27 11:26:40 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) INFO | jvm 1 | 2013/08/27 11:26:40 | at java.lang.Thread.run(Thread.java:722) STATUS | wrapper | 2013/08/27 11:26:42 | <-- Wrapper Stopped From: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Reply-To: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Date: dinsdag 27 augustus 2013 18:21 To: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Subject: Re: [Javaemailserver-user] Messages rejected Hi HRV, after taking a look at the code, it would appear that some fix is in order. I will take care of it later tonight. There will be a new minor version coming out to address this and the issues you have already reported. Before this happens though, I will be mailing you a fixed jes.jar, perhaps even tonight. Thank you for supplying feedback, it helps making JES a more robust mail server solution. Regards, Andreas ________________________________ To: jav...@li...<mailto:jav...@li...> Date: Tue, 27 Aug 2013 15:21:03 +0000 From: jav...@li...<mailto:jav...@li...> Subject: Re: [Javaemailserver-user] Messages rejected Hmm, I tried that but no luck. I have tried to send it from a different domain, setting mailfromoverride, it does except, but not as expected. It receives, accepts, but never delivers to the "admin" user. Instead it tries to reply with a default message it seems…. Plus, my CPU is now constantly pegged at 98% because of the java process….. 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - 172.16.66.10(172.16.66.10) socket connected via SMTP. 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 220 ESMTP Server 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: EHLO ad-server 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-Hello ad-server 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-8BITMIME 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-AUTH PLAIN LOGIN 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 SIZE 5242880 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<iiq...@sa...<mailto:iiq...@sa...>> 2013-08-27 10:13:52,491 - [SMTP:5] FullTransferModeAction - Receiving mail from iiq...@sa...<mailto:iiq...@sa...> 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<pi...@sa...<mailto:pi...@sa...>> 2013-08-27 10:13:52,491 - [SMTP:5] ConfigurationManagerBackend - Tried to load non-existent user: pi...@sa...<mailto:pi...@sa...> 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 10:13:52,491 - [SMTP:5] FullTransferModeAction - Recipient pi...@sa...<mailto:pi...@sa...> accepted. 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: DATA 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 354 Start mail input; end with <CRLF>.<CRLF> I am not after any security at all. I just want to be able to send from anyone to anyone at my bogus domain and receive those emails in the admin dropbox. Any more I can check? Kind regards, From: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Reply-To: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Date: dinsdag 27 augustus 2013 13:41 To: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Subject: Re: [Javaemailserver-user] Messages rejected Hi HRV, it is a clear cut case of authenticated session vs open relay access. sailpointdemo.com is a JES local domain. User admin is a registered user, whereas iiq-noreply is not. In the accept case, the user authenticates at the start of the session, so is allowed to send mail to any recipient. In the reject case, the non-registered user belonging to a local domain attempts to send a mail. It will fail. Masquerading as a local user is a pretty naive way of using a mail server as an open relay. I have setup access control in such a manner so that sender rejection happens after the recipients have been validated, so that it will be a bit harder for someone trying to bypass access control to figure out what's going on. In simple words, add iiq-noreply to user.conf. Alternatively, you can either allow access to individual IP addresses or range of addresses or e-mail addresses or entire domains by using the subelements IPOverride, MailFromOverride in mail/SMTP/authentication. Regards, Andreas ________________________________ To: jav...@li...<mailto:jav...@li...> Date: Tue, 27 Aug 2013 09:36:16 +0000 From: jav...@li...<mailto:jav...@li...> Subject: [Javaemailserver-user] Messages rejected Hi Andreas, I still have a few issues. One, email from outside is rejected. Outside is relative, its from a different process on the same box and from outside of the VM. A message sent by the default admin user to a non-existent user is being sent to the dropbox correctly and not rejected. Please see log details below. I do not understand why it is being rejected. Accept: 2013-08-27 04:30:58,339 - [SMTP:4] UserFile - Authenticating User: ad...@sa...<mailto:ad...@sa...> 2013-08-27 04:30:58,339 - [SMTP:4] PlainServerMode$FinalizeAuthenticationSMTP - User ad...@sa...<mailto:ad...@sa...> logged in successfully and authorized as ad...@sa...<mailto:ad...@sa...> 2013-08-27 04:30:58,340 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 235 Authentication successful 2013-08-27 04:30:58,342 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<ad...@sa...<mailto:ad...@sa...>> SIZE=385 2013-08-27 04:30:58,343 - [SMTP:4] FullTransferModeAction - Receiving mail from ad...@sa...<mailto:ad...@sa...> 2013-08-27 04:30:58,344 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,345 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<no...@sa...<mailto:no...@sa...>> 2013-08-27 04:30:58,345 - [SMTP:4] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa...<mailto:no...@sa...> 2013-08-27 04:30:58,346 - [SMTP:4] RecipientPolicyHandler - Message from domain "sailpointdemo.com" to domain "sailpointdemo.com" is ACCEPTED! 2013-08-27 04:30:58,346 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,346 - [SMTP:4] FullTransferModeAction - Recipient no...@sa...<mailto:no...@sa...> accepted. 2013-08-27 04:30:58,346 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: DATA 2013-08-27 04:30:58,347 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 354 Start mail input; end with <CRLF>.<CRLF> 2013-08-27 04:30:58,350 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,351 - [SMTP:4] TransactionControl - Message 3e9e217f accepted for delivery. 2013-08-27 04:30:58,352 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:30:58,353 - [SMTP:4] RFC5321SMTPServerSessionControl - Client [IPv6:::1] with actual address 0:0:0:0:0:0:0:1/0:0:0:0:0:0:0:1:55568 has QUIT the session. 2013-08-27 04:30:58,353 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 221 ESMTP server signing off 2013-08-27 04:31:04,727 - [DelS:2] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa...<mailto:no...@sa...> 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivering Message to local user: no...@sa...<mailto:no...@sa...> 2013-08-27 04:31:04,728 - [DelS:2] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa...<mailto:no...@sa...> 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - User not found, checking for default delivery options 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivering message addressed to: no...@sa...<mailto:no...@sa...> to default user: ad...@sa...<mailto:ad...@sa...> 2013-08-27 04:31:04,728 - [DelS:2] SimpleFileIOProcessor - Delivering to: admin\3e9e217f.tmp 2013-08-27 04:31:04,730 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivery complete for message 3e9e217f to: no...@sa...<mailto:no...@sa...> 2013-08-27 04:32:24,712 - [JES Status Monitor] Mail$Status - Time active: 6 minutes. Rejects: 2013-08-27 04:25:54,709 - [main] Mail - JES started successfully. 2013-08-27 04:26:19,752 - [SMTP:1] RFC5321SMTPServerSessionControl - 172.16.66.10(172.16.66.10) socket connected via SMTP. 2013-08-27 04:26:19,752 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 220 ESMTP Server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: EHLO ad-server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-Hello ad-server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-8BITMIME 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-AUTH PLAIN LOGIN 2013-08-27 04:26:19,754 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 SIZE 5242880 2013-08-27 04:26:19,755 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<iiq...@sa...<mailto:iiq...@sa...>> 2013-08-27 04:26:19,755 - [SMTP:1] FullTransferModeAction - Receiving mail from iiq...@sa...<mailto:iiq...@sa...> 2013-08-27 04:26:19,755 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:26:19,756 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<pi...@sa...<mailto:pi...@sa...>> 2013-08-27 04:26:19,760 - [SMTP:1] ConfigurationManagerBackend - Tried to load non-existent user: pi...@sa...<mailto:pi...@sa...> 2013-08-27 04:26:19,760 - [SMTP:1] ConfigurationManagerBackend - Tried to load non-existent user: iiq...@sa...<mailto:iiq...@sa...> 2013-08-27 04:26:19,760 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 550 Requested action not taken: mailbox unavailable 2013-08-27 04:26:19,760 - [SMTP:1] TransactionControl - RCTP TO: pi...@sa...<mailto:pi...@sa...> rejected. 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: RSET 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Client ad-server with actual address 172.16.66.10/172.16.66.10:55529 has QUIT the session. 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 221 ESMTP server signing off 2013-08-27 04:26:24,714 - [JES Status Monitor] Mail$Status - Time active: 2013-08-27 04:26:24,714 - [JES Status Monitor] MailServicesControl - Active Modules: SMTPSender Deliver Standard:4/4 SMTP:5/5 POP3: 5/5 2013-08-27 04:27:23,753 - [SMTP:5] RFC5321SMTPServerSessionControl - 172.16.66.1(172.16.66.1) socket connected via SMTP. 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 220 ESMTP Server 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: EHLO HRV-MacBook-Pro-2.local 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-Hello HRV-MacBook-Pro-2.local 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-8BITMIME 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-AUTH PLAIN LOGIN 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 SIZE 5242880 2013-08-27 04:27:23,756 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<iiq...@sa...<mailto:iiq...@sa...>> 2013-08-27 04:27:23,757 - [SMTP:5] FullTransferModeAction - Receiving mail from iiq...@sa...<mailto:iiq...@sa...> 2013-08-27 04:27:23,757 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:27:23,758 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<tr...@sa...<mailto:tr...@sa...>> 2013-08-27 04:27:23,759 - [SMTP:5] ConfigurationManagerBackend - Tried to load non-existent user: tr...@sa...<mailto:tr...@sa...> 2013-08-27 04:27:23,759 - [SMTP:5] ConfigurationManagerBackend - Tried to load non-existent user: iiq...@sa...<mailto:iiq...@sa...> 2013-08-27 04:27:23,759 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 550 Requested action not taken: mailbox unavailable 2013-08-27 04:27:23,759 - [SMTP:5] TransactionControl - RCTP TO: tr...@sa...<mailto:tr...@sa...> rejected. 2013-08-27 04:27:23,760 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: RSET 2013-08-27 04:27:23,760 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:27:23,761 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:27:23,761 - [SMTP:5] RFC5321SMTPServerSessionControl - Client HRV-MacBook-Pro-2.local with actual address 172.16.66.1/172.16.66.1:65114 has QUIT the session. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Javaemailserver-user mailing list Jav...@li...<mailto:Jav...@li...> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Javaemailserver-user mailing list Jav...@li...<mailto:Jav...@li...> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
From: <jav...@li...> - 2013-08-27 16:22:08
|
Hi HRV, after taking a look at the code, it would appear that some fix is in order. I will take care of it later tonight. There will be a new minor version coming out to address this and the issues you have already reported. Before this happens though, I will be mailing you a fixed jes.jar, perhaps even tonight. Thank you for supplying feedback, it helps making JES a more robust mail server solution. Regards, Andreas To: jav...@li... Date: Tue, 27 Aug 2013 15:21:03 +0000 From: jav...@li... Subject: Re: [Javaemailserver-user] Messages rejected Hmm, I tried that but no luck. I have tried to send it from a different domain, setting mailfromoverride, it does except, but not as expected. It receives, accepts, but never delivers to the "admin" user. Instead it tries to reply with a default message it seems…. Plus, my CPU is now constantly pegged at 98% because of the java process….. 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - 172.16.66.10(172.16.66.10) socket connected via SMTP. 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 220 ESMTP Server 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: EHLO ad-server 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-Hello ad-server 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-8BITMIME 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-AUTH PLAIN LOGIN 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 SIZE 5242880 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<iiq...@sa...> 2013-08-27 10:13:52,491 - [SMTP:5] FullTransferModeAction - Receiving mail from iiq...@sa... 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<pi...@sa...> 2013-08-27 10:13:52,491 - [SMTP:5] ConfigurationManagerBackend - Tried to load non-existent user: pi...@sa... 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 10:13:52,491 - [SMTP:5] FullTransferModeAction - Recipient pi...@sa... accepted. 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: DATA 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 354 Start mail input; end with <CRLF>.<CRLF> I am not after any security at all. I just want to be able to send from anyone to anyone at my bogus domain and receive those emails in the admin dropbox. Any more I can check? Kind regards, From: "jav...@li..." <jav...@li...> Reply-To: "jav...@li..." <jav...@li...> Date: dinsdag 27 augustus 2013 13:41 To: "jav...@li..." <jav...@li...> Subject: Re: [Javaemailserver-user] Messages rejected Hi HRV, it is a clear cut case of authenticated session vs open relay access. sailpointdemo.com is a JES local domain. User admin is a registered user, whereas iiq-noreply is not. In the accept case, the user authenticates at the start of the session, so is allowed to send mail to any recipient. In the reject case, the non-registered user belonging to a local domain attempts to send a mail. It will fail. Masquerading as a local user is a pretty naive way of using a mail server as an open relay. I have setup access control in such a manner so that sender rejection happens after the recipients have been validated, so that it will be a bit harder for someone trying to bypass access control to figure out what's going on. In simple words, add iiq-noreply to user.conf. Alternatively, you can either allow access to individual IP addresses or range of addresses or e-mail addresses or entire domains by using the subelements IPOverride, MailFromOverride in mail/SMTP/authentication. Regards, Andreas To: jav...@li... Date: Tue, 27 Aug 2013 09:36:16 +0000 From: jav...@li... Subject: [Javaemailserver-user] Messages rejected Hi Andreas, I still have a few issues. One, email from outside is rejected. Outside is relative, its from a different process on the same box and from outside of the VM. A message sent by the default admin user to a non-existent user is being sent to the dropbox correctly and not rejected. Please see log details below. I do not understand why it is being rejected. Accept: 2013-08-27 04:30:58,339 - [SMTP:4] UserFile - Authenticating User: ad...@sa... 2013-08-27 04:30:58,339 - [SMTP:4] PlainServerMode$FinalizeAuthenticationSMTP - User ad...@sa... logged in successfully and authorized as ad...@sa... 2013-08-27 04:30:58,340 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 235 Authentication successful 2013-08-27 04:30:58,342 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<ad...@sa...> SIZE=385 2013-08-27 04:30:58,343 - [SMTP:4] FullTransferModeAction - Receiving mail from ad...@sa... 2013-08-27 04:30:58,344 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,345 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<no...@sa...> 2013-08-27 04:30:58,345 - [SMTP:4] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa... 2013-08-27 04:30:58,346 - [SMTP:4] RecipientPolicyHandler - Message from domain "sailpointdemo.com" to domain "sailpointdemo.com" is ACCEPTED! 2013-08-27 04:30:58,346 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,346 - [SMTP:4] FullTransferModeAction - Recipient no...@sa... accepted. 2013-08-27 04:30:58,346 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: DATA 2013-08-27 04:30:58,347 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 354 Start mail input; end with <CRLF>.<CRLF> 2013-08-27 04:30:58,350 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,351 - [SMTP:4] TransactionControl - Message 3e9e217f accepted for delivery. 2013-08-27 04:30:58,352 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:30:58,353 - [SMTP:4] RFC5321SMTPServerSessionControl - Client [IPv6:::1] with actual address 0:0:0:0:0:0:0:1/0:0:0:0:0:0:0:1:55568 has QUIT the session. 2013-08-27 04:30:58,353 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 221 ESMTP server signing off 2013-08-27 04:31:04,727 - [DelS:2] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa... 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivering Message to local user: no...@sa... 2013-08-27 04:31:04,728 - [DelS:2] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa... 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - User not found, checking for default delivery options 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivering message addressed to: no...@sa... to default user: ad...@sa... 2013-08-27 04:31:04,728 - [DelS:2] SimpleFileIOProcessor - Delivering to: admin\3e9e217f.tmp 2013-08-27 04:31:04,730 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivery complete for message 3e9e217f to: no...@sa... 2013-08-27 04:32:24,712 - [JES Status Monitor] Mail$Status - Time active: 6 minutes. Rejects: 2013-08-27 04:25:54,709 - [main] Mail - JES started successfully. 2013-08-27 04:26:19,752 - [SMTP:1] RFC5321SMTPServerSessionControl - 172.16.66.10(172.16.66.10) socket connected via SMTP. 2013-08-27 04:26:19,752 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 220 ESMTP Server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: EHLO ad-server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-Hello ad-server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-8BITMIME 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-AUTH PLAIN LOGIN 2013-08-27 04:26:19,754 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 SIZE 5242880 2013-08-27 04:26:19,755 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<iiq...@sa...> 2013-08-27 04:26:19,755 - [SMTP:1] FullTransferModeAction - Receiving mail from iiq...@sa... 2013-08-27 04:26:19,755 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:26:19,756 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<pi...@sa...> 2013-08-27 04:26:19,760 - [SMTP:1] ConfigurationManagerBackend - Tried to load non-existent user: pi...@sa... 2013-08-27 04:26:19,760 - [SMTP:1] ConfigurationManagerBackend - Tried to load non-existent user: iiq...@sa... 2013-08-27 04:26:19,760 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 550 Requested action not taken: mailbox unavailable 2013-08-27 04:26:19,760 - [SMTP:1] TransactionControl - RCTP TO: pi...@sa... rejected. 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: RSET 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Client ad-server with actual address 172.16.66.10/172.16.66.10:55529 has QUIT the session. 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 221 ESMTP server signing off 2013-08-27 04:26:24,714 - [JES Status Monitor] Mail$Status - Time active: 2013-08-27 04:26:24,714 - [JES Status Monitor] MailServicesControl - Active Modules: SMTPSender Deliver Standard:4/4 SMTP:5/5 POP3: 5/5 2013-08-27 04:27:23,753 - [SMTP:5] RFC5321SMTPServerSessionControl - 172.16.66.1(172.16.66.1) socket connected via SMTP. 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 220 ESMTP Server 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: EHLO HRV-MacBook-Pro-2.local 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-Hello HRV-MacBook-Pro-2.local 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-8BITMIME 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-AUTH PLAIN LOGIN 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 SIZE 5242880 2013-08-27 04:27:23,756 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<iiq...@sa...> 2013-08-27 04:27:23,757 - [SMTP:5] FullTransferModeAction - Receiving mail from iiq...@sa... 2013-08-27 04:27:23,757 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:27:23,758 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<tr...@sa...> 2013-08-27 04:27:23,759 - [SMTP:5] ConfigurationManagerBackend - Tried to load non-existent user: tr...@sa... 2013-08-27 04:27:23,759 - [SMTP:5] ConfigurationManagerBackend - Tried to load non-existent user: iiq...@sa... 2013-08-27 04:27:23,759 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 550 Requested action not taken: mailbox unavailable 2013-08-27 04:27:23,759 - [SMTP:5] TransactionControl - RCTP TO: tr...@sa... rejected. 2013-08-27 04:27:23,760 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: RSET 2013-08-27 04:27:23,760 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:27:23,761 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:27:23,761 - [SMTP:5] RFC5321SMTPServerSessionControl - Client HRV-MacBook-Pro-2.local with actual address 172.16.66.1/172.16.66.1:65114 has QUIT the session. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Javaemailserver-user mailing list Jav...@li... https://lists.sourceforge.net/lists/listinfo/javaemailserver-user ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Javaemailserver-user mailing list Jav...@li... https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
From: <jav...@li...> - 2013-08-27 15:21:25
|
Hmm, I tried that but no luck. I have tried to send it from a different domain, setting mailfromoverride, it does except, but not as expected. It receives, accepts, but never delivers to the "admin" user. Instead it tries to reply with a default message it seems…. Plus, my CPU is now constantly pegged at 98% because of the java process….. 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - 172.16.66.10(172.16.66.10) socket connected via SMTP. 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 220 ESMTP Server 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: EHLO ad-server 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-Hello ad-server 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-8BITMIME 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-AUTH PLAIN LOGIN 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 SIZE 5242880 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<iiq...@sa...> 2013-08-27 10:13:52,491 - [SMTP:5] FullTransferModeAction - Receiving mail from iiq...@sa... 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<pi...@sa...> 2013-08-27 10:13:52,491 - [SMTP:5] ConfigurationManagerBackend - Tried to load non-existent user: pi...@sa... 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 10:13:52,491 - [SMTP:5] FullTransferModeAction - Recipient pi...@sa... accepted. 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: DATA 2013-08-27 10:13:52,491 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 354 Start mail input; end with <CRLF>.<CRLF> I am not after any security at all. I just want to be able to send from anyone to anyone at my bogus domain and receive those emails in the admin dropbox. Any more I can check? Kind regards, From: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Reply-To: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Date: dinsdag 27 augustus 2013 13:41 To: "jav...@li...<mailto:jav...@li...>" <jav...@li...<mailto:jav...@li...>> Subject: Re: [Javaemailserver-user] Messages rejected Hi HRV, it is a clear cut case of authenticated session vs open relay access. sailpointdemo.com is a JES local domain. User admin is a registered user, whereas iiq-noreply is not. In the accept case, the user authenticates at the start of the session, so is allowed to send mail to any recipient. In the reject case, the non-registered user belonging to a local domain attempts to send a mail. It will fail. Masquerading as a local user is a pretty naive way of using a mail server as an open relay. I have setup access control in such a manner so that sender rejection happens after the recipients have been validated, so that it will be a bit harder for someone trying to bypass access control to figure out what's going on. In simple words, add iiq-noreply to user.conf. Alternatively, you can either allow access to individual IP addresses or range of addresses or e-mail addresses or entire domains by using the subelements IPOverride, MailFromOverride in mail/SMTP/authentication. Regards, Andreas ________________________________ To: jav...@li...<mailto:jav...@li...> Date: Tue, 27 Aug 2013 09:36:16 +0000 From: jav...@li...<mailto:jav...@li...> Subject: [Javaemailserver-user] Messages rejected Hi Andreas, I still have a few issues. One, email from outside is rejected. Outside is relative, its from a different process on the same box and from outside of the VM. A message sent by the default admin user to a non-existent user is being sent to the dropbox correctly and not rejected. Please see log details below. I do not understand why it is being rejected. Accept: 2013-08-27 04:30:58,339 - [SMTP:4] UserFile - Authenticating User: ad...@sa...<mailto:ad...@sa...> 2013-08-27 04:30:58,339 - [SMTP:4] PlainServerMode$FinalizeAuthenticationSMTP - User ad...@sa...<mailto:ad...@sa...> logged in successfully and authorized as ad...@sa...<mailto:ad...@sa...> 2013-08-27 04:30:58,340 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 235 Authentication successful 2013-08-27 04:30:58,342 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<ad...@sa...<mailto:ad...@sa...>> SIZE=385 2013-08-27 04:30:58,343 - [SMTP:4] FullTransferModeAction - Receiving mail from ad...@sa...<mailto:ad...@sa...> 2013-08-27 04:30:58,344 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,345 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<no...@sa...<mailto:no...@sa...>> 2013-08-27 04:30:58,345 - [SMTP:4] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa...<mailto:no...@sa...> 2013-08-27 04:30:58,346 - [SMTP:4] RecipientPolicyHandler - Message from domain "sailpointdemo.com" to domain "sailpointdemo.com" is ACCEPTED! 2013-08-27 04:30:58,346 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,346 - [SMTP:4] FullTransferModeAction - Recipient no...@sa...<mailto:no...@sa...> accepted. 2013-08-27 04:30:58,346 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: DATA 2013-08-27 04:30:58,347 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 354 Start mail input; end with <CRLF>.<CRLF> 2013-08-27 04:30:58,350 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,351 - [SMTP:4] TransactionControl - Message 3e9e217f accepted for delivery. 2013-08-27 04:30:58,352 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:30:58,353 - [SMTP:4] RFC5321SMTPServerSessionControl - Client [IPv6:::1] with actual address 0:0:0:0:0:0:0:1/0:0:0:0:0:0:0:1:55568 has QUIT the session. 2013-08-27 04:30:58,353 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 221 ESMTP server signing off 2013-08-27 04:31:04,727 - [DelS:2] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa...<mailto:no...@sa...> 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivering Message to local user: no...@sa...<mailto:no...@sa...> 2013-08-27 04:31:04,728 - [DelS:2] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa...<mailto:no...@sa...> 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - User not found, checking for default delivery options 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivering message addressed to: no...@sa...<mailto:no...@sa...> to default user: ad...@sa...<mailto:ad...@sa...> 2013-08-27 04:31:04,728 - [DelS:2] SimpleFileIOProcessor - Delivering to: admin\3e9e217f.tmp 2013-08-27 04:31:04,730 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivery complete for message 3e9e217f to: no...@sa...<mailto:no...@sa...> 2013-08-27 04:32:24,712 - [JES Status Monitor] Mail$Status - Time active: 6 minutes. Rejects: 2013-08-27 04:25:54,709 - [main] Mail - JES started successfully. 2013-08-27 04:26:19,752 - [SMTP:1] RFC5321SMTPServerSessionControl - 172.16.66.10(172.16.66.10) socket connected via SMTP. 2013-08-27 04:26:19,752 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 220 ESMTP Server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: EHLO ad-server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-Hello ad-server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-8BITMIME 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-AUTH PLAIN LOGIN 2013-08-27 04:26:19,754 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 SIZE 5242880 2013-08-27 04:26:19,755 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<iiq...@sa...<mailto:iiq...@sa...>> 2013-08-27 04:26:19,755 - [SMTP:1] FullTransferModeAction - Receiving mail from iiq...@sa...<mailto:iiq...@sa...> 2013-08-27 04:26:19,755 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:26:19,756 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<pi...@sa...<mailto:pi...@sa...>> 2013-08-27 04:26:19,760 - [SMTP:1] ConfigurationManagerBackend - Tried to load non-existent user: pi...@sa...<mailto:pi...@sa...> 2013-08-27 04:26:19,760 - [SMTP:1] ConfigurationManagerBackend - Tried to load non-existent user: iiq...@sa...<mailto:iiq...@sa...> 2013-08-27 04:26:19,760 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 550 Requested action not taken: mailbox unavailable 2013-08-27 04:26:19,760 - [SMTP:1] TransactionControl - RCTP TO: pi...@sa...<mailto:pi...@sa...> rejected. 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: RSET 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Client ad-server with actual address 172.16.66.10/172.16.66.10:55529 has QUIT the session. 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 221 ESMTP server signing off 2013-08-27 04:26:24,714 - [JES Status Monitor] Mail$Status - Time active: 2013-08-27 04:26:24,714 - [JES Status Monitor] MailServicesControl - Active Modules: SMTPSender Deliver Standard:4/4 SMTP:5/5 POP3: 5/5 2013-08-27 04:27:23,753 - [SMTP:5] RFC5321SMTPServerSessionControl - 172.16.66.1(172.16.66.1) socket connected via SMTP. 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 220 ESMTP Server 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: EHLO HRV-MacBook-Pro-2.local 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-Hello HRV-MacBook-Pro-2.local 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-8BITMIME 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-AUTH PLAIN LOGIN 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 SIZE 5242880 2013-08-27 04:27:23,756 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<iiq...@sa...<mailto:iiq...@sa...>> 2013-08-27 04:27:23,757 - [SMTP:5] FullTransferModeAction - Receiving mail from iiq...@sa...<mailto:iiq...@sa...> 2013-08-27 04:27:23,757 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:27:23,758 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<tr...@sa...<mailto:tr...@sa...>> 2013-08-27 04:27:23,759 - [SMTP:5] ConfigurationManagerBackend - Tried to load non-existent user: tr...@sa...<mailto:tr...@sa...> 2013-08-27 04:27:23,759 - [SMTP:5] ConfigurationManagerBackend - Tried to load non-existent user: iiq...@sa...<mailto:iiq...@sa...> 2013-08-27 04:27:23,759 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 550 Requested action not taken: mailbox unavailable 2013-08-27 04:27:23,759 - [SMTP:5] TransactionControl - RCTP TO: tr...@sa...<mailto:tr...@sa...> rejected. 2013-08-27 04:27:23,760 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: RSET 2013-08-27 04:27:23,760 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:27:23,761 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:27:23,761 - [SMTP:5] RFC5321SMTPServerSessionControl - Client HRV-MacBook-Pro-2.local with actual address 172.16.66.1/172.16.66.1:65114 has QUIT the session. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Javaemailserver-user mailing list Jav...@li...<mailto:Jav...@li...> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
From: <jav...@li...> - 2013-08-27 11:41:51
|
Hi HRV, it is a clear cut case of authenticated session vs open relay access. sailpointdemo.com is a JES local domain. User admin is a registered user, whereas iiq-noreply is not. In the accept case, the user authenticates at the start of the session, so is allowed to send mail to any recipient. In the reject case, the non-registered user belonging to a local domain attempts to send a mail. It will fail. Masquerading as a local user is a pretty naive way of using a mail server as an open relay. I have setup access control in such a manner so that sender rejection happens after the recipients have been validated, so that it will be a bit harder for someone trying to bypass access control to figure out what's going on. In simple words, add iiq-noreply to user.conf. Alternatively, you can either allow access to individual IP addresses or range of addresses or e-mail addresses or entire domains by using the subelements IPOverride, MailFromOverride in mail/SMTP/authentication. Regards, Andreas To: jav...@li... Date: Tue, 27 Aug 2013 09:36:16 +0000 From: jav...@li... Subject: [Javaemailserver-user] Messages rejected Hi Andreas, I still have a few issues. One, email from outside is rejected. Outside is relative, its from a different process on the same box and from outside of the VM. A message sent by the default admin user to a non-existent user is being sent to the dropbox correctly and not rejected. Please see log details below. I do not understand why it is being rejected. Accept: 2013-08-27 04:30:58,339 - [SMTP:4] UserFile - Authenticating User: ad...@sa... 2013-08-27 04:30:58,339 - [SMTP:4] PlainServerMode$FinalizeAuthenticationSMTP - User ad...@sa... logged in successfully and authorized as ad...@sa... 2013-08-27 04:30:58,340 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 235 Authentication successful 2013-08-27 04:30:58,342 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<ad...@sa...> SIZE=385 2013-08-27 04:30:58,343 - [SMTP:4] FullTransferModeAction - Receiving mail from ad...@sa... 2013-08-27 04:30:58,344 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,345 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<no...@sa...> 2013-08-27 04:30:58,345 - [SMTP:4] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa... 2013-08-27 04:30:58,346 - [SMTP:4] RecipientPolicyHandler - Message from domain "sailpointdemo.com" to domain "sailpointdemo.com" is ACCEPTED! 2013-08-27 04:30:58,346 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,346 - [SMTP:4] FullTransferModeAction - Recipient no...@sa... accepted. 2013-08-27 04:30:58,346 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: DATA 2013-08-27 04:30:58,347 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 354 Start mail input; end with <CRLF>.<CRLF> 2013-08-27 04:30:58,350 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:30:58,351 - [SMTP:4] TransactionControl - Message 3e9e217f accepted for delivery. 2013-08-27 04:30:58,352 - [SMTP:4] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:30:58,353 - [SMTP:4] RFC5321SMTPServerSessionControl - Client [IPv6:::1] with actual address 0:0:0:0:0:0:0:1/0:0:0:0:0:0:0:1:55568 has QUIT the session. 2013-08-27 04:30:58,353 - [SMTP:4] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 221 ESMTP server signing off 2013-08-27 04:31:04,727 - [DelS:2] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa... 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivering Message to local user: no...@sa... 2013-08-27 04:31:04,728 - [DelS:2] ConfigurationManagerBackend - Tried to load non-existent user: no...@sa... 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - User not found, checking for default delivery options 2013-08-27 04:31:04,728 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivering message addressed to: no...@sa... to default user: ad...@sa... 2013-08-27 04:31:04,728 - [DelS:2] SimpleFileIOProcessor - Delivering to: admin\3e9e217f.tmp 2013-08-27 04:31:04,730 - [DelS:2] SMTPSenderStandard$StandardDeliver - Delivery complete for message 3e9e217f to: no...@sa... 2013-08-27 04:32:24,712 - [JES Status Monitor] Mail$Status - Time active: 6 minutes. Rejects: 2013-08-27 04:25:54,709 - [main] Mail - JES started successfully. 2013-08-27 04:26:19,752 - [SMTP:1] RFC5321SMTPServerSessionControl - 172.16.66.10(172.16.66.10) socket connected via SMTP. 2013-08-27 04:26:19,752 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 220 ESMTP Server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: EHLO ad-server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-Hello ad-server 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-8BITMIME 2013-08-27 04:26:19,753 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-AUTH PLAIN LOGIN 2013-08-27 04:26:19,754 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 SIZE 5242880 2013-08-27 04:26:19,755 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<iiq...@sa...> 2013-08-27 04:26:19,755 - [SMTP:1] FullTransferModeAction - Receiving mail from iiq...@sa... 2013-08-27 04:26:19,755 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:26:19,756 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<pi...@sa...> 2013-08-27 04:26:19,760 - [SMTP:1] ConfigurationManagerBackend - Tried to load non-existent user: pi...@sa... 2013-08-27 04:26:19,760 - [SMTP:1] ConfigurationManagerBackend - Tried to load non-existent user: iiq...@sa... 2013-08-27 04:26:19,760 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 550 Requested action not taken: mailbox unavailable 2013-08-27 04:26:19,760 - [SMTP:1] TransactionControl - RCTP TO: pi...@sa... rejected. 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: RSET 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl - Client ad-server with actual address 172.16.66.10/172.16.66.10:55529 has QUIT the session. 2013-08-27 04:26:19,761 - [SMTP:1] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 221 ESMTP server signing off 2013-08-27 04:26:24,714 - [JES Status Monitor] Mail$Status - Time active: 2013-08-27 04:26:24,714 - [JES Status Monitor] MailServicesControl - Active Modules: SMTPSender Deliver Standard:4/4 SMTP:5/5 POP3: 5/5 2013-08-27 04:27:23,753 - [SMTP:5] RFC5321SMTPServerSessionControl - 172.16.66.1(172.16.66.1) socket connected via SMTP. 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 220 ESMTP Server 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: EHLO HRV-MacBook-Pro-2.local 2013-08-27 04:27:23,754 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-Hello HRV-MacBook-Pro-2.local 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-8BITMIME 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250-AUTH PLAIN LOGIN 2013-08-27 04:27:23,755 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 SIZE 5242880 2013-08-27 04:27:23,756 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: MAIL FROM:<iiq...@sa...> 2013-08-27 04:27:23,757 - [SMTP:5] FullTransferModeAction - Receiving mail from iiq...@sa... 2013-08-27 04:27:23,757 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:27:23,758 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: RCPT TO:<tr...@sa...> 2013-08-27 04:27:23,759 - [SMTP:5] ConfigurationManagerBackend - Tried to load non-existent user: tr...@sa... 2013-08-27 04:27:23,759 - [SMTP:5] ConfigurationManagerBackend - Tried to load non-existent user: iiq...@sa... 2013-08-27 04:27:23,759 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 550 Requested action not taken: mailbox unavailable 2013-08-27 04:27:23,759 - [SMTP:5] TransactionControl - RCTP TO: tr...@sa... rejected. 2013-08-27 04:27:23,760 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: RSET 2013-08-27 04:27:23,760 - [SMTP:5] RFC5321SMTPServerSessionControl$StandardReplyWriter - Writing Output: 250 OK 2013-08-27 04:27:23,761 - [SMTP:5] RFC5321SMTPServerSessionControl - Read Input: QUIT 2013-08-27 04:27:23,761 - [SMTP:5] RFC5321SMTPServerSessionControl - Client HRV-MacBook-Pro-2.local with actual address 172.16.66.1/172.16.66.1:65114 has QUIT the session. ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Javaemailserver-user mailing list Jav...@li... https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
From: <jav...@li...> - 2013-08-20 16:14:01
|
Hi HRV, thank you for pointing out the inappropriate syntax. That's one more thing that needs taking care of. I hope your experience from here on out will not be mudded by further troubles. Regards, Andreas > To: jav...@li... > Date: Tue, 20 Aug 2013 15:45:10 +0000 > From: jav...@li... > Subject: Re: [Javaemailserver-user] ArrayIndexOutOfBoundsException > > Yes, that works.... > > You may want to change the description, as it references the faulty syntax. > <infoFileDomains> > # This property defines the domains that are considered > 'local'. In order > # to receive email for local users, their domain must be > defined here. > # Multiple domains can be added as a whitespace separated list. > # ex: domains=mydomain1.com mydomain2.com > # No default > </infoFileDomains> > > > It works now, tx :-) > > HRV > > > From: "jav...@li..." > <jav...@li...> > Reply-To: "jav...@li..." > <jav...@li...> > Date: dinsdag 20 augustus 2013 17:28 > To: "jav...@li..." > <jav...@li...> > Subject: Re: [Javaemailserver-user] ArrayIndexOutOfBoundsException > > > >Hi HRV, > > > >you just need to drop domains=. > >The correct entry is <domains>sailpointdemo.com</domains>. > > > >But there should be better handling of improper domain declarations. I > >will be addressing that issue in the next release. > > > >Regards, > >Andreas > > > >> To: jav...@li... > >> Date: Tue, 20 Aug 2013 13:00:50 +0000 > >> From: jav...@li... > >> Subject: Re: [Javaemailserver-user] ArrayIndexOutOfBoundsException > >> > >> Hi Andreas, > >> > >> Currently, this is in mail.xml: > >> <File> > >> <domains>domains=sailpointdemo.com</domains> > >> <defaultMailbox>ad...@sa...</defaultMailbox> > >> </File> > >> > >> And this is in user.conf > >> use...@sa...=sailpoint > >> > >> Looks ok to meŠ. Have not changed it either, so that was already there. > >> But I still get the exception after the DNS message: > >> > >> The application failed to initialize. > >> java.lang.ArrayIndexOutOfBoundsException: -1 > >> at java.util.ArrayList.elementData(ArrayList.java:371) > >> at java.util.ArrayList.get(ArrayList.java:384) > >> at > >> > >>com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFi > >>le > >> .loadUserProperties(ConfigurationManagerBackEndFile.java:227) > >> at > >> > >>com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFi > >>le > >> .loadUsersAndRealms(ConfigurationManagerBackEndFile.java:746) > >> at > >> > >>com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProp > >>er > >> ties(ConfigurationManager.java:363) > >> at > >> > >>com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Con > >>fi > >> gurationManager.java:325) > >> at > >> > >>com.ericdaugherty.mail.server.configuration.ConfigurationManager.initiali > >>ze > >> (ConfigurationManager.java:243) > >> at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) > >> at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) > >> at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) > >> > >> C:\prog\jes-2.7.0\bin> > >> > >> > >> And it returns to the promptŠ. > >> > >> HRV > >> > >> > >> > >>------------------------------------------------------------------------- > >>----- > >> Introducing Performance Central, a new site from SourceForge and > >> AppDynamics. Performance Central is your source for news, insights, > >> analysis and resources for efficient Application Performance > >>Management. > >> Visit us today! > >> > >>http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clkt > >>rk > >> _______________________________________________ > >> Javaemailserver-user mailing list > >> Jav...@li... > >> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Javaemailserver-user mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
From: <jav...@li...> - 2013-08-20 15:45:23
|
Yes, that works.... You may want to change the description, as it references the faulty syntax. <infoFileDomains> # This property defines the domains that are considered 'local'. In order # to receive email for local users, their domain must be defined here. # Multiple domains can be added as a whitespace separated list. # ex: domains=mydomain1.com mydomain2.com # No default </infoFileDomains> It works now, tx :-) HRV From: "jav...@li..." <jav...@li...> Reply-To: "jav...@li..." <jav...@li...> Date: dinsdag 20 augustus 2013 17:28 To: "jav...@li..." <jav...@li...> Subject: Re: [Javaemailserver-user] ArrayIndexOutOfBoundsException >Hi HRV, > >you just need to drop domains=. >The correct entry is <domains>sailpointdemo.com</domains>. > >But there should be better handling of improper domain declarations. I >will be addressing that issue in the next release. > >Regards, >Andreas > >> To: jav...@li... >> Date: Tue, 20 Aug 2013 13:00:50 +0000 >> From: jav...@li... >> Subject: Re: [Javaemailserver-user] ArrayIndexOutOfBoundsException >> >> Hi Andreas, >> >> Currently, this is in mail.xml: >> <File> >> <domains>domains=sailpointdemo.com</domains> >> <defaultMailbox>ad...@sa...</defaultMailbox> >> </File> >> >> And this is in user.conf >> use...@sa...=sailpoint >> >> Looks ok to meŠ. Have not changed it either, so that was already there. >> But I still get the exception after the DNS message: >> >> The application failed to initialize. >> java.lang.ArrayIndexOutOfBoundsException: -1 >> at java.util.ArrayList.elementData(ArrayList.java:371) >> at java.util.ArrayList.get(ArrayList.java:384) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFi >>le >> .loadUserProperties(ConfigurationManagerBackEndFile.java:227) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFi >>le >> .loadUsersAndRealms(ConfigurationManagerBackEndFile.java:746) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProp >>er >> ties(ConfigurationManager.java:363) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Con >>fi >> gurationManager.java:325) >> at >> >>com.ericdaugherty.mail.server.configuration.ConfigurationManager.initiali >>ze >> (ConfigurationManager.java:243) >> at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) >> at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) >> at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) >> >> C:\prog\jes-2.7.0\bin> >> >> >> And it returns to the promptŠ. >> >> HRV >> >> >> >>------------------------------------------------------------------------- >>----- >> Introducing Performance Central, a new site from SourceForge and >> AppDynamics. Performance Central is your source for news, insights, >> analysis and resources for efficient Application Performance >>Management. >> Visit us today! >> >>http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clkt >>rk >> _______________________________________________ >> Javaemailserver-user mailing list >> Jav...@li... >> https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
From: <jav...@li...> - 2013-08-20 15:28:37
|
Hi HRV, you just need to drop domains=. The correct entry is <domains>sailpointdemo.com</domains>. But there should be better handling of improper domain declarations. I will be addressing that issue in the next release. Regards, Andreas > To: jav...@li... > Date: Tue, 20 Aug 2013 13:00:50 +0000 > From: jav...@li... > Subject: Re: [Javaemailserver-user] ArrayIndexOutOfBoundsException > > Hi Andreas, > > Currently, this is in mail.xml: > <File> > <domains>domains=sailpointdemo.com</domains> > <defaultMailbox>ad...@sa...</defaultMailbox> > </File> > > And this is in user.conf > use...@sa...=sailpoint > > Looks ok to meŠ. Have not changed it either, so that was already there. > But I still get the exception after the DNS message: > > The application failed to initialize. > java.lang.ArrayIndexOutOfBoundsException: -1 > at java.util.ArrayList.elementData(ArrayList.java:371) > at java.util.ArrayList.get(ArrayList.java:384) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile > .loadUserProperties(ConfigurationManagerBackEndFile.java:227) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile > .loadUsersAndRealms(ConfigurationManagerBackEndFile.java:746) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper > ties(ConfigurationManager.java:363) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi > gurationManager.java:325) > at > com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize > (ConfigurationManager.java:243) > at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) > at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) > at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) > > C:\prog\jes-2.7.0\bin> > > > And it returns to the promptŠ. > > HRV > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Javaemailserver-user mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaemailserver-user |
From: <jav...@li...> - 2013-08-20 13:01:03
|
Hi Andreas, Currently, this is in mail.xml: <File> <domains>domains=sailpointdemo.com</domains> <defaultMailbox>ad...@sa...</defaultMailbox> </File> And this is in user.conf use...@sa...=sailpoint Looks ok to meŠ. Have not changed it either, so that was already there. But I still get the exception after the DNS message: The application failed to initialize. java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:371) at java.util.ArrayList.get(ArrayList.java:384) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUserProperties(ConfigurationManagerBackEndFile.java:227) at com.ericdaugherty.mail.server.configuration.ConfigurationManagerBackEndFile .loadUsersAndRealms(ConfigurationManagerBackEndFile.java:746) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.loadProper ties(ConfigurationManager.java:363) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.init(Confi gurationManager.java:325) at com.ericdaugherty.mail.server.configuration.ConfigurationManager.initialize (ConfigurationManager.java:243) at com.ericdaugherty.mail.server.Mail.init(Mail.java:177) at com.ericdaugherty.mail.server.Mail.instantiate(Mail.java:342) at com.ericdaugherty.mail.server.Mail.main(Mail.java:466) C:\prog\jes-2.7.0\bin> And it returns to the promptŠ. HRV |