email should be sent via localhost, not the hostname
Bug #412676 reported by
Chris Jones
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eucalyptus |
Fix Released
|
Undecided
|
Unassigned | ||
eucalyptus (Ubuntu) |
Fix Released
|
Medium
|
Dustin Kirkland |
Bug Description
ServletUtils.java seems to determine the host to connect to to send email with:
mailHost = InetAddress.
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"?
Changed in eucalyptus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Chris,
I agree. I'm committing such a fix to the Ubuntu Eucalyptus package.
I'm also adding a task against Eucalyptus upstream, in case they know better. If so, please speak up. If not, please cherry pick r601 from lp:~ubuntu-core-dev/eucalyptus/ubuntu and apply upstream.
:-Dustin