Hi Olivier;

and first off, thanks a bunch for your help. Gave it a quick look, read through the jetty reference and configured it just like this:


<New class="org.eclipse.jetty.jndi.factories.MailSessionReference">
 <Set name="properties">
  <New class="java.util.Properties">
    <Put name="mail.smtp.host">192.168.1.253</Put>
    <Put name="mail.from">admin@...</Put>
    <Put name="mail.debug">true</Put>
  </New>
 </Set>
</New>

Outcome: archiva does now try to use the defined MX rather than the local transport on its VM to send mails (good), but the "mail.from" parameter still is ignored, mail still is trying to be sent as <user>@localhost. Is there anything else I am missing here? I do not have user/password set as the local hosts do not need to authenticate for sending out...

TIA and all the best,
Kristian

Reply via email to