OK, here's how I understood it: if you comment out mail.server.username and mail.server.password, it works, but if you leave them empty, it doesn't work (presumably because it sends empty values).
On Thu, May 23, 2013 at 11:20 AM, Alan Orth <[email protected]> wrote: > If I comment out the mail.* settings in my production.properties file I get > an error about circular definitions: Yes, unfortunately, this is a known limitation of the Maven filtering process as documented here: https://wiki.duraspace.org/display/DSDOC3x/Configuration#Configuration-Thebuild.propertiesConfigurationPropertiesFile I guess the the only solution we can provide in DSpace is not to send username and password if they're both empty. The relevant code is here: https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/core/Email.java#L265 It seems to me the code should behave the same (username == null) regardless of whether mail.server.username is commented out or has an empty value. But I would need to verify this. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

