james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suvega Srinivasan (NCS)" <suve...@ncs.com.sg>
Subject RE: [jira] [Created] (JAMES-1658) Unable to relay out messages to an external email address.
Date Sun, 27 Mar 2016 02:01:32 GMT
Hi Bernd,

Sorry for delayed response, would like to update my issue is resolved. I have set the <dnsserver>
server entry of my proxy/firewall IP and disabled the <gateway> IP. It worked for me.
 

<dnsserver>
	<servers>
		 <!--Enter ip address of your DNS server, one IP address per server -->
		 <!-- element. -->
		<server>DNS.OF.PRI.IP</server>
	</servers>



Regards,
Suvega S
Mob# +65-8318-6580

-----Original Message-----
From: Bernd Waibel [mailto:BWaibel@intarsys.de] 
Sent: Thursday, 21 January, 2016 5:41 AM
To: James Developers List
Subject: AW: [jira] [Created] (JAMES-1658) Unable to relay out messages to an external email
address.

Hi Suvega,

I think you have to change your config.xml.

First your Server need to have the name of the mx  record, maybe the DNS MX Record is "mail.myJamesMailserver.com",
then:
        <servername>mail.myJamesMailserver.com</servername>

In your <transport> processor there should be a remote delivery, to deliver the outgoing
mails to external:
Something like:
         <mailet match="All" class="RemoteDelivery">
            <outgoing> file://var/mail/outgoing/ </outgoing>
            <delayTime>  5 minutes </delayTime>
            <delayTime> 10 minutes </delayTime>
            <delayTime> 45 minutes </delayTime>
            <delayTime>  2 hours </delayTime>
            <delayTime>  3 hours </delayTime>
            <delayTime>  6 hours </delayTime>
            <maxRetries> 25 </maxRetries> 
            <deliveryThreads> 1 </deliveryThreads>
            <sendpartial>false</sendpartial>
            <bounceProcessor>bounces</bounceProcessor>
            <!--
            <gateway> otherserver.mydomain.com </gateway>
            <gatewayPort>25</gatewayPort>
            -->
            <!-- If the gateway requires smtp authentication the following directives -->
            <!-- (gatewayusername/gatewayPassword) can be used. -->
            <!--
            <gatewayusername>login</gatewayusername>
            <gatewayPassword>pass</gatewayPassword>
            -->
            <!-- Set the HELO/EHLO name to use when connectiong to remote SMTP-Server -->
            <mail.smtp.localhost>mail.myJamesMailserver.com</mail.smtp.localhost>
         </mailet>

If you use a SMTP Proxy in your Firewall, then you should insert this as the gateway (using
the numeric IP is ok).
If this SMTP Proxy requires autentication, you could enter this here with username and password.
If you do not have a SMTP Proxy (or any other Mail Relay, MTA, Mail Server, you should remove
the "gateway".
(Using xml comments <!-- --> as above).

If there is now <gateway> and <gatewayPort>, James will use the DNS server (could
be configered also, or discovered) to find out the Mailserver of the receiver. E.g. for mails
to bwaibel@intarsys.de, the DNS MX for intarsys.de is mail.intarsys.de, and James will spool
outgoing mails direct to mail.intarsys.de:25.
He is doing something like "nslookup -type=mx intarsys.de".

So: check your config.xml

Greetings
Bernd

-----Ursprüngliche Nachricht-----
Von: Suvega Srinivasan (NCS) [mailto:suvegas@ncs.com.sg] 
Gesendet: Mittwoch, 20. Januar 2016 17:46
An: James Developers List <server-dev@james.apache.org>
Betreff: RE: [jira] [Created] (JAMES-1658) Unable to relay out messages to an external email
address.

Hi, can anyone throw light on my query. Thanks in advance and any help would be much appreciated.


Regards,
Suvega S

-----Original Message-----
From: Suvega Srinivasan (JIRA) [mailto:server-dev@james.apache.org] 
Sent: Tuesday, 19 January, 2016 5:11 PM
To: server-dev@james.apache.org
Subject: [jira] [Created] (JAMES-1658) Unable to relay out messages to an external email address.

Suvega Srinivasan created JAMES-1658:
----------------------------------------

             Summary: Unable to relay out messages to an external email address.
                 Key: JAMES-1658
                 URL: https://issues.apache.org/jira/browse/JAMES-1658
             Project: James Server
          Issue Type: Test
          Components: James Core
    Affects Versions: 2.3.2
         Environment: Microsoft Windows Server 2012 R2 Standard
System Type:	x64-based PC
JRE:		1.7.0_75
James Version:	james-2.3.2
            Reporter: Suvega Srinivasan
             Fix For: 2.3.3


I’m trying to setup a mail server for my testing purpose. I’m stuck up with an issue,
my James mail server is unable to send out email. I would like to know if any other additional
device/service is required between the James and Firewall(MX) in order to relay out email
from James to external mail address. 

I’m trying to achieve something like below mail flow/setup.

myJamesEmailID  --> James-Mail server --> Firewall( & MX) -> external Email address

What is required: Need to send an email from suvegas@myJamesMailserver.com to suvegas@gmail.com

(myJamesMailserver.com is my example James mail domain)

I have configured my James server, it is running fine with port 25 and 110, 53 open &
accessible. I’m able to receive incoming email ie. from Gmail to myJamesMailserver works
fine. The outgoing mail is generated in local james server, but unable to send out email from
myJamesMailserver.com. Further, I see James is trying repeatedly to spool/send email out.
The firewall doesn't receive any port:25 traffic from the James server. I believe, James is
unable to throw the traffic to firewall/external.

Would like to know what is required between the james mail server and firewall. Do I require
a mail gateway device or a relay server/device before the firewall?  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


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

B�KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB��[��X��ܚX�KK[XZ[
��\��\�Y]�][��X��ܚX�P�[Y\˘\X�K�ܙ�B��܈Y][ۘ[��[X[��K[XZ[
��\��\�Y]�Z[�[Y\˘\X�K�ܙ�B�B
Mime
View raw message