Relay denied from eucalyptus registration emails - source address is wrong.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Release Notes for Ubuntu |
Fix Released
|
Undecided
|
Mathias Gug | ||
eucalyptus (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Karmic |
Fix Released
|
Medium
|
Mathias Gug |
Bug Description
Eucalyptus sends registration emails via SMTP to localhost. Unfortunately it doesn't set the source IP address to one of the localhost addresses. Instead it uses the IP address of an ethernet interface.
That falls foul of the default relay control ACL in postfix, when postfix is in Smarthost configuration.
Oct 23 14:47:42 gaffer postfix/
Oct 23 14:47:42 gaffer postfix/
Oct 23 14:47:42 gaffer postfix/
ProblemType: Bug
.etc.eucalyptus
Architecture: amd64
Date: Fri Oct 23 14:48:27 2009
DistroRelease: Ubuntu 9.10
Package: eucalyptus-cloud 1.6~bzr931-0ubuntu7
ProcEnviron:
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: eucalyptus
Uname: Linux 2.6.31-14-server x86_64
==================
Karmic release notes:
Confirmation email for new UEC users not sent
When a new user is created in the UEC admin interface an email is sent to the user to confirm the registration. A bug in the smtp configuration of UEC prevents the Cloud controller from accepting and forwarding the confirmation email to the end user. The workaround is to edit the postfix configuration file (/etc/postfix/
#mynetworks = 127.0.0.0/8 [::ffff:
mynetworks_
==================
Eucalyptus SRU
Impact:
When a new user is created an confirmation email is send. However the default configuration of postfix refuses to accept the smtp connection opened by the eucalyptus-cloud process.
How the bug has been addressed:
The local configuration of postfix is modified by eucalyptus-cloud postinst script via the postconf command to accept messages send from the host (mynetwork_
To reproduce the bug:
1. Create a new user via the web admin interface with a valid email. Check that the email hasn't been accepted in /var/log/mail.log.
2. After the update, /etc/postfix/
3. Create a new user via the web admin interface with a valid email. The confirmation email should be accepted (in /var/log/mail.log) and be successfully delivered.
Regression potential:
If the CC has been configured to accept mail from the network for another reason, the configuration will be broken after the upgrade.
Related branches
- Dustin Kirkland : Needs Fixing
-
Diff: 36 lines2 files modifieddebian/changelog (+2/-0)
debian/eucalyptus-cloud.postinst (+13/-0)
Changed in eucalyptus (Ubuntu Karmic): | |
status: | Triaged → Won't Fix |
milestone: | ubuntu-9.10 → none |
Changed in eucalyptus (Ubuntu): | |
milestone: | ubuntu-9.10 → none |
Changed in ubuntu-release-notes: | |
assignee: | nobody → Mathias Gug (mathiaz) |
status: | New → In Progress |
description: | updated |
Changed in ubuntu-release-notes: | |
status: | In Progress → Fix Committed |
Changed in eucalyptus (Ubuntu Karmic): | |
status: | Won't Fix → Triaged |
milestone: | none → karmic-updates |
Changed in eucalyptus (Ubuntu): | |
milestone: | karmic-updates → none |
Changed in eucalyptus (Ubuntu Karmic): | |
assignee: | nobody → Mathias Gug (mathiaz) |
Changed in eucalyptus (Ubuntu Karmic): | |
status: | Triaged → In Progress |
description: | updated |
Changed in eucalyptus (Ubuntu Karmic): | |
status: | In Progress → Fix Committed |
Changed in eucalyptus (Ubuntu Karmic): | |
status: | Fix Committed → In Progress |
tags: | added: uec |
tags: |
added: verification-done removed: verification-needed |
Workaround is to hash out mynetworks and add in mynetworks_style instead.
#mynetworks = 127.0.0.0/8 [::ffff: 127.0.0. 0]/104 [::1]/128 style=host
mynetworks_