Why not just use the same format as before, but with extra elements?

<gateway>
    <user>foo</user>
    <password>bar</password>
    <ssl>true|on|yes</ssl>
    <sslCAValidate>true|on|yes</sslCAValidate>
    smtp1.server.com:7025
</gateway>

or attributes?

<gateway sslCAValidate="true|on|yes" ssl="true|on|yes" user="foo"
password="bar">smtp1.server.com:7025</gateway>


A bit of a bodge, but it would make the configurations compatible!

Daniel.

-----Original Message-----
From: Glen [mailto:[EMAIL PROTECTED]
Sent: 20 July 2004 17:00
To: James Users List; [EMAIL PROTECTED]
Subject: Re: Gateway SMTP


I would love to.  I have some questions about the preferred way of
implementing the features of RemoteDeliveryX in RemoteDelivery.

Currently in RemoteDelivery you can specify multiple gateway servers and
multiple gateways with a unique port for each.

<gateway>smtp1.server.com:7025</gateway>
<gateway>smtp2.server.com:25</gateway>
<gateway>smtp1.server.com:25</gateway>

This patch would add four parms to each gateway config.  So a gateway has
these attributes

ip address/name
port
auth user
auth password
ssl
validate certificate authority

is it possible to have

<gateway>
    <name>smtp1.server.com</name>
    <port>smtp1.server.com:7025</port>
    <user>foo</user>
    <password<bar</password>
    <ssl>true|on|yes</ssl>
    <sslCAValidate>true|on|yes</sslCAValidate>
<gateway>


So the question is how to provide the option to config all these parms and
also not break the exisitng configs.  The RemoteDeilveryX only allows a
single gateway hence avoiding the issue of how to config multiple gateways.
I can submit the patch as a new RemoteDeliveryX but I assume that is less
desirable than adding it to the current RemoteDelivery.  I am more than
happy to take the input and implement that into RemoteDelivery/

regards,
Glen






Noel J. Bergman wrote:

I have made a RemoteDeliveryX that can handle smtp authentication
as well as ssl (optional).  I have not submitted it here because
someone else has mentioned that they are doing the same already.


You can always submit the patch, from which others can build as they
incorporate the functionality.  :-)

        --- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to