mirror of
https://github.com/decke/smtprelay.git
synced 2026-04-25 12:55:54 +03:00
[GH-ISSUE #101] Passwords with / #25
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/smtprelay#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pgilgunn on GitHub (Jan 24, 2023).
Original GitHub issue: https://github.com/decke/smtprelay/issues/101
Hi
I am looking to use this for AWS SES integration, as it looks like a good fit. Unfortunately, all the SES-generated passwords contain "/" in the password, and this is not handled well. Do you have any suggestions for this?
Config
remotes = starttls://username:pass/word@email-smtp.2.amazonaws.com:587
Error message
level=fatal msg="error parsing url: 'starttls://username:pass/word@email-smtp.2.amazonaws.com:587': parse "starttls://username:pass/word@email-smtp.2.amazonaws.com:587": invalid port ":pass" after host" remotes="starttls://username:pass/word@email-smtp.2.amazonaws.com:587"
Thanks
@decke commented on GitHub (Jan 24, 2023):
Please try to urlencode the password properly.
@decke commented on GitHub (Jan 24, 2023):
pass/wordshould bepass%2Fword@pgilgunn commented on GitHub (Jan 24, 2023):
Thanks dercke that worked perfectly.