Bernhard Froehlich
|
cc064e497e
command: Add some environment variables when calling external cmd
|
2 years ago |
Bernhard Froehlich
|
e3ba45ede2
Fix output for "-version" to not contain unneccessary noise
|
3 years ago |
Javi
|
b134e426d7
Propagate the error to the client if the external command fails (#40)
|
3 years ago |
Mark Gardner
|
4221919689
Allow config to have multiple remotes.
|
3 years ago |
Rubin Raithel
|
016ef762fb
add: basic smtpd configuration options
|
3 years ago |
Ben Ubois
|
3f627d3281
Move AddReceivedLine before further processing.
|
4 years ago |
Ben Ubois
|
d8860fc917
Added external command support.
|
4 years ago |
Bernhard Froehlich
|
441a53cfd9
Fix code formatting with gofmt -s
|
4 years ago |
Jonathon Reinhart
|
45a676e274
Add localAuthRequired() helper function
|
4 years ago |
Jonathon Reinhart
|
ca1ccd85e3
Refactor parsing of -listen string out into separate config function
|
4 years ago |
Jonathon Reinhart
|
1b7b551f65
Handle signals and gracefully shut down server
|
4 years ago |
Jonathon Reinhart
|
22ef0c2ee6
Move SMTP auth setup to ConfigLoad()
|
4 years ago |
Jonathon Reinhart
|
7c0ba34025
Move compilation of allowed_recipients to ConfigLoad()
|
4 years ago |
Jonathon Reinhart
|
a896ab2847
Move compilation of allowed_sender to ConfigLoad()
|
4 years ago |
Jonathon Reinhart
|
0503c12ccd
Allow "allowed_nets" to be empty, meaning any network is allowed
|
4 years ago |
Jonathon Reinhart
|
ef3f9c8ea0
Move parsing of "allowed_nets" out to ConfigLoad()
|
4 years ago |
Jonathon Reinhart
|
4036213dd5
Simplify peerIP determination in connectionChecker()
|
4 years ago |
Jonathon Reinhart
|
20ca816160
Discard mail if remote_host is not set
|
4 years ago |
Jonathon Reinhart
|
34cb47c364
Implement structured logs using logrus
|
4 years ago |
Bernhard Froehlich
|
5ba64c5c6e
Add new Release Workflow using Github Actions and wangyoucao577/go-release-action
|
4 years ago |
Bernhard Froehlich
|
fefeccec39
Remove weak CBC cipher suites and bump minimum TLS version to TLS 1.2
|
4 years ago |
Jonathon Reinhart
|
70dfe6b128
Only call AuthLoadFile() once at startup
|
4 years ago |
Jonathon Reinhart
|
7fa0eebf95
Simplify range code for setting up listeners
|
4 years ago |
Jonathon Reinhart
|
ecf830865c
Add helpful log messages for various error cases
|
4 years ago |
Jonathon Reinhart
|
4fd6bb1004
Refactor common code in listener setup
|
4 years ago |
Jonathon Reinhart
|
fd3f513b18
Don't run ListenAndServe in a goroutine
|
4 years ago |
Jonathon Reinhart
|
b202a2209e
Refactor out getTLSConfig()
|
4 years ago |
Jonathon Reinhart
|
0e8986ca79
Expand allowedUsers email field to support comma-separated and domains (#9)
|
4 years ago |
Jonathon Reinhart
|
f33105f83c
Allow email field to be empty in allowedUsers file
|
4 years ago |
Bernhard Froehlich
|
6f3bd16988
The check if authentication was properly done is redundant now as of smtpd v0.2.0
|
5 years ago |