Hi,

the address  0:0:0:0:0:0:0:1 is the IPv6 loopback adapter (not the IPv4 
localhost).  This means the same as 127.0.0.1 in IPv4, but it is not the same. 
You may consider not using IPv6 (turn IPv6 off in your host network adapter 
settings). 

If you need to use IPv6, your IPv6 localhost (0:0:0:0:0:0:0:1) should be 
mentioned in "authorized". Also the "real" IPv6 address.
Maybe it should also be mentioned in "relay-denied". Every time you use 
"127.0.0.1", you should also use "0:0:0:0:0:0:0:1".

The IP of your server may be "discovered" if autodetectIP is "true" in the 
<servernames> section.
      <servernames autodetect="true" autodetectIP="true">
         <servername>localhost</servername>
      </servernames>
Check your james*.log for "Handling mail for" to see the "real" numeric IP 
address used.
Btw.: "localhost" should not be your servername. It should be a real name. 
And the localhost IP (127.0.0.1, 0:0:0:0:0:0:0:1) is not useful at all, it 
should be a real numeric ip address.
But you may use it, but I think you should not use it.

If your client is using SMTP Authentication, the "authorizedAddress" may not be 
used.
(depends on your config.xml, but most time the config allows all clients which 
did pass a SMTP Auth).

The "local-address-error" in the config.xml file delivered as "default" means:
550 - Requested action not taken: no such user here

So: the mailbox of your client-email address is not found. This could be 
because of the username or because of the domainname.

The Mailbox is consider from the "to" mail-address. For example:
some...@domain.de:
- someone is the username of your james user.
- domain.de must be your "servername" in the <servernames> section.
This may be case sensitive, I don't know.


Regards
Bernd
 
     
 


-----Ursprüngliche Nachricht-----
Von: Mahesh Sivarama Pillai [mailto:srm...@gmail.com] 
Gesendet: Montag, 6. Oktober 2014 13:04
An: James Users List
Betreff: Re: 2.3.2 LocalDelivery in Windows

SMTP log shows

06/10/14 14:29:40 INFO  smtpserver: Connection from localhost
(0:0:0:0:0:0:0:1%0) in Mac

while the Windows log shows

06/10/14 16:30:39 INFO  smtpserver: Connection from 0:0:0:0:0:0:0:1
(0:0:0:0:0:0:0:1)

Any clue ?


On Mon, Oct 6, 2014 at 4:27 PM, Mahesh Sivarama Pillai <srm...@gmail.com>
wrote:

> Hi,
>
>  I am facing an issue with James 2.3.2 localdelivery in Windows 7. I 
> have localhost mentioned in the servernames element. I have a user 
> created in James. I am trying to send a mail to this user through the Telnet 
> smtp.
> Please note that the from and to addresses of the mail are same (which 
> is the user I created)..
>
> Given below is the spoolmanager log. Though the mail is being sent and 
> received in the localhost (client and server run in the same machine), 
> its going to local-address-error. Can someone help me find the cause 
> of this issue ? Authorized address element also seems to be rite.
>
> <authorizedAddresses>127.0.0.0/8</authorizedAddresses>
>
> I have the same config file working in Mac. I can send and receive 
> email in localhost.
>
> Thanks
> Mahesh
> ----------
>
> 06/10/14 16:03:13 DEBUG spoolmanager: Processed Mail1412591593734-1 
> through root
> 06/10/14 16:03:13 DEBUG spoolmanager: Result was transport
> 06/10/14 16:03:13 DEBUG spoolmanager: ==== Begin processing mail 
> Mail1412591593734-1====
> 06/10/14 16:03:13 DEBUG spoolmanager: Processing Mail1412591593734-1 
> through transport
> 06/10/14 16:03:13 DEBUG spoolmanager.transport: Servicing mail:
> Mail1412591593734-1
> 06/10/14 16:03:13 DEBUG spoolmanager.transport: Checking
> Mail1412591593734-1 with
> org.apache.james.transport.matchers.SMTPAuthSuccessful@5a925c95
> 06/10/14 16:03:13 DEBUG spoolmanager.transport: Checking
> Mail1412591593734-1 with
> org.apache.james.transport.matchers.HasMailAttribute@3efc68a7
> 06/10/14 16:03:13 DEBUG spoolmanager.transport: Checking
> Mail1412591593734-1 with
> org.apache.james.transport.matchers.RecipientIsLocal@2d3acc3f
> 06/10/14 16:03:13 DEBUG spoolmanager.transport: Checking
> Mail1412591593734-1 with
> org.apache.james.transport.matchers.HostIsLocal@6f37534b
> 06/10/14 16:03:13 DEBUG spoolmanager.transport: Servicing
> Mail1412591593734-1 by ToProcessor Mailet
> 06/10/14 16:03:13 DEBUG spoolmanager: Processed Mail1412591593734-1 
> through transport
> 06/10/14 16:03:13 DEBUG spoolmanager: Result was local-address-error
> 06/10/14 16:03:13 DEBUG spoolmanager: ==== Begin processing mail 
> Mail1412591593734-1====
> 06/10/14 16:03:13 DEBUG spoolmanager: Processing Mail1412591593734-1 
> through local-address-error
> 06/10/14 16:03:13 DEBUG spoolmanager.local-address-error: Servicing mail:
> Mail1412591593734-1
> 06/10/14 16:03:13 DEBUG spoolmanager.local-address-error: Checking
> Mail1412591593734-1 with 
> org.apache.james.transport.matchers.All@6d81c06f
> 06/10/14 16:03:13 DEBUG spoolmanager.local-address-error: Servicing
> Mail1412591593734-1 by ToRepository Mailet
> 06/10/14 16:03:13 DEBUG spoolmanager: Processed Mail1412591593734-1 
> through local-address-error
> 06/10/14 16:03:13 DEBUG spoolmanager: Result was ghost
>

Reply via email to