james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <e...@apache.org>
Subject Re: How setup james as a proxy to send out email
Date Mon, 18 Jun 2012 17:38:43 GMT
Ok, got it.

Can you add the list of the server2...5 IP addresses in the 
authorizedAddresses tag in the smtpserver.conf of server1.

Thx, Eric

On 06/18/2012 05:03 PM, 杨华杰 wrote:
> Hi Eric
>
> Your schema is a little bit different with mine. My server 2,5 do not have
> james installed.
>
> How ever I can send out email in the James(server 1) locally, which means I
> am able to send out email using thunderbird in the server 1, but I can not
> send from server 2...5.  I hope this time you understand my problem.
>
>
> Regards,
> Hua JIe
>
> On Mon, Jun 18, 2012 at 9:26 PM, Eric Charles<eric@apache.org>  wrote:
>
>> Hi Hau,
>>
>> Your scheme is the same as mine, isn't it?
>> I would first validate a correct working of James1 (sending and receiving
>> mails with a client such as thunderbird).
>>
>> Once you are 100% sure it's working, it's just a matter of configuring
>> James2...5 RemoteMailet with the correct gateway/gatewayPort/**
>> gatewayUsername/**gatewyPassword.
>>
>> I a now writing more doc/example for the SMTP configuration which seems to
>> rise many questions atm on the mailing list.
>>
>> Thx,
>> Eric
>>
>>
>> On 06/17/2012 05:37 PM, 杨华杰 wrote:
>>
>>> Hi Eric
>>>
>>> Sorry I didn't make it clear
>>>
>>> The schema is like the following
>>> ISP
>>>    |
>>> James(Server 1)
>>>    |
>>> ------------------------------**------------------------------**-------
>>>       |                |                 |                   |
>>> Server 2      Server 3      Server 4      Server 5
>>>
>>> Only the server 1 IP is in the security list.
>>>
>>> I tried to use telnet to send out email from server 1(local), I can
>>> receive
>>> the email in my gmail.
>>> I tried to use telnet to send out email from server 2 -5(telnet to Server
>>> 1), the telnet tell me it's success, but I didn't receive the email.
>>>
>>>
>>> So I want to deploy James to Server 1, and make it as a transparent SMTP
>>> proxy. I hope it's clear this time
>>>
>>> Regards,
>>> Hua Jie
>>>
>>>
>>> On Sun, Jun 17, 2012 at 6:37 PM, Eric Charles<eric@apache.org>   wrote:
>>>
>>>   Not sure, but I have the following scheme in mind
>>>>
>>>>          ISP
>>>>           |
>>>>         James1
>>>>           |
>>>>   ----------------------
>>>>   |       |      |     |
>>>> James2 James3 James4 James5
>>>>
>>>> So James2..5 need to use James1 as gateway.
>>>> Only James1 uses your Internet Service Provider SMTP gateway.
>>>>
>>>> Is it such?
>>>> Eric
>>>>
>>>>
>>>> On 06/17/2012 11:46 AM, 杨华杰 wrote:
>>>>
>>>>   Hi Eric
>>>>> Yeah, I know that. But my relay SMTP service do not request to provide
a
>>>>> username and password.
>>>>>
>>>>> As you see in my previous email, I can send out email from localhost
>>>>> successfully without username and password. From the other 4 servers
,
>>>>> the
>>>>> email also can send, but the email was not reach to my gmail box, which
>>>>> I
>>>>> suspect the remote smtp server blocked the other 4 servers IP
>>>>> address(the
>>>>> other 4 server IP is not in the security list)
>>>>>
>>>>>
>>>>> The James server can not connect to the internet, but it was able to
>>>>> connect to another SMTP server(Which is very strict in security manner).
>>>>>
>>>>> Regards,
>>>>> Hua Jie
>>>>>
>>>>> On Sun, Jun 17, 2012 at 5:33 PM, Eric Charles<eric@apache.org>
   wrote:
>>>>>
>>>>>   Hi,
>>>>>
>>>>>>
>>>>>> Double-check the James server connected to the Internet.
>>>>>> You can be sure of its configuration by using it as SMTP gateway
from
>>>>>> you
>>>>>> mail client.
>>>>>>
>>>>>> If it is relaying well from your mail client, one more configuration
I
>>>>>> forgot to mention is the undocumented gatewayUsername and
>>>>>> gatewayPassword
>>>>>> attributes to add in the 4 James and that correspond to an existing
>>>>>> usern
>>>>>> in the James connected to the Internet (to avoid open-relay).
>>>>>>
>>>>>> Thx, Eric
>>>>>>
>>>>>>
>>>>>> On 06/17/2012 11:18 AM, 杨华杰 wrote:
>>>>>>
>>>>>>   Hi Eric
>>>>>>
>>>>>>>
>>>>>>> Thank you for your replying, I want to settup only 1 james server,
and
>>>>>>> the
>>>>>>> other servers will use the one as a smtp service.
>>>>>>>
>>>>>>>
>>>>>>> After I try, I use the command telnet to send out email, I can
send
>>>>>>> out
>>>>>>> the
>>>>>>> email from the one server successfully(from local), and I received
the
>>>>>>> email in my gmail account But when I connected from the other
4
>>>>>>> servers
>>>>>>> by
>>>>>>> using telnet, the log is showing, it send email to remote smtp
>>>>>>> successfully
>>>>>>> but the email is not send out to my gmail inbox.
>>>>>>>
>>>>>>>
>>>>>>> Regards,
>>>>>>> Prince
>>>>>>>
>>>>>>> On Sat, Jun 16, 2012 at 10:21 PM, Eric Charles<eric@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>   Hi,
>>>>>>>
>>>>>>>
>>>>>>>> For outgoing proxy, define in you 4 internal severs, let
point the
>>>>>>>> RemoteDelivery mailet to the 5th server who has access to
the
>>>>>>>> Internet.
>>>>>>>>
>>>>>>>> You will define the gateway  and gatewayPort attributes to
achieve
>>>>>>>> this (
>>>>>>>> http://james.apache.org/********server/3/dev-provided-mailets.**
>>>>>>>> ******<http://james.apache.org/******server/3/dev-provided-mailets.******>
>>>>>>>> <http://james.apache.**org/****server/3/dev-provided-**mailets.****<http://james.apache.org/****server/3/dev-provided-mailets.****>
>>>>>>>>>
>>>>>>>> <http://james.apache.org/******server/3/dev-provided-****mailets.**<http://james.apache.org/****server/3/dev-provided-**mailets.**>
>>>>>>>> <http://james.**apache.org/**server/3/dev-**provided-mailets.**<http://james.apache.org/**server/3/dev-provided-mailets.**>
>>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>>   html#RemoteDelivery<http://****j**ames.apache.org/server/3/**
>>>>>>>> dev-****<http://ames.apache.org/server/3/dev-****><
>>>>>>>> http://james.apache.**org/server/3/dev-**<http://james.apache.org/server/3/dev-**>
>>>>>>>>>
>>>>>>>> provided-mailets.html#******RemoteDelivery<http://james.**
>>>>>>>> apache.org/server/3/dev-****provided-mailets.html#****RemoteDelivery<http://apache.org/server/3/dev-**provided-mailets.html#**RemoteDelivery>
>>>>>>>> <http://james.**apache.org/server/3/dev-**provided-mailets.html#**
>>>>>>>> RemoteDelivery<http://james.apache.org/server/3/dev-provided-mailets.html#RemoteDelivery>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>   ).
>>>>>>>>
>>>>>>>> Thx, Eric
>>>>>>>>
>>>>>>>> On 06/15/2012 05:02 AM, 杨华杰 wrote:
>>>>>>>>
>>>>>>>>   As the title, i want to settup james as a transparencontainsdomaint
>>>>>>>>
>>>>>>>>   proxy
>>>>>>>>> to send email.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> As in my environment, i have 5 servers, but only one
ip is allowed
>>>>>>>>> to
>>>>>>>>> send
>>>>>>>>> out email. i tried to use relay but its simply blocked
the smtp
>>>>>>>>> server.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Hua Jie
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>   --
>>>>>>>>>
>>>>>>>>>   eric | http://about.echarles.net | @echarles
>>>>>>>>
>>>>>>>> ------------------------------********------------------------**
>>>>>>>> --**--**
>>>>>>>> --**---------
>>>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.********
>>>>>>>> apache.org
>>>>>>>> <
>>>>>>>> server-user-**unsubscribe@**ja**mes.apache.org<http://james.apache.org>
>>>>>>>> <unsubscribe@**james.apache.org<unsubscribe@james.apache.org>>
>>>>>>>>
>>>>>>>> <server-user-**unsubscribe@**james.apache.org<unsubscribe@james.apache.org>
>>>>>>>> <server-user-**unsubscribe@james.apache.org<server-user-unsubscribe@james.apache.org>
>>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>>   For additional commands, e-mail: server-user-help@james.apache.**
>>>>>>>>> **
>>>>>>>>>
>>>>>>>> ****org<
>>>>>>>> server-user-help@james.****apach**e.org<http://apache.org**><
>>>>>>>> server-user-help@james.**apach**e.org<http://apache.org><
>>>>>>>> server-user-help@james.**apache.org<server-user-help@james.apache.org>
>>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>    --
>>>>>>>
>>>>>> eric | http://about.echarles.net | @echarles
>>>>>>
>>>>>> ------------------------------******--------------------------**--**
>>>>>> --**---------
>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.******apache.org
>>>>>> <
>>>>>> server-user-**unsubscribe@**james.apache.org<unsubscribe@james.apache.org>
>>>>>> <server-user-**unsubscribe@james.apache.org<server-user-unsubscribe@james.apache.org>
>>>>>>>
>>>>>>
>>>>>>>
>>>>>>>   For additional commands, e-mail: server-user-help@james.apache.**
>>>>>> ****org<
>>>>>> server-user-help@james.**apach**e.org<http://apache.org><
>>>>>> server-user-help@james.**apache.org<server-user-help@james.apache.org>
>>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>   --
>>>> eric | http://about.echarles.net | @echarles
>>>>
>>>> ------------------------------****----------------------------**
>>>> --**---------
>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.****apache.org<
>>>> server-user-**unsubscribe@james.apache.org<server-user-unsubscribe@james.apache.org>
>>>>>
>>>> For additional commands, e-mail: server-user-help@james.apache.****org<
>>>> server-user-help@james.**apache.org<server-user-help@james.apache.org>>
>>>>
>>>>
>>>>
>>>
>> --
>> eric | http://about.echarles.net | @echarles
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.**apache.org<server-user-unsubscribe@james.apache.org>
>> For additional commands, e-mail: server-user-help@james.apache.**org<server-user-help@james.apache.org>
>>
>>
>

-- 
eric | http://about.echarles.net | @echarles

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


Mime
View raw message