[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#857248: nullmailer: bug found!



On Wed, Sep 6, 2017 at 5:44 PM, David Bremner <david@tethera.net> wrote:
Felix Lechner <felix.lechner@lease-up.com> writes:

>   }
>   // else if(hostname.find_first('.') < 0) [NOT ADOPTED]
>     // return false; [NOT ADOPTED]
>   return true;
> }

That change was originally to fix

     https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504184

Do you know if the configurations discussed there will still work?

d

Hi David,

Nice detective work! Attached please find a patch to allow unqualified domain names.

I further attached an updated patch for '/etc/mailname'. A small warning is issued when 'me' is present, but the file is disregarded---as it says in the man pages. The tests use '/etc/mailname', as well.

Please apply the second patch after the first.

Finally, I added some information to an empty section for nullmailer on the Debian Wiki for '/etc/mailname'. Please edit further if needed. Thank you!

Best regards,
Felix

Attachment: allow-unqualified-domains.patch.gz
Description: GNU Zip compressed data

Attachment: etc-mailname.patch.gz
Description: GNU Zip compressed data


Reply to: