On August 24, 2025 11:43:11 AM GMT+03:00, Benny Pedersen via dovecot <dovecot@dovecot.org> wrote:
Steve Litt via dovecot skrev den 2025-08-24 03:17:
Aki Tuomi via dovecot said on Sat, 23 Aug 2025 20:51:00 +0300 (EEST)
https://github.com/dovecot/tools/blob/main/dovecot-2.4.0-example-config.tar....
After downloading with wget, this happened:
[slitt@mydesk junk]$ unzip ../dovecot-2.4.0-example-config.tar.gz Archive: ../dovecot-2.4.0-example-config.tar.gz End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of ../dovecot-2.4.0-example-config.tar.gz or ../dovecot-2.4.0-example-config.tar.gz.zip, and cannot find ../dovecot-2.4.0-example-config.tar.gz.ZIP, period. [slitt@mydesk junk]$
its not a zip file :)
$ tar -xvzf <archive>
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
well it's not tgz either, it's a html, if you got that down. real file is at https://github.com/dovecot/tools/raw/refs/heads/main/dovecot-2.4.0-example-c... as told
one can use "file" utility to verify type. or "strings" or "less" (escapes with "q") to look into offending file, on what it is
tar also has "-t" option instead of "-x", that's to list contents before extracting. tar can also overwrite items in current directory, so it's best if you do it in new directory and / or check what file actually contains
unzip has same options
they all also give you options to extract into specified directory too