Re: subetha

Actions

From Jun 6, 2009 8:23 PM

Copy this into ${RESIN_HOME}/webapps/se/WEB-INF/classes/META-INF/beans.xml

<Beans xmlns="urn:java:ee"
	xmlns:smtp="urn:java:org.subethamail.core.smtp"
>
	<smtp:SMTPService>
		<port>2500</port>
		<bindAddress>yourinterface</bindAddress>
		<fallbackHost>localhost:2525</fallbackHost>
	</smtp:SMTPService>
</Beans>

This is basically the exact same thing  you put in conf/subetha.xml.
The downside of doing it this way is that the next time you deploy
se.war, it will wipe out your old settings.

Jeff

On Sat, Jun 6, 2009 at 11:05 AM, Jan Kriesten<kriesten@mail.footprint.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi Jeff,
>
>> You didn't enable that config line in subetha.xml that the comment
>> says "do not enable on Resin 4.0.0", did you?  That would explain
>> this.
>
> grml - you're right. One should really take more care on reading. Sorry for the
> noise.
>
> But while we're at it: What's the workaround to change the port?
>
> Best regards, --- Jan.
>
>
> - ----------------------------------------------------------
> footprint e.K. - kelterstr. 23 - d-22391 hamburg - germany
> tel +49-40-24180959 - fax +49-40-27805131
> handelsregister hamburg - hra 92306
> ust-id nr. DE194293429
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Darwin)
>
> iEYEARECAAYFAkoqr+EACgkQME/SSH3iSFlg5wCfSl8hvwZV1eeUamNOcUK4HLMB
> INkAn0GBFuCjhVqtDPkLSWzCkSzZ8Er1
> =2L5J
> -----END PGP SIGNATURE-----
>

Thread History