Jonathon Reinhart
a896ab2847
Move compilation of allowed_sender to ConfigLoad()
...
This has several benefits:
- Configuration errors are caught at startup rather than upon a connection
- senderChecker() has less work to do for each connection
2021-03-14 12:31:38 -04:00
Jonathon Reinhart
918df65a3a
Require that networks in allowed_nets are networks and not hosts
2021-03-13 20:40:25 -05:00
Jonathon Reinhart
ef3f9c8ea0
Move parsing of "allowed_nets" out to ConfigLoad()
...
This has several benefits:
- Configuration errors are caught at startup rather than upon a connection
- connectionChecker() has less work to do for each connection
2021-03-13 20:34:48 -05:00
Jonathon Reinhart
20ca816160
Discard mail if remote_host is not set
...
This is useful for test environments.
2021-03-13 09:28:04 -05:00
Jonathon Reinhart
095fba119a
Change default logfile to empty string (meaning stderr)
...
The causes logrus to write to stderr.
2021-03-13 03:25:57 -05:00
Jonathon Reinhart
34cb47c364
Implement structured logs using logrus
...
This was based loosely on an earlier implementation by
Danny Kopping <danny.kopping@grafana.com >
2021-03-13 03:25:57 -05:00
Bernhard Froehlich
5ba64c5c6e
Add new Release Workflow using Github Actions and wangyoucao577/go-release-action
2021-02-17 12:49:24 +00:00
Simon Legner
999cfea307
Fix typo "addresses"
2020-09-03 14:06:20 +02:00
Bernhard Froehlich
f166c13350
Bump Version string
2020-06-14 18:51:16 +00:00
Bernhard Froehlich
53c2c27647
Support LOGIN authentication on outgoing SMTP server
...
PR: #1
Obtained from: https://gist.github.com/andelf/5118732
2020-05-15 21:08:17 +00:00
Bernhard Froehlich
21b597f351
Bump version to 1.3.0
2019-09-07 11:31:28 +00:00
Carlos Alberto Costa Beppler
769193ea4d
Adjust the description of remote_sender parameter.
...
It represents the e-mail address used while sending message to the outgoing SMTP server.
2019-09-06 21:00:35 -03:00
Carlos Alberto Costa Beppler
0b65e904d8
Allows specify the sender used on SMTP conversation with outgoing server.
2019-09-06 17:07:37 -03:00
Bernhard Froehlich
d11f8d81ea
Fix formatting
2019-02-21 08:27:12 +00:00
Bernhard Froehlich
92be537b25
Bump version to 1.2.0
2019-01-07 12:03:27 +00:00
Bernhard Froehlich
3a96014c70
Revert package renaming
2018-12-29 13:08:10 +00:00
Bernhard Froehlich
ade7cbca36
Rename to smtprelay
2018-12-29 12:39:56 +00:00
Bernhard Froehlich
ab341c697d
Code refactoring and rename package
2018-12-29 12:24:32 +00:00