You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by richi <ri...@netbird.ch> on 2007/02/11 00:22:26 UTC

All but outgoing mails work

Hi 

I have instaled James on a Windows XP box. Local send and receive works, I
also receive external mail but outgoing mail just stays in the outgoing
folder forever.

I configured SMTP AUTH and did not configure the RemoteAddrNotInNetwork
mailet 

SMTP config :

<smtpserver enabled="true">
   <port>25</port>
   <handler>
      <helloName autodetect="true">myMailServer</helloName>
      <connectiontimeout>360000</connectiontimeout>
      <authRequired>true</authRequired>
      <verifyIdentity>true</verifyIdentity>            
   </handler>
</smtpserver>

Also I configured the DNS like this:

<dnsserver>
      <servers>
           <server>62.2.17.60</server>
	   <server>62.2.17.61</server>
	   <server>62.2.24.158</server>
      </servers>
      <autodiscover>false</autodiscover>
      <authoritative>false</authoritative>
      <maxcachesize>50000</maxcachesize>
</dnsserver>

I can see no error in any log. Any hint on where to look further?

Thanky a lot and regards 
Richi
-- 
View this message in context: http://www.nabble.com/All-but-outgoing-mails-work-tf3207077.html#a8905974
Sent from the James - Users mailing list archive at Nabble.com.


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


RE: All but outgoing mails work

Posted by richi <ri...@netbird.ch>.
Hi Noel
Yes they changed that as I read in the proider's forum.... I found a hint
that shoud have been added, 
it's supposed to work with 

<username>...</username>
<password>...</password>

elements, but I still get the 
Error message:
550 5.7.1 <el...@gmx.ch>... Relaying denied

Richi


Does your gateway require AUTH?  Usually, they imply it by IP address.

	--- Noel



-- 
View this message in context: http://www.nabble.com/All-but-outgoing-mails-work-tf3207077.html#a9128035
Sent from the James - Users mailing list archive at Nabble.com.


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


RE: [2] All but outgoing mails work

Posted by "Noel J. Bergman" <no...@devtech.com>.
> how can I configure AUTH for a gateway?

Does your gateway require AUTH?  Usually, they imply it by IP address.

	--- Noel



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


Re: [2] All but outgoing mails work

Posted by richi <ri...@netbird.ch>.
Hi 
I saw that others also are using the providers SMTP server as gateway... but
how can I configure AUTH for a gateway?

Thanks Richi


Stefano Bagnara-2 wrote:
> 
> Hi richi,
> 
> gmx remembered me one old thread back in october:
> ----
> Stefan Bühlmann wrote:
>  > Hi Stefano,
>  > Thanks for your fast help. But I still have problems... Strange... 
> First: "telnet 213.165.64.100 25" or "telnet mx0.gmx.de. 25" both leave me
>  > with a cleared blank scrren. I don't get any text (no "220 
> mx0.gmx.net GMX
>  > Mailservices ESMTP {mxNNN}"). Since you quoted that, you obviously can
>  > telnet to the server.
> 
> Yes, I can connect and "talk" with them.
> 
>  > But I can send Mail with my Outlook to server mail.gmx.net and I can 
> "telnet
>  > mail.gmx.net 25". I do not understand the difference.
> 
> They are probably different servers. The mx servers for gmx.net can be 
> found with the command:
> 
>  > dig mx gmx.ch.
> or
>  > host -t mx gmx.ch.
> 
> and they are:
> 10 mx0.gmx.net.
> 10 mx0.gmx.de.
> 
> Both hostnames have the same priority and point to the same multihomed 
> IP: 213.165.64.100
> While mail.gmx.net is a different server:
> mail.gmx.net.           7200    IN      A       213.165.64.20
> mail.gmx.net.           7200    IN      A       213.165.64.21
> 
> Maybe your provider is filtering outgoing smtp connection (port 25) but 
> the one directed to their own mailserver (mail.gmx.net).
> 
> If you can't have the provider to remove this filter you could configure 
> the james RemoteDelivery service to use "mail.gmx.net." as a gateway.
> Of course this is not the same thing of connecting to the final host, 
> but maybe this fix your problem.
> 
>  > Second: My firewall is open for ports 25 and 110. But there is a NAT 
> between
>  > the WAN-side and my internal PC. I have propperly forwarded the ports
> to
>  > that machine. Doesn't the fact that I can send mail with Outlook,
> prove,
>  > that smtp goes out propperly? (I did reboot the router/firewall).
>  > Thanks for your help,
>  > Stefan Bühlmann
> 
> You can either solve the network/filter/firewall problem (but this is 
> not the appropriate list, and you can see if you fixed this by using the 
> telnet command) or you can try the gateway option.
> 
> Stefano
> ----
> 
> Maybe you have the same issue and this helps.
> 
> 
> richi ha scritto:
>> Hi you're right I found this in the mailet log:
>> 
>> 11/02/07 00:31:01 INFO  James.Mailet: RemoteDelivery: maxRetries is
>> larger
>> than total number of attempts specified. Increasing last delayTime with
>> 19
>> attempts 
>> 11/02/07 00:31:01 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
>> msecs is now attempted: 20 times
>> 11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Attempting delivery
>> of
>> Mail1171150340308-0-to-gmx.ch to host mx0.gmx.de. at 213.165.64.100 for
>> addresses [eliane301@gmx.ch]
>> 11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Could not connect
>> to
>> SMTP host: 213.165.64.100, port: 25, response: -1
>> 11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Attempting delivery
>> of
>> Mail1171150340308-0-to-gmx.ch to host mx0.gmx.net. at 213.165.64.100 for
>> addresses [eliane301@gmx.ch]
>> 11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Could not connect
>> to
>> SMTP host: 213.165.64.100, port: 25, response: -1
>> 11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Temporary exception
>> delivering mail (Mail1171150340308-0-to-gmx.ch: 
>> 11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Storing message
>> Mail1171150340308-0-to-gmx.ch into outgoing after 0 retries
>> 
>> Trying with telnet I can connect.... any idea ?
>> 
>> Thanks richi
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/All-but-outgoing-mails-work-tf3207077.html#a9126750
Sent from the James - Users mailing list archive at Nabble.com.


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


Re: [2] All but outgoing mails work

Posted by Stefano Bagnara <ap...@bago.org>.
Hi richi,

gmx remembered me one old thread back in october:
----
Stefan Bühlmann wrote:
 > Hi Stefano,
 > Thanks for your fast help. But I still have problems... Strange... 
First: "telnet 213.165.64.100 25" or "telnet mx0.gmx.de. 25" both leave me
 > with a cleared blank scrren. I don't get any text (no "220 
mx0.gmx.net GMX
 > Mailservices ESMTP {mxNNN}"). Since you quoted that, you obviously can
 > telnet to the server.

Yes, I can connect and "talk" with them.

 > But I can send Mail with my Outlook to server mail.gmx.net and I can 
"telnet
 > mail.gmx.net 25". I do not understand the difference.

They are probably different servers. The mx servers for gmx.net can be 
found with the command:

 > dig mx gmx.ch.
or
 > host -t mx gmx.ch.

and they are:
10 mx0.gmx.net.
10 mx0.gmx.de.

Both hostnames have the same priority and point to the same multihomed 
IP: 213.165.64.100
While mail.gmx.net is a different server:
mail.gmx.net.           7200    IN      A       213.165.64.20
mail.gmx.net.           7200    IN      A       213.165.64.21

Maybe your provider is filtering outgoing smtp connection (port 25) but 
the one directed to their own mailserver (mail.gmx.net).

If you can't have the provider to remove this filter you could configure 
the james RemoteDelivery service to use "mail.gmx.net." as a gateway.
Of course this is not the same thing of connecting to the final host, 
but maybe this fix your problem.

 > Second: My firewall is open for ports 25 and 110. But there is a NAT 
between
 > the WAN-side and my internal PC. I have propperly forwarded the ports to
 > that machine. Doesn't the fact that I can send mail with Outlook, prove,
 > that smtp goes out propperly? (I did reboot the router/firewall).
 > Thanks for your help,
 > Stefan Bühlmann

You can either solve the network/filter/firewall problem (but this is 
not the appropriate list, and you can see if you fixed this by using the 
telnet command) or you can try the gateway option.

Stefano
----

Maybe you have the same issue and this helps.


richi ha scritto:
> Hi you're right I found this in the mailet log:
> 
> 11/02/07 00:31:01 INFO  James.Mailet: RemoteDelivery: maxRetries is larger
> than total number of attempts specified. Increasing last delayTime with 19
> attempts 
> 11/02/07 00:31:01 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
> msecs is now attempted: 20 times
> 11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
> Mail1171150340308-0-to-gmx.ch to host mx0.gmx.de. at 213.165.64.100 for
> addresses [eliane301@gmx.ch]
> 11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Could not connect to
> SMTP host: 213.165.64.100, port: 25, response: -1
> 11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
> Mail1171150340308-0-to-gmx.ch to host mx0.gmx.net. at 213.165.64.100 for
> addresses [eliane301@gmx.ch]
> 11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Could not connect to
> SMTP host: 213.165.64.100, port: 25, response: -1
> 11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Temporary exception
> delivering mail (Mail1171150340308-0-to-gmx.ch: 
> 11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Storing message
> Mail1171150340308-0-to-gmx.ch into outgoing after 0 retries
> 
> Trying with telnet I can connect.... any idea ?
> 
> Thanks richi



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


Re: [2] All but outgoing mails work

Posted by richi <ri...@netbird.ch>.
Hi you're right I found this in the mailet log:

11/02/07 00:31:01 INFO  James.Mailet: RemoteDelivery: maxRetries is larger
than total number of attempts specified. Increasing last delayTime with 19
attempts 
11/02/07 00:31:01 INFO  James.Mailet: RemoteDelivery: Delay of 21600000
msecs is now attempted: 20 times
11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1171150340308-0-to-gmx.ch to host mx0.gmx.de. at 213.165.64.100 for
addresses [eliane301@gmx.ch]
11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Could not connect to
SMTP host: 213.165.64.100, port: 25, response: -1
11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1171150340308-0-to-gmx.ch to host mx0.gmx.net. at 213.165.64.100 for
addresses [eliane301@gmx.ch]
11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Could not connect to
SMTP host: 213.165.64.100, port: 25, response: -1
11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Temporary exception
delivering mail (Mail1171150340308-0-to-gmx.ch: 
11/02/07 00:32:21 INFO  James.Mailet: RemoteDelivery: Storing message
Mail1171150340308-0-to-gmx.ch into outgoing after 0 retries

Trying with telnet I can connect.... any idea ?

Thanks richi



Norman Maurer wrote:
> 
> Hi,
> 
> you get any error on the client ? If not check the mailet log.
> 
> bye
> Norman
> 
> richi schrieb:
>> Hi 
>>
>> I have instaled James on a Windows XP box. Local send and receive works,
>> I
>> also receive external mail but outgoing mail just stays in the outgoing
>> folder forever.
>>
>> I configured SMTP AUTH and did not configure the RemoteAddrNotInNetwork
>> mailet 
>>
>> SMTP config :
>>
>> <smtpserver enabled="true">
>>    <port>25</port>
>>    <handler>
>>       <helloName autodetect="true">myMailServer</helloName>
>>       <connectiontimeout>360000</connectiontimeout>
>>       <authRequired>true</authRequired>
>>       <verifyIdentity>true</verifyIdentity>            
>>    </handler>
>> </smtpserver>
>>
>> Also I configured the DNS like this:
>>
>> <dnsserver>
>>       <servers>
>>            <server>62.2.17.60</server>
>> 	   <server>62.2.17.61</server>
>> 	   <server>62.2.24.158</server>
>>       </servers>
>>       <autodiscover>false</autodiscover>
>>       <authoritative>false</authoritative>
>>       <maxcachesize>50000</maxcachesize>
>> </dnsserver>
>>
>> I can see no error in any log. Any hint on where to look further?
>>
>> Thanky a lot and regards 
>> Richi
>>   
> 
> 
> -- 
> Mit freundlichen Grüßen 
> 
> i.A. Norman Maurer 
> Systemadministrator
> 
> ByteAction GmbH
> Auf der Beune 83-85
> 64839 Münster
> 
> Phone:   +49 (0) 60 71 92 16 - 21
> Fax:       +49 (0) 60 71 92 16 - 20
> E-mail:    nm@byteaction.de
> Internet: www.byteaction.de
> AG Darmstadt, HRB 33271
> Ust-Id: DE206997247
> GF: Thomas Volkert
> ------------------------------------------------------ 
> Diese E-Mail enthält vertrauliche Informationen und ist nur für den in der
> E-Mail genannten Adressaten bestimmt. Für den Fall, dass der Empfänger
> dieser E-Mail nicht der in der E-Mail benannte Adressat ist, weisen wir
> darauf hin, dass das Lesen, Kopieren, die Wiedergabe, Verbreitung,
> Vervielfältigung, Bekanntmachung, Veränderung, Verteilung und/oder
> Veröffentlichung der E-Mail strengstens untersagt ist. Bitte verständigen
> Sie den Absender dieser E-Mail unter folgender Rufnummer +49 (0) 6071 /
> 9216-0, falls Sie irrtümlich diese E-Mail erhalten haben und löschen Sie
> diese E-Mail. Der Inhalt dieser E-Mail ist nur rechtsverbindlich, wenn er
> von unserer Seite schriftlich durch Brief oder Telefax bestätigt wird. Die
> Versendung von E-Mails an uns hat keine fristwahrende Wirkung. 
> 
> This e-mail contains information which is privileged and is intended only
> for the Addressee named in the e-mail. In case that the recipient of this
> e-mail is not the named addressee, we would like to inform you that it is
> strictly prohibited to read, to reproduce, to disseminate, to copy, to
> disclose, to modify, to distribute and/or to publish this e-mail. If you
> have received this e-mail in error, please call the sender under following
> telephone number +49 (0) 6071 / 9216-0 and delete this e-mail. The content
> of this e-mail is not legally binding unless confirmed by letter or
> telefax. E-mails which are sent to us do not constitute compliance with
> any time limits or deadlines.
> ------------------------------------------------------ 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/All-but-outgoing-mails-work-tf3207077.html#a8906269
Sent from the James - Users mailing list archive at Nabble.com.


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