Return-Path: X-Original-To: apmail-james-server-user-archive@www.apache.org Delivered-To: apmail-james-server-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A10E7923A for ; Sun, 17 Jun 2012 15:37:57 +0000 (UTC) Received: (qmail 55049 invoked by uid 500); 17 Jun 2012 15:37:57 -0000 Delivered-To: apmail-james-server-user-archive@james.apache.org Received: (qmail 55008 invoked by uid 500); 17 Jun 2012 15:37:57 -0000 Mailing-List: contact server-user-help@james.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "James Users List" Reply-To: "James Users List" Delivered-To: mailing list server-user@james.apache.org Received: (qmail 55000 invoked by uid 99); 17 Jun 2012 15:37:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jun 2012 15:37:57 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yhjhoo@gmail.com designates 209.85.215.49 as permitted sender) Received: from [209.85.215.49] (HELO mail-lpp01m010-f49.google.com) (209.85.215.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jun 2012 15:37:52 +0000 Received: by laap9 with SMTP id p9so3938922laa.22 for ; Sun, 17 Jun 2012 08:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=wvdN6Gsx8urHesHi9PqPdYUOOIaLnGlo4KSWktdnnjc=; b=TK1DwOIrQv0W7+QvLg7qnOR86t7PObZDYAcKGOqOO/LuXZjrLciYUiY1tTBsMtwDN4 2UoHdvujYZhHu6eMQmeS7brfxwgmmgb6akT5TvHNPMtPtdSO6oxhKMP+s9EulIDCQp7a D6mCBJQk018FDlMviHTZ+Dki6mSoHqHzafmolnqfFIxy153lUIlZc6vbvOjAJMbIZqTw J+osmyIOUFUfotihXOUSoVffSFJtI3Xuw4aUS3P1FlD959MFYMqvlbgDr/k8gJ6nyocv vzqaWUZcPXVVmla0iQGiBxsILb6xN6YdMxoF/qLeck12eaorQ3GDH5d5DkGP/LewIjgl r5wg== MIME-Version: 1.0 Received: by 10.152.145.42 with SMTP id sr10mr11583791lab.16.1339947450941; Sun, 17 Jun 2012 08:37:30 -0700 (PDT) Received: by 10.112.80.99 with HTTP; Sun, 17 Jun 2012 08:37:30 -0700 (PDT) In-Reply-To: <4FDDB34C.60308@apache.org> References: <4FDC9669.4080400@apache.org> <4FDDA469.205@apache.org> <4FDDB34C.60308@apache.org> Date: Sun, 17 Jun 2012 23:37:30 +0800 Message-ID: Subject: Re: How setup james as a proxy to send out email From: =?UTF-8?B?5p2o5Y2O5p2w?= To: James Users List Content-Type: multipart/alternative; boundary=e89a8f2344fdd4c20404c2acd3c8 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f2344fdd4c20404c2acd3c8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 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, =E6=9D=A8=E5=8D=8E=E6=9D=B0 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 , t= he >> 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(th= e >> 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 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 y= ou >>> mail client. >>> >>> If it is relaying well from your mail client, one more configuration I >>> forgot to mention is the undocumented gatewayUsername and gatewayPasswo= rd >>> attributes to add in the 4 James and that correspond to an existing use= rn >>> in the James connected to the Internet (to avoid open-relay). >>> >>> Thx, Eric >>> >>> >>> On 06/17/2012 11:18 AM, =E6=9D=A8=E5=8D=8E=E6=9D=B0 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 ou= t >>>> 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 server= s >>>> 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 >>>> 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 Interne= t. >>>>> >>>>> You will define the gateway and gatewayPort attributes to achieve >>>>> this ( >>>>> http://james.apache.org/******server/3/dev-provided-mailets.****** >>>>> >>>>> > >>>>> html#RemoteDelivery >>>>> provided-mailets.html#****RemoteDelivery>>>> apache.org/server/3/dev-**provided-mailets.html#**RemoteDelivery >>>>> > >>>>> >>>>> >>>>>> >>>>> ). >>>>> >>>>> Thx, Eric >>>>> >>>>> On 06/15/2012 05:02 AM, =E6=9D=A8=E5=8D=8E=E6=9D=B0 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 t= o >>>>>> 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.or= g >>>>> < >>>>> server-user-**unsubscribe@**james.apache.org >>>>> >>>>> > >>>>> >>>>>> >>>>>> For additional commands, e-mail: server-user-help@james.apache.** >>>>> ****org< >>>>> server-user-help@james.**apach**e.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 > > --e89a8f2344fdd4c20404c2acd3c8--