From f4d727091591bd0689a06c35913abe12b461839c Mon Sep 17 00:00:00 2001 From: mdecimus Date: Tue, 28 May 2024 15:26:33 +0200 Subject: [PATCH] Less boring EHLO response --- .github/FUNDING.yml | 13 ------------- Cargo.toml | 2 +- src/response/generate.rs | 2 +- 3 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index e2b24cc..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,13 +0,0 @@ -# These are supported funding model platforms - -github: stalwartlabs -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/Cargo.toml b/Cargo.toml index fb7e3f1..1c57ee3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0 OR MIT" keywords = ["smtp", "lmtp", "protocol", "parser"] categories = ["email", "parser-implementations"] readme = "README.md" -version = "0.1.4" +version = "0.1.5" edition = "2021" [dependencies] diff --git a/src/response/generate.rs b/src/response/generate.rs index d707fe8..ca444b9 100644 --- a/src/response/generate.rs +++ b/src/response/generate.rs @@ -31,7 +31,7 @@ impl EhloResponse { } pub fn write(&self, mut writer: impl Write) -> io::Result<()> { - write!(writer, "250-{} says hello\r\n", self.hostname)?; + write!(writer, "250-{} you had me at EHLO\r\n", self.hostname)?; let mut capabilities = self.capabilities; while capabilities != 0 {