You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Dhrubo <dh...@gmail.com> on 2012/11/19 11:15:11 UTC

Using James as SMTP Relay

Hello,
        Is it possible to use James as an SMTP relay just like SendGrid? If
yes how ? Can anyone point me to some documentation links?


-- 
Kind Regards... Dhrubo

<http://www.linkedin.com/in/dhrubo>

Re: Using James as SMTP Relay

Posted by Eric Charles <er...@apache.org>.
You can perfectly do it from localhost if you localhost is allowed to 
contact the remote SMPT server on port 25. If it is not, you will need 
to explicitely set the gateway tag in the RemoteDelivery mailet with 
your ISP SMTP server.

Thx, Eric


On 19/11/2012 10:28, Dhrubo wrote:
> Thanks Eric.
> Yes you are right it will be authenticated use for sure. Is it possible to
> test it from 127.0.0.1 (i.e locally) or I need to put/install James on my
> Softlayer servers ?
>
>
>
> On Mon, Nov 19, 2012 at 3:55 PM, Eric Charles <er...@apache.org> wrote:
>
>> Yes,
>>
>> Just create the needed user/password and give them to your users (I guess
>> you don't want to act as an openrelay).
>>
>> SMTP relay will is working by default for authenticated users.
>>
>> Thx, Eric
>>
>>
>>
>> On 19/11/2012 10:15, Dhrubo wrote:
>>
>>> Hello,
>>>           Is it possible to use James as an SMTP relay just like SendGrid?
>>> If
>>> yes how ? Can anyone point me to some documentation links?
>>>
>>>
>>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<se...@james.apache.org>
>> For additional commands, e-mail: server-dev-help@james.apache.**org<se...@james.apache.org>
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Using James as SMTP Relay

Posted by Dhrubo <dh...@gmail.com>.
Thanks Eric.
Yes you are right it will be authenticated use for sure. Is it possible to
test it from 127.0.0.1 (i.e locally) or I need to put/install James on my
Softlayer servers ?



On Mon, Nov 19, 2012 at 3:55 PM, Eric Charles <er...@apache.org> wrote:

> Yes,
>
> Just create the needed user/password and give them to your users (I guess
> you don't want to act as an openrelay).
>
> SMTP relay will is working by default for authenticated users.
>
> Thx, Eric
>
>
>
> On 19/11/2012 10:15, Dhrubo wrote:
>
>> Hello,
>>          Is it possible to use James as an SMTP relay just like SendGrid?
>> If
>> yes how ? Can anyone point me to some documentation links?
>>
>>
>>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<se...@james.apache.org>
> For additional commands, e-mail: server-dev-help@james.apache.**org<se...@james.apache.org>
>
>


-- 
Kind Regards... Dhrubo

<http://www.linkedin.com/in/dhrubo>

Re: Using James as SMTP Relay

Posted by Eric Charles <er...@apache.org>.
Yes,

Just create the needed user/password and give them to your users (I 
guess you don't want to act as an openrelay).

SMTP relay will is working by default for authenticated users.

Thx, Eric


On 19/11/2012 10:15, Dhrubo wrote:
> Hello,
>          Is it possible to use James as an SMTP relay just like SendGrid? If
> yes how ? Can anyone point me to some documentation links?
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Using James as SMTP Relay

Posted by Guillermo Grandes <gu...@gmail.com>.
Hi Dhrubo!

SMTP Configuration
http://james.apache.org/server/3/config-smtp-lmtp.html

RemoteDelivery
http://james.apache.org/server/3/dev-provided-mailets.html

----- Original Message ----- 
From: "Dhrubo" <dh...@gmail.com>
To: "James Developers List" <se...@james.apache.org>; "James Users
List" <se...@james.apache.org>
Sent: Monday, November 19, 2012 11:15 AM
Subject: Using James as SMTP Relay


> Hello,
>        Is it possible to use James as an SMTP relay just like SendGrid? If
> yes how ? Can anyone point me to some documentation links?
>
>
> -- 
> Kind Regards... Dhrubo
>
> <http://www.linkedin.com/in/dhrubo>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Using James as SMTP Relay

Posted by Guillermo Grandes <gu...@gmail.com>.
Hi Dhrubo!

SMTP Configuration
http://james.apache.org/server/3/config-smtp-lmtp.html

RemoteDelivery
http://james.apache.org/server/3/dev-provided-mailets.html

----- Original Message ----- 
From: "Dhrubo" <dh...@gmail.com>
To: "James Developers List" <se...@james.apache.org>; "James Users
List" <se...@james.apache.org>
Sent: Monday, November 19, 2012 11:15 AM
Subject: Using James as SMTP Relay


> Hello,
>        Is it possible to use James as an SMTP relay just like SendGrid? If
> yes how ? Can anyone point me to some documentation links?
>
>
> -- 
> Kind Regards... Dhrubo
>
> <http://www.linkedin.com/in/dhrubo>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Using James as SMTP Relay

Posted by chetan N <ch...@gmail.com>.
Not always edit your james, config.xml file.

On Mon, Nov 19, 2012 at 4:36 PM, Dhrubo <dh...@gmail.com> wrote:
> Assuming that I will be deploying James on internet hosting provider box,
> do I need to always mention the IP address of MS Exchange or any other
> server. It is impossible for me to know all the domains.
>
> For example in my application I have users with email ids - abc@abc.com,
> abk@abc.com, acd@xyz.com, bpp@mcom.com and they all should be able to send
> emails from my application.
>
> On Mon, Nov 19, 2012 at 4:09 PM, chetan N <ch...@gmail.com> wrote:
>
>> It is possible using below tags
>> <processor name="transport">
>>          ...
>>
>>          <mailet match="All" class="RemoteDelivery">
>>             ...
>>
>>             <gateway>IP address of Microsoft Exchange Server</gateway>
>>             <gatewayPort>25</gatewayPort>
>>          </mailet>
>>       </processor>
>>
>>
>> On Mon, Nov 19, 2012 at 3:45 PM, Dhrubo <dh...@gmail.com> wrote:
>> > Hello,
>> >         Is it possible to use James as an SMTP relay just like SendGrid?
>> If
>> > yes how ? Can anyone point me to some documentation links?
>> >
>> >
>> > --
>> > Kind Regards... Dhrubo
>> >
>> > <http://www.linkedin.com/in/dhrubo>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
>
> --
> Kind Regards... Dhrubo
>
> <http://www.linkedin.com/in/dhrubo>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Using James as SMTP Relay

Posted by Dhrubo <dh...@gmail.com>.
Assuming that I will be deploying James on internet hosting provider box,
do I need to always mention the IP address of MS Exchange or any other
server. It is impossible for me to know all the domains.

For example in my application I have users with email ids - abc@abc.com,
abk@abc.com, acd@xyz.com, bpp@mcom.com and they all should be able to send
emails from my application.

On Mon, Nov 19, 2012 at 4:09 PM, chetan N <ch...@gmail.com> wrote:

> It is possible using below tags
> <processor name="transport">
>          ...
>
>          <mailet match="All" class="RemoteDelivery">
>             ...
>
>             <gateway>IP address of Microsoft Exchange Server</gateway>
>             <gatewayPort>25</gatewayPort>
>          </mailet>
>       </processor>
>
>
> On Mon, Nov 19, 2012 at 3:45 PM, Dhrubo <dh...@gmail.com> wrote:
> > Hello,
> >         Is it possible to use James as an SMTP relay just like SendGrid?
> If
> > yes how ? Can anyone point me to some documentation links?
> >
> >
> > --
> > Kind Regards... Dhrubo
> >
> > <http://www.linkedin.com/in/dhrubo>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>


-- 
Kind Regards... Dhrubo

<http://www.linkedin.com/in/dhrubo>

Re: Using James as SMTP Relay

Posted by chetan N <ch...@gmail.com>.
It is possible using below tags
<processor name="transport">
         ...

         <mailet match="All" class="RemoteDelivery">
            ...

            <gateway>IP address of Microsoft Exchange Server</gateway>
            <gatewayPort>25</gatewayPort>
         </mailet>
      </processor>


On Mon, Nov 19, 2012 at 3:45 PM, Dhrubo <dh...@gmail.com> wrote:
> Hello,
>         Is it possible to use James as an SMTP relay just like SendGrid? If
> yes how ? Can anyone point me to some documentation links?
>
>
> --
> Kind Regards... Dhrubo
>
> <http://www.linkedin.com/in/dhrubo>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Using James as SMTP Relay

Posted by 杨华杰 <yh...@gmail.com>.
Almost impossible when I tried last time


On Mon, Nov 19, 2012 at 6:15 PM, Dhrubo <dh...@gmail.com> wrote:

> Hello,
>         Is it possible to use James as an SMTP relay just like SendGrid? If
> yes how ? Can anyone point me to some documentation links?
>
>
> --
> Kind Regards... Dhrubo
>
> <http://www.linkedin.com/in/dhrubo>
>