Closed Bug 1535759 Opened 7 years ago Closed 7 years ago

Fix the Lando API Worker to allow Auth'd SMTP access

Categories

(Conduit :: Lando, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ckolos, Assigned: smacleod)

References

Details

(Keywords: conduit-triaged)

Attachments

(1 external file)

As it stands today, auth'd mail access is failing.

Please ensure the following variables are defined and perform the proper function:

MAIL_PASSWORD
MAIL_PORT
MAIL_USERNAME
MAIL_USE_SSL
MAIL_USE_TLS

Assignee: nobody → smacleod
Status: NEW → ASSIGNED
Keywords: conduit-triaged
Priority: -- → P1

This adds the other MAIL_* environment variables that Ops was
expecting and a ready check to ensure things are configured properly.

Attachment #9053354 - Attachment description: email: add configuration for stmp ssl, tls, and auth (Bug 1535759). → email: add configuration for smtp ssl, tls, and auth (Bug 1535759).
See Also: → 1512714

MAIL_PORT was already supported, but Lando API now supports the following new environment variables:

  • MAIL_FROM=<email>: Email address to send mail from. Defaults to mozphab-prod@mozilla.com
  • MAIL_USE_SSL=<non-blank-string-for-true>: Whether the connection should use an SSL socket immediately, rather than waiting for starttls after connecting.
  • MAIL_USE_TLS=<non-blank-string-for-true>: Whether the connection should use starttls to enable TLS after connecting.
  • MAIL_USERNAME=<username>: Username for auth after connecting.
  • MAIL_PASSWORD=<password>: Password for auth after connecting.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: