Ticket #102 (closed Bugs: fixed)

Opened 3 years ago

Last modified 3 years ago

SMTP client implementation should use address literal when hostname is unknown

Reported by: octo Owned by: octo
Priority: minor Milestone: 1.0.x
Component: LogicMail Version: 1.0.1
Keywords: Cc:
Blocked By: Blocking:

Description

According to RFC 2821 (SMTP), when a hostname is unavailable during connection, the client should instead send its address literal (IP address) as the parameter to the EHLO command.

LogicMail currently uses System.getProperty("microedition.hostname"); as its primary source of the EHLO parameter, and falls back to "localhost" if that doesn't work. Instead, it should use the local IP address.

Change History

comment:1 Changed 3 years ago by octo

  • Status changed from new to closed
  • Resolution set to fixed

Added a configuration option to override the default way the application works, for this user's special case.

Fixed in 1.0.2

Note: See TracTickets for help on using tickets.