[Bug 412676] [NEW] email should be sent via localhost, not the hostname

Chris Jones chris.jones at canonical.com
Wed Aug 12 19:14:42 UTC 2009


Public bug reported:

ServletUtils.java seems to determine the host to connect to to send
email with:

mailHost = InetAddress.getLocalHost().getHostName();

which (AFAIKS) returns the equivalent of /etc/hostname, which may not
necessarily resolve to a 127.0.0.0/8 address. In doing so Eucalyptus may
end up talking to the LAN/public IP of the machine for SMTP, which will
result in relaying being denied in a default Ubuntu postfix install.

Is there any reaosn for not using "localhost"?

** Affects: eucalyptus (Ubuntu)
     Importance: Undecided
         Status: New

-- 
email should be sent via localhost, not the hostname
https://bugs.launchpad.net/bugs/412676
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list