Commit graph

  • 194daa594d
    more refractoring, adding makefile for tests master Johannes Bülow 2025-03-14 12:46:30 +01:00
  • 71409bf7cd
    slight refractoring Johannes Bülow 2025-03-14 12:13:06 +01:00
  • fb16a3fc81
    moved from log.Logger to slog.Logger Johannes Bülow 2025-03-14 12:07:44 +01:00
  • 33c7d9338e
    re-added SSL3.0 to envelope Johannes Bülow 2025-03-13 15:07:09 +01:00
  • e4e75cf975
    cleaned up deprecations and warnings Johannes Bülow 2025-03-13 14:40:39 +01:00
  • 568338a2ad
    Merge c1ca8136ac into 006a4f9d6d vodolaz095 2023-06-16 17:44:39 +00:00
  • c1ca8136ac proxy command - logging and unit tests Anatolij Ostroumov 2023-06-16 13:33:19 +03:00
  • 5c195efcf5 unit test for server.Address() function Anatolij Ostroumov 2023-06-14 12:24:41 +03:00
  • be76330103 envelope.AddHeader function + unit tests for it Anatolij Ostroumov 2023-06-14 10:53:37 +03:00
  • 68437c8c69 add mutex to guard session's peer's metadata changing Anatolij Ostroumov 2023-06-14 10:37:39 +03:00
  • 92a3299f16 feat: peer has metadata added + tests Anatolij Ostroumov 2023-06-14 00:48:49 +03:00
  • 7df5779a24 lint, gitignore, GNU Makefile to make things simpler Anatolij Ostroumov 2023-06-13 23:55:03 +03:00
  • f4be35c3ea
    Merge 15c75ccffd into 006a4f9d6d Christian Joergensen 2022-10-13 16:07:57 +09:00
  • 006a4f9d6d
    Cleanup actions. (#15) Christian Joergensen 2022-09-30 12:51:37 -04:00
  • 6a0dc32d1b Cleanup actions. Christian Joergensen 2022-09-30 12:50:05 -04:00
  • 737dbc490e
    Run tests daily. (#14) Christian Joergensen 2022-09-27 20:24:12 -04:00
  • a72721fa6a Run tests daily. Christian Joergensen 2022-09-27 20:23:01 -04:00
  • 166abaf187
    chore: add leading underscore to examples directory (#13) v0.3.1 Alex SZAKALY 2021-11-22 00:56:59 +01:00
  • c18a26c5d3
    chore: add leading underscore to examples directory Alex Szakaly 2021-11-07 08:41:36 +01:00
  • 24056bf10d Replace reference to "github.com/eaigner/dkim" which no longer exists Eric Billingsley 2021-09-29 11:44:40 -07:00
  • b5f17a69f6
    Implement graceful shutdown (#11) v0.3.0 Jonathon Reinhart 2021-03-29 04:24:55 -04:00
  • d9909fe818 Refactor out Server.Wait() and add 'wait' param to Shutdown() Jonathon Reinhart 2021-03-17 23:58:22 -04:00
  • 9fc41453a7 Add Server.Address() function to return listener address of a Server Jonathon Reinhart 2021-03-17 23:55:29 -04:00
  • aee434025e Implement graceful shutdown Jonathon Reinhart 2021-03-14 22:38:58 -04:00
  • 15c75ccffd Testing chrj/ci-lint Christian Joergensen 2020-07-12 23:57:09 +02:00
  • 6fde3ceec6 Testing Christian Joergensen 2020-07-12 23:49:58 +02:00
  • 46e33c52ab Adding linter. Christian Joergensen 2020-07-12 23:44:33 +02:00
  • 32be721d71
    Verify that user is properly authenticated before sending mail if AUTH is required (#6) v0.2.0 Bernhard Fröhlich 2020-06-07 18:48:25 +02:00
  • d4395c8d1b
    Fix TestErrors() to not misuse auth bypass Bernhard Froehlich 2020-05-26 19:54:20 +00:00
  • 44fcf08c5e
    Add testcase to verify that user is properly authenticated before sending mail if authenticator is setup Bernhard Froehlich 2020-05-26 19:11:01 +00:00
  • 7c73bd1d49
    Add go.yml (#8) Christian Joergensen 2020-05-23 10:26:20 +02:00
  • f76b2f976d
    Add go.yml Christian Joergensen 2020-05-23 10:19:29 +02:00
  • 74ef92e4ba
    Merge pull request #5 from decke/received-header-fixes Christian Joergensen 2020-05-21 18:49:32 +02:00
  • c6661acb7e
    Merge pull request #7 from chrj/ssl-testing Christian Joergensen 2020-05-21 18:44:49 +02:00
  • 724b678a1a New test certificate. Better logging in tests. Christian Joergensen 2020-05-21 18:36:41 +02:00
  • d345a27f9f
    Verify that user is properly authenticated before sending mail if AUTH is required Bernhard Froehlich 2020-05-11 13:12:24 +00:00
  • d975e4449b
    Use new tls.CipherSuiteName() from Go 1.14 instead of own outdated map and add tls.VersionTLS13 to version list Bernhard Froehlich 2020-05-11 12:36:56 +00:00
  • 9c93a62f1a Merge branch 'decke-fixes-for-upstream' v0.1.2 Christian Joergensen 2018-12-16 22:10:16 +01:00
  • 6323615a6b
    Fix testsuite for Received line test Bernhard Froehlich 2018-12-14 13:42:05 +00:00
  • 21709bf51f
    Add list of cipher suites to show them in proper text and gracefully handle if cipher suite or TLS version are not defined in our map. Bernhard Froehlich 2018-12-14 13:31:43 +00:00
  • 52710f748c
    Improve compatibility of Received line Bernhard Froehlich 2018-12-14 13:04:02 +00:00
  • 0002b7c334
    Format timestamp according to RFC 5322 as described in RFC 5321 (chapter 4.4): Bernhard Froehlich 2018-12-14 11:20:58 +00:00
  • e7d1686eae
    Fix client IP in Received line for IPv6 IP addresses Bernhard Froehlich 2018-12-14 11:08:42 +00:00
  • 9fccea2351
    Ensure that the TLS handshake has been done before using tls.ConnectionState() otherwise handshake is performed on first read/write and peer.TLS is invalid. Bernhard Froehlich 2018-12-14 11:04:35 +00:00
  • 0857b2e4ed Updated readme to reflect versioning scheme. v0.1.1 Christian Joergensen 2018-09-26 21:24:54 +02:00
  • f70a0c8d52 Removing personal e-mail from comments and tests. Christian Joergensen 2018-09-26 21:22:28 +02:00
  • 8ff45117c6 Adding support for go modules. v0.1.0 Christian Joergensen 2018-09-26 21:16:44 +02:00
  • 99fb19190d
    Merge pull request #3 from matjam/master Christian Joergensen 2018-09-26 21:14:46 +02:00
  • 6441050e00 Added extra and cleaned old test cases for pull request #3. Christian Joergensen 2018-09-26 21:10:58 +02:00
  • eb300d92cc Allow the '<>' null sender. Nathan Ollerenshaw 2018-06-29 14:41:59 -07:00
  • c009354c02 Removed check for single '@' in address. Nathan Ollerenshaw 2018-06-29 14:32:02 -07:00
  • 752519b0c8 Modified address parsing to use the net/mail ParseAddress function. Nathan Ollerenshaw 2018-06-29 14:13:01 -07:00
  • 722e9f7848 Also set Peer.TLS connection state on raw TLS connections. Christian Joergensen 2017-10-10 10:10:59 +02:00
  • 52e449011b Support TLS listeners (fixes issue #2). Christian Joergensen 2017-10-09 20:05:15 +02:00
  • b2cb7a02c3 Removed old hgignore file. Christian Joergensen 2017-08-24 11:45:08 +02:00
  • 3ad0b67af6 Add Go Report Card, fix a couple of golint warnings. Christian Joergensen 2017-08-24 11:41:02 +02:00
  • 470c2fc1cb Updated readme. Christian Joergensen 2017-08-22 23:58:03 +02:00
  • 7c67aa254c Merge pull request #1 from cgt/importpaths Christian Joergensen 2017-08-20 21:32:57 +02:00
  • 2987b286a4 Update import paths for move to GitHub Christoffer G. Thomsen 2017-08-20 18:05:24 +02:00
  • 68adb5dd88 Change readme to github links. Christian Joergensen 2017-08-17 20:23:29 +02:00
  • 03861efdd8 Improve the command parser to try to parse malformed commands. Christian Joergensen 2017-05-23 21:42:13 +02:00
  • b564e87572 Improve the command parser to try to parse malformed commands. Christian Joergensen 2017-05-23 21:42:13 +02:00
  • 83640db51d Merge. Christian Joergensen 2017-05-22 19:54:10 +02:00
  • 3cbf67409f Merge. Christian Joergensen 2017-05-22 19:54:10 +02:00
  • afa9ece3d0 Proxy protocol support, go vet. Christian Joergensen 2017-05-22 19:45:42 +02:00
  • 843d673448 Proxy protocol support, go vet. Christian Joergensen 2017-05-22 19:45:42 +02:00
  • 8ac2db7670 Add ProtocolLogger to Server Marcel Voigt 2016-05-01 15:37:06 +02:00
  • f4b9300d6a Add ProtocolLogger to Server Marcel Voigt 2016-05-01 15:37:06 +02:00
  • 4ee795bd09 fix error messages Craig 2016-02-12 01:35:10 +00:00
  • 12d460e481 fix error messages Craig 2016-02-12 01:35:10 +00:00
  • 7363d03b27 Fix several panics on invalid input Craig 2016-02-12 01:26:50 +00:00
  • 66f94a07ae Fix several panics on invalid input Craig 2016-02-12 01:26:50 +00:00
  • 24e6eeee9d Add synopsis for dkim-proxy. Christian Joergensen 2014-07-27 14:35:08 +02:00
  • c33eb5f9c8 Add synopsis for dkim-proxy. Christian Joergensen 2014-07-27 14:35:08 +02:00
  • bca0c8ba29 Example DKIM proxy using the smtpd package. Christian Joergensen 2014-07-27 13:47:32 +02:00
  • 439fccb42e Example DKIM proxy using the smtpd package. Christian Joergensen 2014-07-27 13:47:32 +02:00
  • 6ea6ce2c75 go fmt Christian Joergensen 2014-07-27 13:47:14 +02:00
  • 658216f605 go fmt Christian Joergensen 2014-07-27 13:47:14 +02:00
  • 16f0241d5e Refactored ssl test setup. Christian Joergensen 2014-07-27 09:37:42 +02:00
  • af68fd9bbc Refactored ssl test setup. Christian Joergensen 2014-07-27 09:37:42 +02:00
  • c0d4dc204d Tests refactoring, readme updated. Christian Joergensen 2014-07-26 18:29:14 +02:00
  • d6f9de9519 Tests refactoring, readme updated. Christian Joergensen 2014-07-26 18:29:14 +02:00
  • 437121004c Fix panic on blank line. Christian Joergensen 2014-07-22 08:49:12 +02:00
  • 94f9926189 Fix panic on blank line. Christian Joergensen 2014-07-22 08:49:12 +02:00
  • 753dd09501 More test cases. Christian Joergensen 2014-07-21 13:27:05 +02:00
  • 01f125545f More test cases. Christian Joergensen 2014-07-21 13:27:05 +02:00
  • 1d5d658be6 Added new Server field Hostname for the FQDN over the server (and updated various uses of the hostname). Moved Server.Addr to a parameter for ListenAndServe, as it was only used there. Christian Joergensen 2014-07-21 12:43:42 +02:00
  • 9020489912 Added new Server field Hostname for the FQDN over the server (and updated various uses of the hostname). Moved Server.Addr to a parameter for ListenAndServe, as it was only used there. Christian Joergensen 2014-07-21 12:43:42 +02:00
  • d28767953f Added TLS param to Peer. Added option to prepend Received header to envelope data. Christian Joergensen 2014-07-21 00:06:56 +02:00
  • 4ba7fea939 Added TLS param to Peer. Added option to prepend Received header to envelope data. Christian Joergensen 2014-07-21 00:06:56 +02:00
  • c6fe39d4dc Update synopsis. Christian Joergensen 2014-07-20 21:53:47 +02:00
  • 73d3eb24c5 Update synopsis. Christian Joergensen 2014-07-20 21:53:47 +02:00
  • 9695f7c734 XCLIENT support. Christian Joergensen 2014-07-20 21:51:39 +02:00
  • e30fdeff7a XCLIENT support. Christian Joergensen 2014-07-20 21:51:39 +02:00
  • 0fa1acf706 Handle too long lines. Make envelope reset into a session method. Christian Joergensen 2014-07-19 20:55:40 +02:00
  • 38a9c27d35 Handle too long lines. Make envelope reset into a session method. Christian Joergensen 2014-07-19 20:55:40 +02:00
  • 97b38af3b4 Send the HELO hostname to the HeloChecker. Christian Joergensen 2014-07-18 08:46:39 +02:00
  • 50ed5fd57a Send the HELO hostname to the HeloChecker. Christian Joergensen 2014-07-18 08:46:39 +02:00
  • 46b3a7668e Reset envelope on duplicate HELO/EHLO and after DATA. Christian Joergensen 2014-07-17 16:49:58 +02:00
  • 95ed425097 Reset envelope on duplicate HELO/EHLO and after DATA. Christian Joergensen 2014-07-17 16:49:58 +02:00