Deutsch English Français Italiano |
<v27avj$2520r$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Stacey Marshall <stacey.marshall@gmail.com> Newsgroups: comp.mail.sendmail Subject: Re: SMTP smuggling with NUL char - m4 option to reject them Date: Fri, 17 May 2024 11:19:29 +0100 Organization: A noiseless patient Spider Lines: 27 Message-ID: <v27avj$2520r$1@dont-email.me> References: <v15bh1$16thj$1@dont-email.me> <v15ngu$hj9$1@news.misty.com> Reply-To: Stacey Marshall <INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_stacey.marshall+ml@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 17 May 2024 12:19:31 +0200 (CEST) Injection-Info: dont-email.me; posting-host="3c86352cc9ba05b9e49c14e217eed6a2"; logging-data="2263067"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/8EnN8EgiAoISkRisMekBSfAeCSVi6L3s=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:7ay4ZTw13ctw7/oedDwcCfMyjQE= Content-Language: en-US In-Reply-To: <v15ngu$hj9$1@news.misty.com> Bytes: 1978 On 04/05/2024 17:25, Claus Aßmann wrote: > What's the problem? > > LOCAL_CONFIG > O RejectNUL=true > > Being relatively new to sendmail configuration myself that had escaped me too. cf/README does mention it, but it looks so different to most of the other settings in sendmail.mc. Embarrassingly I see now that there was already a similar example in sendmal.mc only for LOCAL_NET_CONFIG. livin' and learnin': # diff -u sendmail.mc test.mc --- sendmail.mc 2023-10-17 03:29:33.826913320 -0700 +++ test.mc 2024-05-17 03:12:22.832629965 -0700 @@ -26,5 +26,8 @@ MAILER(`local')dnl MAILER(`smtp')dnl +LOCAL_CONFIG +O RejectNUL=true + LOCAL_NET_CONFIG R$* < @ $* .$m. > $* $#esmtp $@ $2.$m $: $1 < @ $2.$m. > $3