mirror of
https://github.com/decke/smtprelay.git
synced 2026-04-25 21:05:49 +03:00
[GH-ISSUE #148] doc: Where's the documentation? (Simple Example included) #34
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#34
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 @coolaj86 on GitHub (Jan 26, 2024).
Original GitHub issue: https://github.com/decke/smtprelay/issues/148
Since this doesn't have docs on godoc, or usage in the README, I'm just adding some here while I figure out how to use this.
Test with curl
This looks more complicated than it is because both styles of header need to be specified (in the message file and the mime headers). It may work with just the one in some curl versions. It also requires listening on port 465.
Help
Any unrecognized flag, such as
--help, will show the help.Config File / ENVs
This is the example config file:
https://github.com/decke/smtprelay/blob/master/smtprelay.ini
It can be converted to a the more webdev-friendly ENV format simply by using
SMTPRELAY_*with the config options in upper case.Build
Bcrypt Passwords
There's a bcrypt hasher in
./cmd/hasher.goSimple Example
Moved to https://github.com/decke/smtprelay/issues/149
@decke commented on GitHub (Feb 3, 2025):
Please see #149