• Citadel? Courier? Cyrus? Dovecot? - I just want to backup my emails

    From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Thu Jan 1 20:19:43 2026
    From Newsgroup: comp.sys.raspberry-pi

    Hi everyone

    and happy new year!

    I am in contract with a webhoster, having webserver, email and a few other things.

    But, there is no way to backup my emails stored on their imap server.
    Meaning, when anything happens to that infrastructure (or they go broke)
    then all my emails are gone.

    So, I'd like to mirror them via imapsync to a local instance of some imap server, and then pack them together as a tgz archive.

    Now I see, that there are several solutions out, see subject, and I don't
    know which one fits best and what component is needed.

    Does anyone have some experience here? Do I need an mta (exim for
    instance) to just sync emails from external imap server to local?

    Thanks for any hint!

    Best regards,

    Markus
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.sys.raspberry-pi on Thu Jan 1 20:32:12 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Thu, 1 Jan 2026 20:19:43 -0000 (UTC), Markus Robert Kessler wrote:

    I am in contract with a webhoster, having webserver, email and a few
    other things.

    But, there is no way to backup my emails stored on their imap
    server.

    I use POP3 for fetching mail from the public-facing server onto my own
    machine. So the only mail store that needs backing up is already under
    my control.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Richard Kettlewell@invalid@invalid.invalid to comp.sys.raspberry-pi on Thu Jan 1 21:42:19 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> writes:
    I am in contract with a webhoster, having webserver, email and a few other things.

    But, there is no way to backup my emails stored on their imap server. Meaning, when anything happens to that infrastructure (or they go broke) then all my emails are gone.

    So, I'd like to mirror them via imapsync to a local instance of some
    imap server, and then pack them together as a tgz archive.

    Now I see, that there are several solutions out, see subject, and I
    don't know which one fits best and what component is needed.

    Dovecot is fairly easy to set up. I’ve not tried the other IMAP servers.

    Does anyone have some experience here? Do I need an mta (exim for
    instance) to just sync emails from external imap server to local?

    I’ve never used imapsync but there’s no reason copying messages from one IMAP server to another should require an MTA.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Fri Jan 2 07:43:14 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    Hi everyone

    and happy new year!

    I am in contract with a webhoster, having webserver, email and a few other things.

    But, there is no way to backup my emails stored on their imap server. Meaning, when anything happens to that infrastructure (or they go broke) then all my emails are gone.

    So, I'd like to mirror them via imapsync to a local instance of some imap server, and then pack them together as a tgz archive.

    Now I see, that there are several solutions out, see subject, and I don't know which one fits best and what component is needed.

    Personally I'd ignore all those "solutions" as overkill and use
    movemail from GNU Mailutils:

    movemail -v imaps://no_reply@dipl-ing-kessler.de mh:///home/[user]/Mail

    If you have special characters like '@' in the username, you
    may need to percent-encode them, eg. "%40".

    https://www.mailutils.org/wiki/Fetching_Mail_with_Movemail

    I use MH format for storing the mail, check what format/s your
    email client understands and change "mh://" to suit.

    https://www.mailutils.org/manual/html_node/Local-Mailboxes.html

    I actually use POP to get mail using movemail myself, but it works
    with IMAP too.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Andy Burns@usenet@andyburns.uk to comp.sys.raspberry-pi on Fri Jan 2 08:54:49 2026
    From Newsgroup: comp.sys.raspberry-pi

    Richard Kettlewell wrote:

    Dovecot is fairly easy to set up. I’ve not tried the other IMAP servers.

    I would echo that.

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Marco Moock@mm@dorfdsl.de to comp.sys.raspberry-pi on Fri Jan 2 21:10:32 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 01.01.2026 20:19 Uhr Markus Robert Kessler wrote:

    So, I'd like to mirror them via imapsync to a local instance of some
    imap server, and then pack them together as a tgz archive.

    I use Cyrus and like it.
    It saves the mail as text files. The metadata information (folder
    permissions, read status etc.) is saved in local databases.
    --
    kind regards
    Marco

    Send spam to 1767295183muell@stinkedores.dorfdsl.de

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sat Jan 3 16:37:34 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 2 Jan 2026 07:43:14 +1000 Computer Nerd Kev wrote:

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    Hi everyone

    and happy new year!

    I am in contract with a webhoster, having webserver, email and a few
    other things.

    But, there is no way to backup my emails stored on their imap server.
    Meaning, when anything happens to that infrastructure (or they go
    broke) then all my emails are gone.

    So, I'd like to mirror them via imapsync to a local instance of some
    imap server, and then pack them together as a tgz archive.

    Now I see, that there are several solutions out, see subject, and I
    don't know which one fits best and what component is needed.

    Personally I'd ignore all those "solutions" as overkill and use movemail
    from GNU Mailutils:

    movemail -v imaps://no_reply@dipl-ing-kessler.de mh:///home/[user]/Mail

    If you have special characters like '@' in the username, you may need to percent-encode them, eg. "%40".

    https://www.mailutils.org/wiki/Fetching_Mail_with_Movemail

    I use MH format for storing the mail, check what format/s your email
    client understands and change "mh://" to suit.

    https://www.mailutils.org/manual/html_node/Local-Mailboxes.html

    I actually use POP to get mail using movemail myself, but it works with
    IMAP too.


    Hi Kev,

    movemail seems to work, thanks!

    Well, in the document mh was misspelled as
    'mh://Mail' instead of
    'mh:///Mail', so it took a while until I got it to work.

    Anyway, is there an option to automatically transmit content of more than
    1 folder, i.e. inbox, draft and sent... at once?

    Best regards,
    Markus
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lars Poulsen@lars@beagle-ears.com to comp.sys.raspberry-pi on Sat Jan 3 18:10:11 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 2 Jan 2026 07:43:14 +1000 Computer Nerd Kev wrote:
    movemail -v imaps://no_reply@dipl-ing-kessler.de mh:///home/[user]/Mail

    If you have special characters like '@' in the username, you may need to
    percent-encode them, eg. "%40".

    https://www.mailutils.org/wiki/Fetching_Mail_with_Movemail

    On 2026-01-03, Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    I use MH format for storing the mail, check what format/s your email
    client understands and change "mh://" to suit.

    https://www.mailutils.org/manual/html_node/Local-Mailboxes.html

    I actually use POP to get mail using movemail myself, but it works with
    IMAP too.

    Anyway, is there an option to automatically transmit content of more than
    1 folder, i.e. inbox, draft and sent... at once?

    What is this "mh:" in a URL? Never saw that before. Is that part of
    the generic URL specification? Or is this a quirk of the "movemail"
    program?

    I guess I need to get out "man movemail" or see what's in
    /usr/share/docs ...
    --
    Lars Poulsen - an old geek in Santa Barbara, California
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sat Jan 3 18:17:19 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Sat, 3 Jan 2026 18:10:11 -0000 (UTC) Lars Poulsen wrote:

    On 2 Jan 2026 07:43:14 +1000 Computer Nerd Kev wrote:
    movemail -v imaps://no_reply@dipl-ing-kessler.de
    mh:///home/[user]/Mail

    If you have special characters like '@' in the username, you may need
    to percent-encode them, eg. "%40".

    https://www.mailutils.org/wiki/Fetching_Mail_with_Movemail

    On 2026-01-03, Markus Robert Kessler <no_reply@dipl-ing-kessler.de>
    wrote:
    I use MH format for storing the mail, check what format/s your email
    client understands and change "mh://" to suit.

    https://www.mailutils.org/manual/html_node/Local-Mailboxes.html

    I actually use POP to get mail using movemail myself, but it works
    with IMAP too.

    Anyway, is there an option to automatically transmit content of more
    than 1 folder, i.e. inbox, draft and sent... at once?

    What is this "mh:" in a URL? Never saw that before. Is that part of the generic URL specification? Or is this a quirk of the "movemail" program?

    I guess I need to get out "man movemail" or see what's in
    /usr/share/docs ...

    "mh
    A local mailbox in the MH format. User and pass are not used. Host-or- file-name denotes the name of MH folder, e.g., mh://Mail/inbox."

    see http://gnu.ist.utl.pt/software/emacs/manual/html_node/Movemail.html
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sat Jan 3 18:22:24 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Fri, 2 Jan 2026 21:10:32 +0100 Marco Moock wrote:

    On 01.01.2026 20:19 Uhr Markus Robert Kessler wrote:

    So, I'd like to mirror them via imapsync to a local instance of some
    imap server, and then pack them together as a tgz archive.

    I use Cyrus and like it.
    It saves the mail as text files. The metadata information (folder permissions, read status etc.) is saved in local databases.

    Is there a sample configuration out, to not having to start from scratch
    by "trial and error"?

    Thank you!
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lars Poulsen@lars@beagle-ears.com to comp.sys.raspberry-pi on Sat Jan 3 18:40:16 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 2026-01-03, Lars Poulsen <lars@beagle-ears.com> wrote:
    On 2 Jan 2026 07:43:14 +1000 Computer Nerd Kev wrote:
    movemail -v imaps://no_reply@dipl-ing-kessler.de mh:///home/[user]/Mail

    If you have special characters like '@' in the username, you may need to >>> percent-encode them, eg. "%40".

    https://www.mailutils.org/wiki/Fetching_Mail_with_Movemail

    On 2026-01-03, Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    I use MH format for storing the mail, check what format/s your email
    client understands and change "mh://" to suit.

    https://www.mailutils.org/manual/html_node/Local-Mailboxes.html

    I actually use POP to get mail using movemail myself, but it works with
    IMAP too.

    Anyway, is there an option to automatically transmit content of more than >> 1 folder, i.e. inbox, draft and sent... at once?

    What is this "mh:" in a URL? Never saw that before. Is that part of
    the generic URL specification? Or is this a quirk of the "movemail"
    program?

    I guess I need to get out "man movemail" or see what's in
    /usr/share/docs ...

    Apparently, GNU-Mailutils is not in the Fedora distribution.
    There are RPMs for it in SuSE, but I am reluctant to mix "foreign"
    RPMs into my Fedora; I have seen that greate small messes in
    dependencies. And I really don't like to compile from sources.
    --
    Lars Poulsen - an old geek in Santa Barbara, California
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sat Jan 3 20:32:59 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Sat, 3 Jan 2026 18:40:16 -0000 (UTC) Lars Poulsen wrote:

    On 2026-01-03, Lars Poulsen <lars@beagle-ears.com> wrote:
    On 2 Jan 2026 07:43:14 +1000 Computer Nerd Kev wrote:
    movemail -v imaps://no_reply@dipl-ing-kessler.de
    mh:///home/[user]/Mail

    If you have special characters like '@' in the username, you may need
    to percent-encode them, eg. "%40".

    https://www.mailutils.org/wiki/Fetching_Mail_with_Movemail

    On 2026-01-03, Markus Robert Kessler <no_reply@dipl-ing-kessler.de>
    wrote:
    I use MH format for storing the mail, check what format/s your email
    client understands and change "mh://" to suit.

    https://www.mailutils.org/manual/html_node/Local-Mailboxes.html

    I actually use POP to get mail using movemail myself, but it works
    with IMAP too.

    Anyway, is there an option to automatically transmit content of more
    than 1 folder, i.e. inbox, draft and sent... at once?

    What is this "mh:" in a URL? Never saw that before. Is that part of the
    generic URL specification? Or is this a quirk of the "movemail"
    program?

    I guess I need to get out "man movemail" or see what's in
    /usr/share/docs ...

    Apparently, GNU-Mailutils is not in the Fedora distribution. There are
    RPMs for it in SuSE, but I am reluctant to mix "foreign"
    RPMs into my Fedora; I have seen that greate small messes in
    dependencies. And I really don't like to compile from sources.

    Besides this, it looks like movemail can only transmit 'Inbox' but no
    other folders?
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Sun Jan 4 07:56:47 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    movemail seems to work, thanks!

    Well, in the document mh was misspelled as
    'mh://Mail' instead of
    'mh:///Mail', so it took a while until I got it to work.

    Anyway, is there an option to automatically transmit content of more than
    1 folder, i.e. inbox, draft and sent... at once?

    I think you have to run a separate movemail command for each
    folder (and pointing to each destination folder). But you could put
    them in a script and have it add the password or set it in
    ~/.mu-tickets so you don't have to enter it manually multiple
    times.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.sys.raspberry-pi on Sat Jan 3 21:57:23 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Sat, 3 Jan 2026 18:40:16 -0000 (UTC), Lars Poulsen wrote:

    Apparently, GNU-Mailutils is not in the Fedora distribution. There
    are RPMs for it in SuSE, but I am reluctant to mix "foreign" RPMs
    into my Fedora; I have seen that greate small messes in
    dependencies. And I really don't like to compile from sources.

    Maybe you should switch to a more comprehensive distro?

    <https://packages.debian.org/trixie/mailutils>

    And what’s with this reluctance to compile from source, anyway? It’s
    part of the bread and butter of running any Linux distro.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Sun Jan 4 08:05:59 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On Sat, 3 Jan 2026 18:40:16 -0000 (UTC) Lars Poulsen wrote:

    On 2026-01-03, Lars Poulsen <lars@beagle-ears.com> wrote:
    On 2 Jan 2026 07:43:14 +1000 Computer Nerd Kev wrote:
    movemail -v imaps://no_reply@dipl-ing-kessler.de
    mh:///home/[user]/Mail

    If you have special characters like '@' in the username, you may need >>>>> to percent-encode them, eg. "%40".

    https://www.mailutils.org/wiki/Fetching_Mail_with_Movemail

    On 2026-01-03, Markus Robert Kessler <no_reply@dipl-ing-kessler.de>
    wrote:
    I use MH format for storing the mail, check what format/s your email >>>>> client understands and change "mh://" to suit.

    https://www.mailutils.org/manual/html_node/Local-Mailboxes.html

    I actually use POP to get mail using movemail myself, but it works
    with IMAP too.

    Anyway, is there an option to automatically transmit content of more
    than 1 folder, i.e. inbox, draft and sent... at once?

    What is this "mh:" in a URL? Never saw that before. Is that part of the
    generic URL specification? Or is this a quirk of the "movemail"
    program?

    I guess I need to get out "man movemail" or see what's in
    /usr/share/docs ...

    Apparently, GNU-Mailutils is not in the Fedora distribution. There are
    RPMs for it in SuSE, but I am reluctant to mix "foreign"
    RPMs into my Fedora; I have seen that greate small messes in
    dependencies. And I really don't like to compile from sources.

    Besides this, it looks like movemail can only transmit 'Inbox' but no
    other folders?

    No, just add the folder to the URL, such as:

    movemail imaps://foo@example.com/draft mh:///tmp/Mail/draft

    I just tested that and it works for me. I can't see any way to
    download all the folders with one command like you asked before
    though.

    By the way, if you want to keep the messages on the server, you
    probably want to use the "--sync=uidnext" option:

    https://www.mailutils.org/manual/html_node/Sync.html
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.sys.raspberry-pi on Sat Jan 3 22:56:53 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 03/01/2026 21:56, Computer Nerd Kev wrote:
    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    movemail seems to work, thanks!

    Well, in the document mh was misspelled as
    'mh://Mail' instead of
    'mh:///Mail', so it took a while until I got it to work.

    Anyway, is there an option to automatically transmit content of more than
    1 folder, i.e. inbox, draft and sent... at once?

    I think you have to run a separate movemail command for each
    folder (and pointing to each destination folder). But you could put
    them in a script and have it add the password or set it in
    ~/.mu-tickets so you don't have to enter it manually multiple
    times.


    ..and use & to background each folder transfer to spawn many shells to
    move it sorta concurrently...
    --
    “People believe certain stories because everyone important tells them,
    and people tell those stories because everyone important believes them. Indeed, when a conventional wisdom is at its fullest strength, one’s agreement with that conventional wisdom becomes almost a litmus test of one’s suitability to be taken seriously.”

    Paul Krugman

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Sun Jan 4 11:09:42 2026
    From Newsgroup: comp.sys.raspberry-pi

    The Natural Philosopher <tnp@invalid.invalid> wrote:
    On 03/01/2026 21:56, Computer Nerd Kev wrote:
    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    movemail seems to work, thanks!

    Well, in the document mh was misspelled as
    'mh://Mail' instead of
    'mh:///Mail', so it took a while until I got it to work.

    Anyway, is there an option to automatically transmit content of more than >>> 1 folder, i.e. inbox, draft and sent... at once?

    I think you have to run a separate movemail command for each
    folder (and pointing to each destination folder). But you could put
    them in a script and have it add the password or set it in
    ~/.mu-tickets so you don't have to enter it manually multiple
    times.

    ..and use & to background each folder transfer to spawn many shells to
    move it sorta concurrently...

    Maybe, but it might also get you blocked for too many connections
    to the IMAP server.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sun Jan 4 16:18:24 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 4 Jan 2026 08:05:59 +1000 Computer Nerd Kev wrote:

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On Sat, 3 Jan 2026 18:40:16 -0000 (UTC) Lars Poulsen wrote:

    On 2026-01-03, Lars Poulsen <lars@beagle-ears.com> wrote:
    On 2 Jan 2026 07:43:14 +1000 Computer Nerd Kev wrote:
    movemail -v imaps://no_reply@dipl-ing-kessler.de
    mh:///home/[user]/Mail

    If you have special characters like '@' in the username, you may
    need to percent-encode them, eg. "%40".

    https://www.mailutils.org/wiki/Fetching_Mail_with_Movemail

    On 2026-01-03, Markus Robert Kessler <no_reply@dipl-ing-kessler.de>
    wrote:
    I use MH format for storing the mail, check what format/s your
    email client understands and change "mh://" to suit.

    https://www.mailutils.org/manual/html_node/Local-Mailboxes.html

    I actually use POP to get mail using movemail myself, but it works >>>>>> with IMAP too.

    Anyway, is there an option to automatically transmit content of more >>>>> than 1 folder, i.e. inbox, draft and sent... at once?

    What is this "mh:" in a URL? Never saw that before. Is that part of
    the generic URL specification? Or is this a quirk of the "movemail"
    program?

    I guess I need to get out "man movemail" or see what's in
    /usr/share/docs ...

    Apparently, GNU-Mailutils is not in the Fedora distribution. There are
    RPMs for it in SuSE, but I am reluctant to mix "foreign"
    RPMs into my Fedora; I have seen that greate small messes in
    dependencies. And I really don't like to compile from sources.

    Besides this, it looks like movemail can only transmit 'Inbox' but no
    other folders?

    No, just add the folder to the URL, such as:

    movemail imaps://foo@example.com/draft mh:///tmp/Mail/draft

    I just tested that and it works for me. I can't see any way to download
    all the folders with one command like you asked before though.

    By the way, if you want to keep the messages on the server, you probably
    want to use the "--sync=uidnext" option:

    https://www.mailutils.org/manual/html_node/Sync.html

    Yes, this way, download by foldername works, thanks!

    When wanting the emails to remain on the server, flag '-p' (keep messages)
    can be used. What does "--sync=uidnext" differently?

    B.t.w., just trying to download folders with special characters in them,
    like "Entwürfe" (drafts). I did not make it yet to get this encoded (for instance "ü" in html: &uuml;)
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Mon Jan 5 06:37:31 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On 4 Jan 2026 08:05:59 +1000 Computer Nerd Kev wrote:
    movemail imaps://foo@example.com/draft mh:///tmp/Mail/draft

    I just tested that and it works for me. I can't see any way to download
    all the folders with one command like you asked before though.

    By the way, if you want to keep the messages on the server, you probably
    want to use the "--sync=uidnext" option:

    https://www.mailutils.org/manual/html_node/Sync.html

    Yes, this way, download by foldername works, thanks!

    When wanting the emails to remain on the server, flag '-p' (keep messages) can be used. What does "--sync=uidnext" differently?

    As explained at the link, adding "--sync=uidnext" avoids
    re-downloading old messages that have already been retrieved when
    you run it again.

    B.t.w., just trying to download folders with special characters in them, like "Entwurfe" (drafts). I did not make it yet to get this encoded (for instance "u" in html: &uuml;)

    With percent encoding that character turns into "%FC", or "%C3%BC"
    if it uses UTF-8. There's a conversion table here:

    https://www.w3schools.com/tags/ref_urlencode.asp
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Marco Moock@mm@dorfdsl.de to comp.sys.raspberry-pi on Sat Jan 10 07:15:58 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 03.01.2026 18:22 Uhr Markus Robert Kessler wrote:

    On Fri, 2 Jan 2026 21:10:32 +0100 Marco Moock wrote:

    On 01.01.2026 20:19 Uhr Markus Robert Kessler wrote:

    So, I'd like to mirror them via imapsync to a local instance of
    some imap server, and then pack them together as a tgz archive.

    I use Cyrus and like it.
    It saves the mail as text files. The metadata information (folder permissions, read status etc.) is saved in local databases.

    Is there a sample configuration out, to not having to start from
    scratch by "trial and error"?

    The default config of Debian is reasonable. If you want mine, let me
    know.
    --
    kind regards
    Marco

    Send spam to 1767460944muell@stinkedores.dorfdsl.de

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.sys.raspberry-pi on Sat Jan 10 21:09:24 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Fri, 2 Jan 2026 21:10:32 +0100, Marco Moock wrote:

    I use Cyrus and like it.

    From a brief look at Cyrus, it seemed potentially quite complicated.
    Dovecot was just more approachable.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sun Jan 11 16:01:26 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Sat, 3 Jan 2026 21:57:23 -0000 (UTC) Lawrence D’Oliveiro wrote:

    On Sat, 3 Jan 2026 18:40:16 -0000 (UTC), Lars Poulsen wrote:

    Apparently, GNU-Mailutils is not in the Fedora distribution. There are
    RPMs for it in SuSE, but I am reluctant to mix "foreign" RPMs into my
    Fedora; I have seen that greate small messes in dependencies. And I
    really don't like to compile from sources.

    Maybe you should switch to a more comprehensive distro?

    <https://packages.debian.org/trixie/mailutils>

    And what’s with this reluctance to compile from source, anyway? It’s
    part of the bread and butter of running any Linux distro.

    Yes, debian has it and openSuSE has it.
    And I can confirm that compiling from scratch is not as easy as it looked like. I tried to create a package for Mageia, based on the original
    tarball, but there are plenty of dependencies not visible during configure/make/makeinstall. It compiled and built, but the result was not funtional. Creating a new rpm out of that failed as well.

    Trying to "swipe" the source rpm from other distros is also far from
    trivial because most of them are based on tarball 3.15 ... 3.17, which is
    6 years or older. So, the current version 3.21 makes some patches obsolete
    and instead new dependencies are to be expected.

    First I also thought of this text-based set of tools as being an easy job
    to build a package, but it turned out that this is not the case.

    Best reagards,

    Markus
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.sys.raspberry-pi on Sun Jan 11 20:36:01 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Sun, 11 Jan 2026 16:01:26 -0000 (UTC), Markus Robert Kessler wrote:

    On Sat, 3 Jan 2026 21:57:23 -0000 (UTC) Lawrence D’Oliveiro wrote:

    And what’s with this reluctance to compile from source, anyway?
    It’s part of the bread and butter of running any Linux distro.

    Yes, debian has it and openSuSE has it. And I can confirm that
    compiling from scratch is not as easy as it looked like. I tried to
    create a package for Mageia, based on the original tarball, but
    there are plenty of dependencies not visible during configure/make/makeinstall.

    On Debian and derivatives, if you want to build your own version of a
    package, a quick “apt-get build-dep «package»” will get you all of the dependencies for the standard version of that package. Which should be
    most, if not all, of what you need.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sun Jan 11 20:50:58 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Sat, 10 Jan 2026 07:15:58 +0100 Marco Moock wrote:

    I use Cyrus and like it.
    It saves the mail as text files. The metadata information (folder
    permissions, read status etc.) is saved in local databases.

    Is there a sample configuration out, to not having to start from
    scratch by "trial and error"?

    The default config of Debian is reasonable. If you want mine, let me
    know.

    Oh yes, thanks - always worth a trial!

    Best regards,
    Markus
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Mon Jan 12 07:20:47 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On Sat, 3 Jan 2026 21:57:23 -0000 (UTC) Lawrence D'Oliveiro wrote:
    <https://packages.debian.org/trixie/mailutils>

    And what's with this reluctance to compile from source, anyway? It's
    part of the bread and butter of running any Linux distro.

    Yes, debian has it and openSuSE has it.
    And I can confirm that compiling from scratch is not as easy as it looked like. I tried to create a package for Mageia, based on the original
    tarball, but there are plenty of dependencies not visible during configure/make/makeinstall. It compiled and built, but the result was not funtional. Creating a new rpm out of that failed as well.

    Well I built GNU Mailutils 3.21 from source with all the
    functionality you require and noted the following dependencies:

    readline-dev, libunistring-dev, gnutls38-dev, tcp_wrappers-dev,
    libltdl, libtool-dev, libgsasl-dev

    At least libgsasl-dev probably isn't needed for your use since I
    only added that to enable SMTP authentication using putmail. IMAP authentication using movemail was working before that. Some others
    might be surplus to requirements too.

    It _does_ tell you better than some what dependencies it's using,
    although I agree the docs aren't so clear about the old "what does
    this dependency do for _me_?" problem, which is hardly unique to
    this project.

    *******************************************************************
    GNU Mailutils configured with the following settings:

    Default mailbox scheme ........ mbox
    Use PAM ....................... no
    Use -ltdl ..................... yes
    Use DBM ....................... no
    Use GNU TLS ................... yes
    Use GSASL ..................... yes
    Use GSSAPI .................... no
    Use TCP wrappers .............. yes
    Pthread support ............... yes
    Readline support .............. yes
    Libunistring support .......... yes
    MySQL support ................. no
    PostgreSQL support ............ no
    LDAP support .................. no
    Radius support ................ no
    Support for virtual domains ... yes

    IPv6 support .................. yes

    Interfaces:

    Guile ......................... no
    C++ ........................... no
    Python ........................ no

    Mailbox formats:

    IMAP .......................... yes
    POP ........................... yes
    MH ............................ yes
    maildir ....................... yes
    dotmail ....................... yes

    Mailers:

    SMTP .......................... yes
    Sendmail ...................... yes

    Utilities to build:

    Servers ....................... pop3d imap4d comsat mda lmtpd
    Clients ....................... putmail frm mail sieve messages readmsg dotlock movemail mimeview decodemail mh

    *******************************************************************
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Mon Jan 12 06:36:59 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 12 Jan 2026 07:20:47 +1000 Computer Nerd Kev wrote:

    [..]

    Well I built GNU Mailutils 3.21 from source with all the functionality
    you require and noted the following dependencies:

    readline-dev, libunistring-dev, gnutls38-dev, tcp_wrappers-dev,
    libltdl, libtool-dev, libgsasl-dev

    At least libgsasl-dev probably isn't needed for your use since I only
    added that to enable SMTP authentication using putmail. IMAP
    authentication using movemail was working before that. Some others might
    be surplus to requirements too.

    Interesting, thank you!

    Well, these are the BUILD dependencies - are there RUNTIME requirements
    also?

    Best regards,

    Markus
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Mon Jan 12 06:47:23 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Fri, 2 Jan 2026 21:10:32 +0100 Marco Moock wrote:

    On 01.01.2026 20:19 Uhr Markus Robert Kessler wrote:

    So, I'd like to mirror them via imapsync to a local instance of some
    imap server, and then pack them together as a tgz archive.

    I use Cyrus and like it.
    It saves the mail as text files. The metadata information (folder permissions, read status etc.) is saved in local databases.

    "local databases" - is this mysql or text based databases?

    B.t.w.: Saving emails as text files lets me hope that after upgrade of the imap service or even OS upgrade one day, the old backups stay usable?

    I am asking this because I once got into big trouble when I had to move multiple mysql databases to a new machine with new OS and new version of mysqld. - Nothing worked and I had to use mysql-dump to export the data as text-dump on the old system and import them into the new one.
    After that, the permission system also had to be set up from scratch
    because of different data format...

    Best regards,

    Markus
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.sys.raspberry-pi on Mon Jan 12 06:58:37 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Mon, 12 Jan 2026 06:47:23 -0000 (UTC), Markus Robert Kessler wrote:

    I am asking this because I once got into big trouble when I had to
    move multiple mysql databases to a new machine with new OS and new
    version of mysqld. - Nothing worked and I had to use mysql-dump to
    export the data as text-dump on the old system and import them into
    the new one. After that, the permission system also had to be set up
    from scratch because of different data format...

    Using the dump format is how you’re supposed to do it. Been there,
    done that, had to download and run an old MySQL binary to go back and
    do the dump the proper way (thankfully old binaries are available for
    just such a purpose).

    mysqldump lets you include table permissions with the “--system=users” option.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Daniel James@daniel@me.invalid to comp.sys.raspberry-pi on Mon Jan 12 12:45:29 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 12/01/2026 06:36, Markus Robert Kessler wrote:
    Well, these are the BUILD dependencies - are there RUNTIME requirements
    also?

    Generally (but I don't promise that it always works) if you have the dev
    package installed in order to meet the build requirements you not need anything more at runtime.

    There are non-dev packages that meet *only* the runtime requirements for people who don't need to meet the build requirements, but if you have
    the dev packages you don't need those as well.
    --
    Cheers,
    Daniel.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Mon Jan 12 16:57:12 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Mon, 12 Jan 2026 12:45:29 +0000 Daniel James wrote:

    On 12/01/2026 06:36, Markus Robert Kessler wrote:
    Well, these are the BUILD dependencies - are there RUNTIME requirements
    also?

    Generally (but I don't promise that it always works) if you have the dev
    package installed in order to meet the build requirements you not need anything more at runtime.

    There are non-dev packages that meet *only* the runtime requirements for people who don't need to meet the build requirements, but if you have
    the dev packages you don't need those as well.

    B.t.w.,

    how do you install all the files retrieved from compiling the tarball from scratch, if you want to avoid building a deb or rpm?

    Meaning, do you let "make install" write directly to the filesystem, or do
    you pack all that files in one tar.gz and then use "alien" to transform it into a deb or rpm?

    Best regards,

    Markus
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.sys.raspberry-pi on Mon Jan 12 20:25:27 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Mon, 12 Jan 2026 16:57:12 -0000 (UTC), Markus Robert Kessler wrote:

    Meaning, do you let "make install" write directly to the filesystem
    ...

    That’s usually how it’s done. All the well-behaved build scripts
    default to putting things in /usr/local, where they don’t clobber
    stuff handled by your system standard package manager.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Tue Jan 13 08:01:52 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On 12 Jan 2026 07:20:47 +1000 Computer Nerd Kev wrote:
    Well I built GNU Mailutils 3.21 from source with all the functionality
    you require and noted the following dependencies:

    readline-dev, libunistring-dev, gnutls38-dev, tcp_wrappers-dev,
    libltdl, libtool-dev, libgsasl-dev

    At least libgsasl-dev probably isn't needed for your use since I only
    added that to enable SMTP authentication using putmail. IMAP
    authentication using movemail was working before that. Some others might
    be surplus to requirements too.

    Interesting, thank you!

    Well, these are the BUILD dependencies - are there RUNTIME requirements also?

    Sure, all of those with "-dev" removed, except libtool. You can
    probably use whatever version of the gnutls package for your distro
    is the latest.

    readline, libunistring, gnutls, tcp_wrappers, libltdl, libgsasl

    Although you can build it without some of those, such as libgsasl
    as mentioned before. Of course exact package names will differ
    between distros, especially with the "lib" prefixes.

    "ldd `which movemail`" is a quick way to see all the libraries
    used by the executable, however it will show additional libraries
    used by the direct dependenies, without distinction. Another way
    is using "readelf -d `which movemail` | grep NEEDED", which just
    gives you the immediate dependencies, but then in this case you
    get a bunch of "libmu_*" Mailutils libraries which then also need
    to be checked with "ldd" or "readelf", and that gets confusing.
    Also those tools won't show any libraries or executables that are
    loaded after the program has started. Then you have to work out
    which packages the libraries belong to, for which the method is
    specific to your distro or package format.

    Anyway in this case you can just go from the list I gave you above.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Tue Jan 13 08:15:47 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On Mon, 12 Jan 2026 12:45:29 +0000 Daniel James wrote:
    On 12/01/2026 06:36, Markus Robert Kessler wrote:
    Well, these are the BUILD dependencies - are there RUNTIME requirements
    also?

    Generally (but I don't promise that it always works) if you have the dev
    package installed in order to meet the build requirements you not need
    anything more at runtime.

    There are non-dev packages that meet *only* the runtime requirements for
    people who don't need to meet the build requirements, but if you have
    the dev packages you don't need those as well.

    B.t.w.,

    how do you install all the files retrieved from compiling the tarball from scratch, if you want to avoid building a deb or rpm?

    Meaning, do you let "make install" write directly to the filesystem, or do you pack all that files in one tar.gz and then use "alien" to transform it into a deb or rpm?

    If you want to install to the system then of course "make install",
    if you want to make a package or just a tar file that can be
    unpacked to "/" on similar systems, DESTDIR is useful:

    sudo make DESTDIR=/tmp/mailutils install-strip

    That installs everything into equivalent directories under
    /tmp/mailutils as when you do a "make install", with debugging info
    stripped to avoid wasting space. You should still run it as root so
    that the file permissions are set correctly. Then you can make a
    package or tar archive from the contents of that directory for
    installing to other systems running the same distro.

    Note occasionally programs won't support "DESTDIR" and will then
    install to "/" anyway, and also some won't understand
    "install-strip" so you must use "install" instead, then run "strip"
    on the binaries manually. But Mailutils supports both, as, it
    seems, do all GNU projects.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Thu Jan 15 20:30:25 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 13 Jan 2026 08:01:52 +1000 Computer Nerd Kev wrote:

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On 12 Jan 2026 07:20:47 +1000 Computer Nerd Kev wrote:
    Well I built GNU Mailutils 3.21 from source with all the functionality
    you require and noted the following dependencies:

    readline-dev, libunistring-dev, gnutls38-dev, tcp_wrappers-dev,
    libltdl, libtool-dev, libgsasl-dev

    At least libgsasl-dev probably isn't needed for your use since I only
    added that to enable SMTP authentication using putmail. IMAP
    authentication using movemail was working before that. Some others
    might be surplus to requirements too.

    Interesting, thank you!

    Well, these are the BUILD dependencies - are there RUNTIME requirements
    also?

    Sure, all of those with "-dev" removed, except libtool. You can probably
    use whatever version of the gnutls package for your distro is the
    latest.

    readline, libunistring, gnutls, tcp_wrappers, libltdl, libgsasl

    Although you can build it without some of those, such as libgsasl as mentioned before. Of course exact package names will differ between
    distros, especially with the "lib" prefixes.

    "ldd `which movemail`" is a quick way to see all the libraries used by
    the executable, however it will show additional libraries used by the
    direct dependenies, without distinction. Another way is using "readelf
    -d `which movemail` | grep NEEDED", which just gives you the immediate dependencies, but then in this case you get a bunch of "libmu_*"
    Mailutils libraries which then also need to be checked with "ldd" or "readelf", and that gets confusing. Also those tools won't show any
    libraries or executables that are loaded after the program has started.
    Then you have to work out which packages the libraries belong to, for
    which the method is specific to your distro or package format.

    Anyway in this case you can just go from the list I gave you above.

    Hi, regarding Mageia Linux I am working on, I get

    needed: available in distro:

    readline lib64readline-devel
    libunistring lib64unistring-devel
    gnutls lib64gnutls-devel
    tcp_wrappers tcp_wrappers
    (no devel, executables in /usr/sbin:
    safe_finger; tcpd; tcpdchk; tcpdmatch; try-from)
    libltdl lib64ltdl-devel
    libgsasl lib64gsasl-devel

    So, except "tcp_wrappers", the package seems to be builable?

    Thanks a lot!
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Thu Jan 15 20:46:50 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Fri, 2 Jan 2026 08:54:49 +0000 Andy Burns wrote:

    Richard Kettlewell wrote:

    Dovecot is fairly easy to set up. I’ve not tried the other IMAP
    servers.

    I would echo that.

    Good to know, thank you all!

    Dovecot is now installed on my machnine, and maybe someone can point me in
    the right direction:

    I just want to have the chance to install one mailbox on dovecot to test
    with GNU Mailutils and ImapSync. But I am not sure what is needed in
    addition to the base install (ssl, ...) to connect to this service, having
    the necessary rights to create mailboxes and set passwords via doveadm.

    Thanks for any hint!
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Fri Jan 16 08:19:25 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On 13 Jan 2026 08:01:52 +1000 Computer Nerd Kev wrote:
    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On 12 Jan 2026 07:20:47 +1000 Computer Nerd Kev wrote:
    Well I built GNU Mailutils 3.21 from source with all the functionality >>>> you require and noted the following dependencies:

    readline-dev, libunistring-dev, gnutls38-dev, tcp_wrappers-dev,
    libltdl, libtool-dev, libgsasl-dev
    [snip]
    Hi, regarding Mageia Linux I am working on, I get

    needed: available in distro:

    readline lib64readline-devel
    libunistring lib64unistring-devel
    gnutls lib64gnutls-devel
    tcp_wrappers tcp_wrappers
    (no devel, executables in /usr/sbin:
    safe_finger; tcpd; tcpdchk; tcpdmatch; try-from)
    libltdl lib64ltdl-devel
    libgsasl lib64gsasl-devel

    So, except "tcp_wrappers", the package seems to be builable?

    Yep, and tcp_wrappers looks to be optional, so you can probably
    ignore that:

    "The tcp-wrappers statements provides an alternative way to control
    accesses to the resources served by GNU Mailutils. This statement
    is enabled if Mailutils is compiled with TCP wrappers library
    libwrap." https://www.mailutils.org/manual/html_node/tcp_002dwrappers-statement.html
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Thu Jan 15 22:42:10 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 16 Jan 2026 08:19:25 +1000 Computer Nerd Kev wrote:

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On 13 Jan 2026 08:01:52 +1000 Computer Nerd Kev wrote:
    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On 12 Jan 2026 07:20:47 +1000 Computer Nerd Kev wrote:
    Well I built GNU Mailutils 3.21 from source with all the
    functionality you require and noted the following dependencies:

    readline-dev, libunistring-dev, gnutls38-dev, tcp_wrappers-dev,
    libltdl, libtool-dev, libgsasl-dev
    [snip]
    Hi, regarding Mageia Linux I am working on, I get

    needed: available in distro:

    readline lib64readline-devel libunistring
    lib64unistring-devel gnutls lib64gnutls-devel
    tcp_wrappers tcp_wrappers
    (no devel, executables in /usr/sbin: safe_finger;
    tcpd; tcpdchk; tcpdmatch; try-from)
    libltdl lib64ltdl-devel libgsasl
    lib64gsasl-devel

    So, except "tcp_wrappers", the package seems to be builable?

    Yep, and tcp_wrappers looks to be optional, so you can probably ignore
    that:

    "The tcp-wrappers statements provides an alternative way to control
    accesses to the resources served by GNU Mailutils. This statement is
    enabled if Mailutils is compiled with TCP wrappers library libwrap." https://www.mailutils.org/manual/html_node/tcp_002dwrappers-
    statement.html

    OK, thanks. I see that
    lib64wrap-devel and libwrap-devel
    are there. Do you think it is sufficient to just install one of them as dependency?
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Fri Jan 16 11:57:08 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On 16 Jan 2026 08:19:25 +1000 Computer Nerd Kev wrote:
    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    So, except "tcp_wrappers", the package seems to be builable?

    Yep, and tcp_wrappers looks to be optional, so you can probably ignore
    that:

    "The tcp-wrappers statements provides an alternative way to control
    accesses to the resources served by GNU Mailutils. This statement is
    enabled if Mailutils is compiled with TCP wrappers library libwrap."
    https://www.mailutils.org/manual/html_node/tcp_002dwrappers-
    statement.html

    OK, thanks. I see that
    lib64wrap-devel and libwrap-devel
    are there. Do you think it is sufficient to just install one of them as dependency?

    Probably the lib64 one. The configure script shows the features
    enabled like I posted before. So if it's found tcp_wrappers/libwrap
    then you'll get the same as me:

    "Use TCP wrappers .............. yes"

    If not:

    "Use TCP wrappers .............. no"

    Either way I expect it'll do everything you need, since I think
    it's just for the IMAP and POP servers that are also part of
    Mailutils.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Anssi Saari@anssi.saari@usenet.mail.kapsi.fi to comp.sys.raspberry-pi on Fri Jan 16 11:10:12 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> writes:

    And I can confirm that compiling from scratch is not as easy as it looked like. I tried to create a package for Mageia, based on the original
    tarball, but there are plenty of dependencies not visible during configure/make/makeinstall. It compiled and built, but the result was not funtional. Creating a new rpm out of that failed as well.

    True, building can get hairy. I recently built MEGAcmd (sync tool for
    mega.nz) for arm64 on my Pi (CM3+ which is the equivalent of a 3B+, so
    quad core and 1 GB of RAM). Should be easy? But their whatsit build
    thingy uses architecture based rules but didn't have a rule for
    arm64. My fumbling with it went nowhere at first but I then managed to
    somehow inelegantly force it to do arm64. Also they've gone this silly OpenEmbedded kind of way that they want to download the source for and
    build all dependencies for it. But that part actually worked out of the
    box as the deps were much smaller than their actual code. Best part, all
    the deps used other build systems that didn't need fiddling with.

    Last but not least, 1 GB of RAM is a piddly amount these days. I added 2
    GB of swap to get this to compile since 1 GB wasn't enough.

    Setting up a VM or cross compilation for one app didn't feel like worth
    doing.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sat Jan 17 13:51:22 2026
    From Newsgroup: comp.sys.raspberry-pi

    Hello all,

    I try to set up a simple Dovecot instance on a raspberry where I can
    create one mailbox and use this for testing purposes with GNU Mailutils
    and ImapSync.

    Therefore I installed Dovecot out of the box and created a user ("cyrus").

    For now, it seems to run. While, only the non-encrypting protocols are
    used (no pop3s, no imaps):

    PORT STATE SERVICE
    22/tcp open ssh
    25/tcp open smtp
    80/tcp open http
    110/tcp open pop3
    119/tcp open nntp
    143/tcp open imap
    406/tcp open imsp
    631/tcp open ipp
    8008/tcp open http

    When I try to log into Dovecot, it asks for password (based on /etc/shadow
    as it looks like), but then Dovecot asks for some imap password:

    [502 root@rpi-inst ~]# cyradm -u cyrus localhost
    Password:
    IMAP Password:
    Login failed: authentication failure at /usr/lib/arm-linux- gnueabihf/perl5/5.32/Cyrus/IMAP/Admin.pm line 134.
    cyradm: cannot authenticate to server as cyrus

    Can anyone please give some advice how to get a mailbox set up, so that I
    can test with?

    Thank you!
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Andy Burns@usenet@andyburns.uk to comp.sys.raspberry-pi on Sat Jan 17 14:52:10 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler wrote:

    When I try to log into Dovecot, it asks for password (based on /etc/shadow
    as it looks like), but then Dovecot asks for some imap password:

    [502 root@rpi-inst ~]# cyradm -u cyrus localhost
    Password:
    IMAP Password:
    Login failed: authentication failure at /usr/lib/arm-linux- gnueabihf/perl5/5.32/Cyrus/IMAP/Admin.pm line 134.
    cyradm: cannot authenticate to server as cyrus

    Can anyone please give some advice how to get a mailbox set up, so that I
    can test with?
    search for how to use sasl with pam and dovecot, I can't remember the
    details, but it wasn't difficult to configure ...


    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.sys.raspberry-pi on Sat Jan 17 20:43:12 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Sat, 17 Jan 2026 13:51:22 -0000 (UTC), Markus Robert Kessler wrote:

    When I try to log into Dovecot, it asks for password (based on
    /etc/shadow as it looks like), but then Dovecot asks for some imap
    password:

    [502 root@rpi-inst ~]# cyradm -u cyrus localhost
    Password:
    IMAP Password:
    Login failed: authentication failure at /usr/lib/arm-linux-gnueabihf/perl5/5.32/Cyrus/IMAP/Admin.pm line 134.
    cyradm: cannot authenticate to server as cyrus

    Seems to be saying it’s trying to authenticate as user “cyrus”. Is
    this valid?

    Another thing to check is, is it trying to connect via the imap port
    (143) or imaps (993)?
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Sun Jan 18 07:21:23 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    I try to set up a simple Dovecot instance on a raspberry where I can
    create one mailbox and use this for testing purposes with GNU Mailutils
    and ImapSync.

    FWIW GNU Mailutils comes with an IMAP server too, which I use for
    about the same purpose as what you seem to be doing. It seemed like
    a good idea but in practice I rarely use it and read the mailbox
    movemail writes to directly with an email client instead.

    Something like this in /etc/mailutils.conf configures it:
    "
    program imap4d
    {

    logging
    {
    syslog yes;
    facility mail;
    severity debug;
    };

    #debug {
    # level auth;
    #};

    auth
    {
    authentication generic;
    authorization system;
    };

    login-disabled false;
    homedir
    {
    create false;
    }

    mailbox
    {
    mailbox-type "mh";
    folder "Mail/";
    };

    namespace personal
    {
    mailbox-mode g=;
    prefix ""
    {
    directory "$home/Mail";
    mailbox-type "mh";
    };
    };

    };
    "

    You need a "mail" group and add users who can log via IMAP to that
    group.

    I've configured Dovecot before too but I find it difficult, so
    you'd better get advice on that from one of the people who says
    it's easy.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sat Jan 17 21:34:19 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Sat, 17 Jan 2026 20:43:12 -0000 (UTC) Lawrence D’Oliveiro wrote:

    On Sat, 17 Jan 2026 13:51:22 -0000 (UTC), Markus Robert Kessler wrote:

    When I try to log into Dovecot, it asks for password (based on
    /etc/shadow as it looks like), but then Dovecot asks for some imap
    password:

    [502 root@rpi-inst ~]# cyradm -u cyrus localhost Password:
    IMAP Password:
    Login failed: authentication failure at
    /usr/lib/arm-linux-gnueabihf/perl5/5.32/Cyrus/IMAP/
    Admin.pm
    line 134.
    cyradm: cannot authenticate to server as cyrus

    Seems to be saying it’s trying to authenticate as user “cyrus”. Is this valid?

    Yes, I typed this to connect to localmachine, wanting to authenticate as
    user 'cyrus' with password I've set

    Another thing to check is, is it trying to connect via the imap port
    (143) or imaps (993)?

    I checked this with wireshark on local-loopback. Requests are against port 143/tcp on localhost. In some packets I see auth attempts like
    'AUTHENTICATE DIGEST-MD5'
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sat Jan 17 22:45:51 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 18 Jan 2026 07:21:23 +1000 Computer Nerd Kev wrote:

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    I try to set up a simple Dovecot instance on a raspberry where I can
    create one mailbox and use this for testing purposes with GNU Mailutils
    and ImapSync.

    FWIW GNU Mailutils comes with an IMAP server too, which I use for about
    the same purpose as what you seem to be doing. It seemed like a good
    idea but in practice I rarely use it and read the mailbox movemail
    writes to directly with an email client instead.

    [..]

    Thanks! Yes, I see imapd is also created when installing from GNU
    Mailutils tarball. Confusingly, Raspbian has each a separate package for imapd, pop3, etc. Maybe, they consider this to be easier to just install what's needed, rather than do a 'systemctl disable ...' for all unwanted services.

    B.t.w., does GNU Mailutils imapd need mysql to store email details, or is there everything stored in plain text?
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sat Jan 17 23:21:24 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Sat, 17 Jan 2026 20:43:12 -0000 (UTC) Lawrence D’Oliveiro wrote:

    On Sat, 17 Jan 2026 13:51:22 -0000 (UTC), Markus Robert Kessler wrote:

    When I try to log into Dovecot, it asks for password (based on
    /etc/shadow as it looks like), but then Dovecot asks for some imap
    password:

    [502 root@rpi-inst ~]# cyradm -u cyrus localhost Password:
    IMAP Password:
    Login failed: authentication failure at
    /usr/lib/arm-linux-gnueabihf/perl5/5.32/Cyrus/IMAP/
    Admin.pm
    line 134.
    cyradm: cannot authenticate to server as cyrus

    Seems to be saying it’s trying to authenticate as user “cyrus”. Is this valid?

    Another thing to check is, is it trying to connect via the imap port
    (143) or imaps (993)?

    Oh sorry, wrong machine...
    Just reinstalled dovecot to have a clean start.

    There are these ports open now and imaps is also up:

    PORT STATE SERVICE
    22/tcp open ssh
    25/tcp open smtp
    80/tcp open http
    143/tcp open imap
    631/tcp open ipp
    993/tcp open imaps

    I created a user 'dov' for such purposes, hence I have

    dov:x:1010:1010::/home/dov:/bin/bash
    dovecot:x:123:131:Dovecot mail server,,,:/usr/lib/dovecot:/usr/sbin/
    nologin
    dovenull:x:124:130:Dovecot login user,,,:/nonexistent:/usr/sbin/nologin

    as dovecot-related users.


    At the moment I am stuck because any attempt to log in ends by returning
    to commandline instantly:

    [592 root@rpi-inst /tmp]# doveadm auth login dov
    Password:
    passdb: dov auth succeeded
    extra fields:
    user=dov

    userdb extra fields:
    dov
    system_groups_user=dov
    uid=1010
    gid=1010
    home=/home/dov
    auth_mech=PLAIN
    [593 root@rpi-inst /tmp]#

    No chance to create a mailbox here.
    Maybe the definition of who is admin is missing?



    Can someone please give a little advice how to log in to create a mailbox
    and set the password in the right way?

    Thank you!
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.sys.raspberry-pi on Sun Jan 18 02:00:02 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Sat, 17 Jan 2026 23:21:24 -0000 (UTC), Markus Robert Kessler wrote:

    At the moment I am stuck because any attempt to log in ends by returning
    to commandline instantly:

    [592 root@rpi-inst /tmp]# doveadm auth login dov
    Password:
    passdb: dov auth succeeded
    extra fields:
    user=dov

    userdb extra fields:
    dov
    system_groups_user=dov
    uid=1010
    gid=1010
    home=/home/dov
    auth_mech=PLAIN
    [593 root@rpi-inst /tmp]#

    No chance to create a mailbox here.

    You’re expecting doveadm to enter some kind of interactive command
    mode? Looking at the various man pages, I don’t think it works that
    way.

    I just tried doveadm as root, and I think it lets me perform admin
    actions without having to do a dovecot login.

    I’ve never used this command before, because I have my Dovecot (and
    Postfix) setup to keep all mail in ~/.maildir in users’ home
    directories, and this gets created automatically as mail comes in.
    Here’s the relevant change to the default configuration that was
    installed on my Debian setup:

    root@theon:~ # diff -u /etc/dovecot/conf.d/10-mail.conf{-orig,}
    --- /etc/dovecot/conf.d/10-mail.conf-orig 2025-10-23 12:40:26.294676269 +1300
    +++ /etc/dovecot/conf.d/10-mail.conf 2025-10-23 12:42:46.602025244 +1300
    @@ -33,10 +33,14 @@
    # against its use in production environments. See further information
    # at
    # https://doc.dovecot.org/2.4.1/core/config/mailbox/formats/mbox.html -mail_driver = mbox
    +# Notes for upgrade to 2.4:
    +# <https://doc.dovecot.org/main/core/config/mail_location.html#mail-location-setting>
    +# <https://doc.dovecot.org/main/core/config/mailbox_formats/maildir.html> +mail_driver = maildir
    mail_home = /home/%{user | username}
    -mail_path = %{home}/mail
    -mail_inbox_path = /var/mail/%{user}
    +mail_path = %{home}/.maildir
    +mailbox_list_layout = maildir++
    +mail_inbox_path = .
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Computer Nerd Kev@not@telling.you.invalid to comp.sys.raspberry-pi on Sun Jan 18 17:23:51 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On 18 Jan 2026 07:21:23 +1000 Computer Nerd Kev wrote:
    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    I try to set up a simple Dovecot instance on a raspberry where I can
    create one mailbox and use this for testing purposes with GNU Mailutils
    and ImapSync.

    FWIW GNU Mailutils comes with an IMAP server too, which I use for about
    the same purpose as what you seem to be doing. It seemed like a good
    idea but in practice I rarely use it and read the mailbox movemail
    writes to directly with an email client instead.

    [..]

    Thanks! Yes, I see imapd is also created when installing from GNU
    Mailutils tarball.

    Actually it should be "imap4d".

    Confusingly, Raspbian has each a separate package for
    imapd, pop3, etc. Maybe, they consider this to be easier to just install what's needed, rather than do a 'systemctl disable ...' for all unwanted services.

    Probably, and note that when you install from the tarball you won't
    get the Systemd services added like you (might) get with the
    packages.

    B.t.w., does GNU Mailutils imapd need mysql to store email details, or is there everything stored in plain text?

    All plain-text, although you can choose the format, MH format in my
    example. With MH format each email is kept in an individual sequentially-numbered file.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sun Jan 18 15:46:03 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 16 Jan 2026 11:57:08 +1000 Computer Nerd Kev wrote:

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On 16 Jan 2026 08:19:25 +1000 Computer Nerd Kev wrote:
    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    So, except "tcp_wrappers", the package seems to be builable?

    Yep, and tcp_wrappers looks to be optional, so you can probably ignore
    that:

    "The tcp-wrappers statements provides an alternative way to control
    accesses to the resources served by GNU Mailutils. This statement is
    enabled if Mailutils is compiled with TCP wrappers library libwrap."
    https://www.mailutils.org/manual/html_node/tcp_002dwrappers-
    statement.html

    OK, thanks. I see that lib64wrap-devel and libwrap-devel are there. Do
    you think it is sufficient to just install one of them as dependency?

    Probably the lib64 one. The configure script shows the features enabled
    like I posted before. So if it's found tcp_wrappers/libwrap then you'll
    get the same as me:

    "Use TCP wrappers .............. yes"

    If not:

    "Use TCP wrappers .............. no"

    Either way I expect it'll do everything you need, since I think it's
    just for the IMAP and POP servers that are also part of Mailutils.

    After installing all recommended dependecies, ./configure says

    *******************************************************************
    GNU Mailutils configured with the following settings:

    Default mailbox scheme ........ mbox
    Use PAM ....................... no
    Use -ltdl ..................... yes
    Use DBM ....................... no
    Use GNU TLS ................... yes
    Use GSASL ..................... yes
    Use GSSAPI .................... yes
    Use TCP wrappers .............. yes
    Pthread support ............... yes
    Readline support .............. yes
    Libunistring support .......... yes
    MySQL support ................. no
    PostgreSQL support ............ no
    LDAP support .................. no
    Radius support ................ no
    Support for virtual domains ... yes

    IPv6 support .................. yes

    Interfaces:

    Guile ......................... no
    C++ ........................... no
    Python ........................ yes

    Mailbox formats:

    IMAP .......................... yes
    POP ........................... yes
    MH ............................ yes
    maildir ....................... yes
    dotmail ....................... yes

    Mailers:

    SMTP .......................... yes
    Sendmail ...................... yes

    Utilities to build:

    Servers ....................... pop3d imap4d comsat mda lmtpd
    Clients ....................... putmail frm mail sieve messages readmsg dotlock movemail mimeview decodemail mh

    *******************************************************************

    Wrappers (64bit) is ok, and all services like pop and imap are building. Somehow strange, that it complains about 'C++:no', though gcc is there.

    Thanks,
    best regards,
    Markus
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Richard Kettlewell@invalid@invalid.invalid to comp.sys.raspberry-pi on Sun Jan 18 16:06:48 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> writes:
    Wrappers (64bit) is ok, and all services like pop and imap are building. Somehow strange, that it complains about 'C++:no', though gcc is there.

    You have probably installed gcc but not g++.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sun Jan 18 18:44:37 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Sun, 18 Jan 2026 15:46:03 -0000 (UTC) Markus Robert Kessler wrote:

    On 16 Jan 2026 11:57:08 +1000 Computer Nerd Kev wrote:

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On 16 Jan 2026 08:19:25 +1000 Computer Nerd Kev wrote:
    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    So, except "tcp_wrappers", the package seems to be builable?

    Yep, and tcp_wrappers looks to be optional, so you can probably
    ignore that:

    "The tcp-wrappers statements provides an alternative way to control
    accesses to the resources served by GNU Mailutils. This statement is
    enabled if Mailutils is compiled with TCP wrappers library libwrap."
    https://www.mailutils.org/manual/html_node/tcp_002dwrappers-
    statement.html

    OK, thanks. I see that lib64wrap-devel and libwrap-devel are there. Do
    you think it is sufficient to just install one of them as dependency?

    Probably the lib64 one. The configure script shows the features enabled
    like I posted before. So if it's found tcp_wrappers/libwrap then you'll
    get the same as me:

    "Use TCP wrappers .............. yes"

    If not:

    "Use TCP wrappers .............. no"

    Either way I expect it'll do everything you need, since I think it's
    just for the IMAP and POP servers that are also part of Mailutils.


    Hi there,

    after a 'make install' to some DESTDIR, I took the created 'usr' dir,
    chown-ed everything to root:root and verified that the rights are correct.

    Then I created a tar.gz archive out of this 'usr' dir.

    From this I took alien to convert to rpm:
    alien --target=`arch` -r gnu-mailutils-3.21.tar.gz


    All worked, but when trying to install the rpm I get

    [1040 root@mga9x64-lb1 /tmp]# rpm -i gnu-mailutils-3.21-2.x86_64.rpm
    error: Failed dependencies:
    devel(libgnutls(64bit)) is needed by gnu-mailutils-3.21-2.x86_64
    devel(libgsasl(64bit)) is needed by gnu-mailutils-3.21-2.x86_64
    devel(libltdl(64bit)) is needed by gnu-mailutils-3.21-2.x86_64
    libgsasl.so.7()(64bit) is needed by gnu-mailutils-3.21-2.x86_64
    libgsasl.so.7(LIBGSASL_1.1)(64bit) is needed by gnu- mailutils-3.21-2.x86_64


    This is strange because './configure' said

    *******************************************************************
    GNU Mailutils configured with the following settings:

    Default mailbox scheme ........ mbox
    Use PAM ....................... no
    Use -ltdl ..................... yes
    Use DBM ....................... no
    Use GNU TLS ................... yes
    Use GSASL ..................... yes
    Use GSSAPI .................... yes
    Use TCP wrappers .............. yes
    Pthread support ............... yes
    Readline support .............. yes
    Libunistring support .......... yes
    MySQL support ................. no
    PostgreSQL support ............ no
    LDAP support .................. no
    Radius support ................ no
    Support for virtual domains ... yes

    IPv6 support .................. yes

    Interfaces:

    Guile ......................... no
    C++ ........................... no
    Python ........................ yes

    Mailbox formats:

    IMAP .......................... yes
    POP ........................... yes
    MH ............................ yes
    maildir ....................... yes
    dotmail ....................... yes

    Mailers:

    SMTP .......................... yes
    Sendmail ...................... yes

    Utilities to build:

    Servers ....................... pop3d imap4d comsat mda lmtpd
    Clients ....................... putmail frm mail sieve messages readmsg dotlock movemail mimeview decodemail mh

    *******************************************************************

    The 3 devel-s withing the 'rpm -i' error alert were installed as devel,
    and the 2 gsasl-s, not sure, but maybe they are runtime requirements.

    Any idea what's still missing here?

    Thank you!
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sun Jan 18 18:51:21 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Sun, 18 Jan 2026 16:06:48 +0000 Richard Kettlewell wrote:

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> writes:
    Wrappers (64bit) is ok, and all services like pop and imap are
    building.
    Somehow strange, that it complains about 'C++:no', though gcc is there.

    You have probably installed gcc but not g++.

    On Raspbian there is a package 'g++' to cover the c++ things.

    While, on Mageia I cannot find such package. Instead there is 'gcc-c++',
    which claims 'This package adds C++ support to the GNU C compiler'.
    I have installed 'gcc-c++', so, maybe GNU-mailutil's './configure' is
    being confused here?

    Thank you!
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Richard Kettlewell@invalid@invalid.invalid to comp.sys.raspberry-pi on Sun Jan 18 20:17:03 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> writes:
    On Sun, 18 Jan 2026 16:06:48 +0000 Richard Kettlewell wrote:
    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> writes:
    Wrappers (64bit) is ok, and all services like pop and imap are
    building.
    Somehow strange, that it complains about 'C++:no', though gcc is there.

    You have probably installed gcc but not g++.

    On Raspbian there is a package 'g++' to cover the c++ things.

    While, on Mageia I cannot find such package. Instead there is 'gcc-c++', which claims 'This package adds C++ support to the GNU C compiler'.
    I have installed 'gcc-c++', so, maybe GNU-mailutil's './configure' is
    being confused here?

    On a closer look it looks like that bit of output depends on whether you
    use an --enable-cxx option. I’ve no idea what it’s for but unless it corresponds to something you know you want, I’d ignore it.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Mon Jan 19 07:23:39 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    after a 'make install' to some DESTDIR, I took the created 'usr' dir, chown-ed everything to root:root and verified that the rights are correct.

    Then I created a tar.gz archive out of this 'usr' dir.

    From this I took alien to convert to rpm:
    alien --target=`arch` -r gnu-mailutils-3.21.tar.gz


    All worked, but when trying to install the rpm I get

    [1040 root@mga9x64-lb1 /tmp]# rpm -i gnu-mailutils-3.21-2.x86_64.rpm
    error: Failed dependencies:
    devel(libgnutls(64bit)) is needed by gnu-mailutils-3.21-2.x86_64
    devel(libgsasl(64bit)) is needed by gnu-mailutils-3.21-2.x86_64
    devel(libltdl(64bit)) is needed by gnu-mailutils-3.21-2.x86_64
    libgsasl.so.7()(64bit) is needed by gnu-mailutils-3.21-2.x86_64
    libgsasl.so.7(LIBGSASL_1.1)(64bit) is needed by gnu- mailutils-3.21-2.x86_64

    x86_64? This is in the Raspberry Pi Group. Did you pick the wrong
    newsgroup to discuss this or are you trying to complile on a PC
    but run Mailutils on a RPi? That's possible, but difficult, and
    for this you'd be much better compiling Mailutils on the RPi
    instead.

    This is strange because './configure' said

    The configure script worked if you got the mailutils binaries
    built, which it sounds like you did (otherwise DESTDIR will be
    empty). I've never used "alien" and don't know how it goes about
    making packages, but it looks like something must be going wrong
    there. If you're trying to install to RPi (ARM) a package built
    for x86_64, then that's definitely what's going wrong.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.sys.raspberry-pi on Sun Jan 18 21:33:02 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Sun, 18 Jan 2026 18:44:37 -0000 (UTC), Markus Robert Kessler wrote:

    From this I took alien to convert to rpm:

    That seems a very roundabout process. On Debian, after doing “apt-get source” to get the package source and making the desired changes,
    rebuilding the .deb file is as easy as using the “debuild” command.

    Is there not something directly equivalent for your rpm-based distro?

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Mon Jan 19 16:19:41 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 19 Jan 2026 07:23:39 +1000 Computer Nerd Kev wrote:

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    after a 'make install' to some DESTDIR, I took the created 'usr' dir,
    chown-ed everything to root:root and verified that the rights are
    correct.

    Then I created a tar.gz archive out of this 'usr' dir.

    From this I took alien to convert to rpm:
    alien --target=`arch` -r gnu-mailutils-3.21.tar.gz


    All worked, but when trying to install the rpm I get

    [1040 root@mga9x64-lb1 /tmp]# rpm -i gnu-mailutils-3.21-2.x86_64.rpm
    error: Failed dependencies:
    devel(libgnutls(64bit)) is needed by
    gnu-mailutils-3.21-2.x86_64 devel(libgsasl(64bit)) is needed by
    gnu-mailutils-3.21-2.x86_64 devel(libltdl(64bit)) is needed by
    gnu-mailutils-3.21-2.x86_64 libgsasl.so.7()(64bit) is needed by
    gnu-mailutils-3.21-2.x86_64 libgsasl.so.7(LIBGSASL_1.1)(64bit)
    is needed by gnu-
    mailutils-3.21-2.x86_64

    x86_64? This is in the Raspberry Pi Group. Did you pick the wrong
    newsgroup to discuss this or are you trying to complile on a PC but run Mailutils on a RPi? That's possible, but difficult, and for this you'd
    be much better compiling Mailutils on the RPi instead.

    This is strange because './configure' said

    The configure script worked if you got the mailutils binaries built,
    which it sounds like you did (otherwise DESTDIR will be empty). I've
    never used "alien" and don't know how it goes about making packages, but
    it looks like something must be going wrong there. If you're trying to install to RPi (ARM) a package built for x86_64, then that's definitely what's going wrong.

    Hello, thanks! And, no, I did not click onto the wrong group.
    Instead, the desperate situation is like that:

    On latest raspbian, debian for ARM, there is only an ancient version 3.10. Good to play with, but that's all.

    On debian for intel, there is version 3.20 - but it is not complete.
    imap4d and pop3d are missing and other stuff. Just left away.

    On Redhat / Mageia for intel, which I am also running, there is even no
    such package like GNU mailutils at all.

    So, no big difference, in which group to ask. No 'one group for all'.
    Whatever you want to achieve, you have to try yourself.

    __But, as far as I see, here are the experts.__

    So, I take this chance to say thank you for all the hints I already got.


    Besides this:

    Looking at the 'Failed dependencies' message above, this looks as if the
    devel packages have to be linked statically, otherwise movemail and others cannot access them and are asking for them again.
    Do you dispose this to be so?

    Thank you!

    Best regards,

    Markus
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.sys.raspberry-pi on Mon Jan 19 21:01:12 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Mon, 19 Jan 2026 16:19:41 -0000 (UTC), Markus Robert Kessler wrote:

    On debian for intel, there is version 3.20 - but it is not complete.
    imap4d and pop3d are missing and other stuff. Just left away.

    IMAP and POP support is in separate packages -- typical Debian
    philosophy, you install just the ones you need:

    $ apt-cache search -n mailutils
    libmailutils-dev - development files for GNU mailutils
    libmailutils9t64 - GNU Mail abstraction library
    mailutils - GNU mailutils utilities for handling mail
    mailutils-common - common files for GNU mailutils
    mailutils-comsatd - GNU mailutils-based comsatd daemon
    mailutils-doc - documentation files for GNU mailutils
    mailutils-guile - GNU mailutils Guile interpreter and modules
    mailutils-imap4d - GNU mailutils-based IMAP4 Daemon
    mailutils-mda - GNU mailutils utilities for handling mail -- MDA
    mailutils-mh - GNU mailutils-based MH utilities
    mailutils-pop3d - GNU mailutils-based POP3 Daemon
    python3-mailutils - GNU Mail abstraction library (Python3 interface)
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Tue Jan 20 07:41:06 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On 19 Jan 2026 07:23:39 +1000 Computer Nerd Kev wrote:
    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    [1040 root@mga9x64-lb1 /tmp]# rpm -i gnu-mailutils-3.21-2.x86_64.rpm
    error: Failed dependencies:
    devel(libgnutls(64bit)) is needed by
    gnu-mailutils-3.21-2.x86_64 devel(libgsasl(64bit)) is needed by
    gnu-mailutils-3.21-2.x86_64 devel(libltdl(64bit)) is needed by
    gnu-mailutils-3.21-2.x86_64 libgsasl.so.7()(64bit) is needed by
    gnu-mailutils-3.21-2.x86_64 libgsasl.so.7(LIBGSASL_1.1)(64bit)
    is needed by gnu-
    mailutils-3.21-2.x86_64

    x86_64? This is in the Raspberry Pi Group. Did you pick the wrong
    newsgroup to discuss this or are you trying to complile on a PC but run
    Mailutils on a RPi? That's possible, but difficult, and for this you'd
    be much better compiling Mailutils on the RPi instead.

    This is strange because './configure' said

    The configure script worked if you got the mailutils binaries built,
    which it sounds like you did (otherwise DESTDIR will be empty). I've
    never used "alien" and don't know how it goes about making packages, but
    it looks like something must be going wrong there. If you're trying to
    install to RPi (ARM) a package built for x86_64, then that's definitely
    what's going wrong.

    Hello, thanks! And, no, I did not click onto the wrong group.
    Instead, the desperate situation is like that:

    On latest raspbian, debian for ARM, there is only an ancient version 3.10. Good to play with, but that's all.

    On debian for intel, there is version 3.20 - but it is not complete.
    imap4d and pop3d are missing and other stuff. Just left away.

    On Redhat / Mageia for intel, which I am also running, there is even no
    such package like GNU mailutils at all.

    Just note that nothing you do "on intel" will just work on ARM. If
    you want Mailutils on both ARM and "intel", you need to build it
    twice. If you just want it on one ARM system, then repeat
    everything on the ARM system and just do "sudo make install"
    without the DESTDIR and package stuff which only matters if you
    want to install easily to other RPis (and even then I'd personally
    just make a tarball and unpack that to "/" after installing the
    dependencies manually, rather than making an RPM package).

    Besides this:

    Looking at the 'Failed dependencies' message above, this looks as if the devel packages have to be linked statically, otherwise movemail and others cannot access them and are asking for them again.

    Static linking should avoid any dependency problem when it's built
    on ARM. Building on x86_64 "intel", nothing will work on ARM unless
    you install and use a cross-compiling environment. But don't do
    that unless you're desperate for a challenge, just build on ARM in
    the first place, since any RPi is capable of compiling Mailutils.

    If you want the same build to run on Debian and "Redhat / Mageia",
    then static linking can achieve that more reliably. Note that it
    will prevent security updates to gnutls being applied when running
    Mailutils with encrypted connections, until you rebuild the static
    binary. You should be able to use the Debian x86_64 Mailutils
    packages at least, so you probably don't need to try running the
    Mageia build on there. Just compile and install Mailutils normally
    on "Redhat / Mageia for intel" and "debian for ARM" as two separate
    processes.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Richard Kettlewell@invalid@invalid.invalid to comp.sys.raspberry-pi on Tue Jan 20 08:47:29 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> writes:
    On 19 Jan 2026 07:23:39 +1000 Computer Nerd Kev wrote:
    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    after a 'make install' to some DESTDIR, I took the created 'usr' dir,
    chown-ed everything to root:root and verified that the rights are
    correct.

    Then I created a tar.gz archive out of this 'usr' dir.

    From this I took alien to convert to rpm:
    alien --target=`arch` -r gnu-mailutils-3.21.tar.gz


    All worked, but when trying to install the rpm I get

    [1040 root@mga9x64-lb1 /tmp]# rpm -i gnu-mailutils-3.21-2.x86_64.rpm
    error: Failed dependencies:
    devel(libgnutls(64bit)) is needed by
    gnu-mailutils-3.21-2.x86_64 devel(libgsasl(64bit)) is needed by
    gnu-mailutils-3.21-2.x86_64 devel(libltdl(64bit)) is needed by
    gnu-mailutils-3.21-2.x86_64 libgsasl.so.7()(64bit) is needed by
    gnu-mailutils-3.21-2.x86_64 libgsasl.so.7(LIBGSASL_1.1)(64bit)
    is needed by gnu-
    mailutils-3.21-2.x86_64
    [...]
    Looking at the 'Failed dependencies' message above, this looks as if
    the devel packages have to be linked statically, otherwise movemail
    and others cannot access them and are asking for them again. Do you
    dispose this to be so?

    I don’t know RPM well but for most packaging systems, if it says you’re missing a dependency then it just means you need to install the package containing that dependency.

    Certainly within Debian the norm is for executables to be dynamically
    linked and the package containing then to have a dependency on the
    runtime packages for each shared library. Static executables are rare at
    best.

    In your case, I thought you were trying to do a local build and install.
    So I don’t see why RPM is involved at all.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Wed Jan 21 16:13:20 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Tue, 20 Jan 2026 08:47:29 +0000 Richard Kettlewell wrote:

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> writes:
    On 19 Jan 2026 07:23:39 +1000 Computer Nerd Kev wrote:
    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    after a 'make install' to some DESTDIR, I took the created 'usr' dir,
    chown-ed everything to root:root and verified that the rights are
    correct.

    Then I created a tar.gz archive out of this 'usr' dir.

    From this I took alien to convert to rpm:
    alien --target=`arch` -r gnu-mailutils-3.21.tar.gz


    All worked, but when trying to install the rpm I get

    [1040 root@mga9x64-lb1 /tmp]# rpm -i gnu-mailutils-3.21-2.x86_64.rpm
    error: Failed dependencies:
    devel(libgnutls(64bit)) is needed by
    gnu-mailutils-3.21-2.x86_64 devel(libgsasl(64bit)) is needed
    by gnu-mailutils-3.21-2.x86_64 devel(libltdl(64bit)) is
    needed by gnu-mailutils-3.21-2.x86_64 libgsasl.so.7()(64bit)
    is needed by gnu-mailutils-3.21-2.x86_64
    libgsasl.so.7(LIBGSASL_1.1)(64bit) is needed by gnu-
    mailutils-3.21-2.x86_64
    [...]
    Looking at the 'Failed dependencies' message above, this looks as if
    the devel packages have to be linked statically, otherwise movemail and
    others cannot access them and are asking for them again. Do you
    dispose this to be so?

    I don’t know RPM well but for most packaging systems, if it says you’re missing a dependency then it just means you need to install the package containing that dependency.

    Certainly within Debian the norm is for executables to be dynamically
    linked and the package containing then to have a dependency on the
    runtime packages for each shared library. Static executables are rare at best.

    In your case, I thought you were trying to do a local build and install.
    So I don’t see why RPM is involved at all.

    By exporting to some DESTDIR, then create a tar.gz / slackware install archive, and then convert this into a deb or rpm with the help of alien conversion tool, you have full control over the location of the files
    (derived from make install), and this guarantees that nothing is
    overwritten by accident. Also, every install is tracked.

    Meaning, same as make install directly, but with full control over it
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Wed Jan 21 20:09:44 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 20 Jan 2026 07:41:06 +1000 Computer Nerd Kev wrote:

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On 19 Jan 2026 07:23:39 +1000 Computer Nerd Kev wrote:
    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    [1040 root@mga9x64-lb1 /tmp]# rpm -i gnu-mailutils-3.21-2.x86_64.rpm
    error: Failed dependencies:
    devel(libgnutls(64bit)) is needed by
    gnu-mailutils-3.21-2.x86_64 devel(libgsasl(64bit)) is needed
    by gnu-mailutils-3.21-2.x86_64 devel(libltdl(64bit)) is
    needed by gnu-mailutils-3.21-2.x86_64 libgsasl.so.7()(64bit)
    is needed by gnu-mailutils-3.21-2.x86_64
    libgsasl.so.7(LIBGSASL_1.1)(64bit) is needed by gnu-
    mailutils-3.21-2.x86_64

    x86_64? This is in the Raspberry Pi Group. Did you pick the wrong
    newsgroup to discuss this or are you trying to complile on a PC but
    run Mailutils on a RPi? That's possible, but difficult, and for this
    you'd be much better compiling Mailutils on the RPi instead.

    This is strange because './configure' said

    The configure script worked if you got the mailutils binaries built,
    which it sounds like you did (otherwise DESTDIR will be empty). I've
    never used "alien" and don't know how it goes about making packages,
    but it looks like something must be going wrong there. If you're
    trying to install to RPi (ARM) a package built for x86_64, then that's
    definitely what's going wrong.

    Hello, thanks! And, no, I did not click onto the wrong group.
    Instead, the desperate situation is like that:

    On latest raspbian, debian for ARM, there is only an ancient version
    3.10.
    Good to play with, but that's all.

    On debian for intel, there is version 3.20 - but it is not complete.
    imap4d and pop3d are missing and other stuff. Just left away.

    On Redhat / Mageia for intel, which I am also running, there is even no
    such package like GNU mailutils at all.

    Just note that nothing you do "on intel" will just work on ARM. If you
    want Mailutils on both ARM and "intel", you need to build it twice. If
    you just want it on one ARM system, then repeat everything on the ARM
    system and just do "sudo make install" without the DESTDIR and package
    stuff which only matters if you want to install easily to other RPis
    (and even then I'd personally just make a tarball and unpack that to "/" after installing the dependencies manually, rather than making an RPM package).

    Besides this:

    Looking at the 'Failed dependencies' message above, this looks as if
    the devel packages have to be linked statically, otherwise movemail and
    others cannot access them and are asking for them again.

    Static linking should avoid any dependency problem when it's built on
    ARM. Building on x86_64 "intel", nothing will work on ARM unless you
    install and use a cross-compiling environment. But don't do that unless you're desperate for a challenge, just build on ARM in the first place,
    since any RPi is capable of compiling Mailutils.

    If you want the same build to run on Debian and "Redhat / Mageia", then static linking can achieve that more reliably. Note that it will prevent security updates to gnutls being applied when running Mailutils with encrypted connections, until you rebuild the static binary. You should
    be able to use the Debian x86_64 Mailutils packages at least, so you
    probably don't need to try running the Mageia build on there. Just
    compile and install Mailutils normally on "Redhat / Mageia for intel"
    and "debian for ARM" as two separate processes.

    OK, thanks a lot!

    Well, it was somehow strange to me that build-dependencies as *devel which
    I had to include for building the package, I have to install as runtime requirements as well. But your statement about 'prevent security updates
    to gnutls' sounds reasonable, indeed.

    So, after installing the package and letting it install all dependencies automatically, the package seems to work now.

    B.t.w., alien creates this dependencies automatically (which a plain tgz archive containing a resource tarball of the built binary files, does
    not). It's quite handy, if you just want an install package and don't want
    to go via control files or spec sheets. It's good to have it for
    raspberry, too.
    And, of course, alien cannot help making binary files interchangeable
    between ARM and intel/amd. The build process has to be done per platform,
    yes.

    Many thanks again!
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Fri Jan 23 12:24:02 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 20 Jan 2026 07:41:06 +1000 Computer Nerd Kev wrote:

    [..]

    If you want the same build to run on Debian and "Redhat / Mageia", then static linking can achieve that more reliably. Note that it will prevent security updates to gnutls being applied when running Mailutils with encrypted connections, until you rebuild the static binary. You should
    be able to use the Debian x86_64 Mailutils packages at least, so you
    probably don't need to try running the Mageia build on there. Just
    compile and install Mailutils normally on "Redhat / Mageia for intel"
    and "debian for ARM" as two separate processes.

    Yes, and now I try to install the GNU Mailutils source package on a Pi3B
    with Bullseye OS. Meaning, try to rebuild the (ancient) package as is, and
    as next steps, to replace the source tgz, do some adaptations and try to
    get this built, also.

    By some reason, Synaptic install GUI does only show the sources for a few packages, and Mailutils is not among them.

    /etc/apt/sources.list contains

    deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-
    free rpi
    # Uncomment line below then 'apt-get update' to enable 'apt-get source'
    deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi

    Is there one more repo to activate, so that it shows up for downloading?

    Thank you!
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Richard Kettlewell@invalid@invalid.invalid to comp.sys.raspberry-pi on Fri Jan 23 18:52:46 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> writes:
    On 20 Jan 2026 07:41:06 +1000 Computer Nerd Kev wrote:

    [..]

    If you want the same build to run on Debian and "Redhat / Mageia", then
    static linking can achieve that more reliably. Note that it will prevent
    security updates to gnutls being applied when running Mailutils with
    encrypted connections, until you rebuild the static binary. You should
    be able to use the Debian x86_64 Mailutils packages at least, so you
    probably don't need to try running the Mageia build on there. Just
    compile and install Mailutils normally on "Redhat / Mageia for intel"
    and "debian for ARM" as two separate processes.

    Yes, and now I try to install the GNU Mailutils source package on a Pi3B with Bullseye OS. Meaning, try to rebuild the (ancient) package as is, and as next steps, to replace the source tgz, do some adaptations and try to

    bullseye’s mailutils is ancient because bullseye is ancient, two full releases out of date. If you need recent software then upgrade to trixie (mailutils 3.19).

    By some reason, Synaptic install GUI does only show the sources for a few packages, and Mailutils is not among them.

    Synaptic doesn’t provide source packages, you use ‘apt-get source’ for that.

    /etc/apt/sources.list contains

    deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-
    free rpi
    # Uncomment line below then 'apt-get update' to enable 'apt-get source'
    ^^^^^^^^^^^^^^


    deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi

    Is there one more repo to activate, so that it shows up for downloading?
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.sys.raspberry-pi on Fri Jan 23 21:13:57 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Fri, 23 Jan 2026 12:24:02 -0000 (UTC), Markus Robert Kessler wrote:

    By some reason, Synaptic install GUI does only show the sources for a few packages, and Mailutils is not among them.

    /etc/apt/sources.list contains

    deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-
    free rpi

    <http://raspbian.raspberrypi.org/raspbian/pool/main/m/mailutils/>
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Sat Jan 24 11:25:54 2026
    From Newsgroup: comp.sys.raspberry-pi

    Markus Robert Kessler <no_reply@dipl-ing-kessler.de> wrote:
    On 20 Jan 2026 07:41:06 +1000 Computer Nerd Kev wrote:

    [..]

    If you want the same build to run on Debian and "Redhat / Mageia", then
    static linking can achieve that more reliably. Note that it will prevent
    security updates to gnutls being applied when running Mailutils with
    encrypted connections, until you rebuild the static binary. You should
    be able to use the Debian x86_64 Mailutils packages at least, so you
    probably don't need to try running the Mageia build on there. Just
    compile and install Mailutils normally on "Redhat / Mageia for intel"
    and "debian for ARM" as two separate processes.

    Yes, and now I try to install the GNU Mailutils source package on a Pi3B with Bullseye OS. Meaning, try to rebuild the (ancient) package as is, and as next steps, to replace the source tgz, do some adaptations and try to
    get this built, also.

    I'd just build from the latest source code manually like you did on
    Mageia, but whatever floats your boat...

    By some reason, Synaptic install GUI does only show the sources for a few packages, and Mailutils is not among them.

    /etc/apt/sources.list contains

    deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-
    free rpi
    # Uncomment line below then 'apt-get update' to enable 'apt-get source' deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi

    Is there one more repo to activate, so that it shows up for downloading?

    As a guess: maybe the Raspbian package repo doesn't have sources
    for packages they copied from Debian instead of rebuilding
    themselves? You could look at the Debian package info/downloads
    on the web like LDO suggested. I'm not sure how building from
    sources automatically via Apt works, so I'm not sure how you'd use
    the Debian package repo with that.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Sat Jan 24 11:34:22 2026
    From Newsgroup: comp.sys.raspberry-pi

    Computer Nerd Kev <not@telling.you.invalid> wrote:
    You could look at the Debian package info/downloads
    on the web like LDO suggested.

    My mistake, he linked to the location on the Raspbian mirror,
    here's what I meant:

    https://packages.debian.org/source/bullseye/mailutils

    But, again, I'd ignore that myself and just build it like you did
    before.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Daniel James@daniel@me.invalid to comp.sys.raspberry-pi on Sat Jan 24 11:20:25 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 24/01/2026 01:25, Computer Nerd Kev wrote:
    As a guess: maybe the Raspbian package repo doesn't have sources
    for packages they copied from Debian instead of rebuilding
    themselves?

    Raspbian doesn't copy packages from Debian, it just uses the Debian
    repos. The Raspberry Pi's own repo doesn't contain userspace packages
    unless they're pi-specific.

    The issue is probably that /etc/apt/sources.list only has a line for
    "deb" packages and not "deb-src" packages, by default.

    Such a line is easy to add.

    (If the OP were using Trixie it would be a matter of adding "deb-src"
    after "deb" on the line starting "Types:" in /etc/apt/sources.list.d/debian.sources).
    --
    Cheers,
    Daniel.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Markus Robert Kessler@no_reply@dipl-ing-kessler.de to comp.sys.raspberry-pi on Sat Jan 24 19:43:19 2026
    From Newsgroup: comp.sys.raspberry-pi

    On Sat, 24 Jan 2026 11:20:25 +0000 Daniel James wrote:

    On 24/01/2026 01:25, Computer Nerd Kev wrote:
    As a guess: maybe the Raspbian package repo doesn't have sources for
    packages they copied from Debian instead of rebuilding themselves?

    Raspbian doesn't copy packages from Debian, it just uses the Debian
    repos. The Raspberry Pi's own repo doesn't contain userspace packages
    unless they're pi-specific.

    The issue is probably that /etc/apt/sources.list only has a line for
    "deb" packages and not "deb-src" packages, by default.

    Such a line is easy to add.

    (If the OP were using Trixie it would be a matter of adding "deb-src"
    after "deb" on the line starting "Types:" in /etc/apt/sources.list.d/debian.sources).

    I just modified the list of sources in /etc/apt/sources.list and /etc/apt/ sources.list.d/debian.sources and tried to upgrade from bullseye to trixie directly, but this failed. Maybe this was not a good idea.

    At least the machine boots and runs properly, but no further update
    possible. - Is there a way to revert back and first upgrade to bookworm
    and then to trixie, or is the only proper solution to set up a new
    install?

    Thanks!
    --
    Please reply to group only.
    For private email please use http://www.dipl-ing-kessler.de/email.htm
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Sun Jan 25 07:11:44 2026
    From Newsgroup: comp.sys.raspberry-pi

    Daniel James <daniel@me.invalid> wrote:
    On 24/01/2026 01:25, Computer Nerd Kev wrote:
    As a guess: maybe the Raspbian package repo doesn't have sources
    for packages they copied from Debian instead of rebuilding
    themselves?

    Raspbian doesn't copy packages from Debian, it just uses the Debian
    repos. The Raspberry Pi's own repo doesn't contain userspace packages
    unless they're pi-specific.

    This is evidently untrue simply from looking at the Raspbian repo's
    contents. I found out the hard way that some packages like Firefox
    there are built only for Debian's target ARM architectures, not the
    early Raspberry Pi boards.

    Also I haven't seen the Debian repo used in Raspbian sources.list,
    though I haven't used the more recent RPi OS versions. Would this
    even work seeing as there'd be conflicting packages for the same
    programs? In my experience with Debian on PC, it wouldn't since Apt
    doesn't favour one repo over another - it just selects whichever
    package versions look latest.

    The issue is probably that /etc/apt/sources.list only has a line for
    "deb" packages and not "deb-src" packages, by default.

    He posted that there was a "deb-src" line already.

    Anyway it still won't build him the latest Mailutils which would be
    easy to do the same way he already did it on PC (providing the
    dependency package names are changed to Debian ones), so I think I
    give up at this point.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Richard Kettlewell@invalid@invalid.invalid to comp.sys.raspberry-pi on Sat Jan 24 23:14:51 2026
    From Newsgroup: comp.sys.raspberry-pi

    not@telling.you.invalid (Computer Nerd Kev) writes:
    Daniel James <daniel@me.invalid> wrote:
    On 24/01/2026 01:25, Computer Nerd Kev wrote:
    As a guess: maybe the Raspbian package repo doesn't have sources
    for packages they copied from Debian instead of rebuilding
    themselves?

    Raspbian doesn't copy packages from Debian, it just uses the Debian
    repos. The Raspberry Pi's own repo doesn't contain userspace packages
    unless they're pi-specific.

    This is evidently untrue simply from looking at the Raspbian repo's
    contents. I found out the hard way that some packages like Firefox
    there are built only for Debian's target ARM architectures, not the
    early Raspberry Pi boards.

    Also I haven't seen the Debian repo used in Raspbian sources.list,
    though I haven't used the more recent RPi OS versions.

    It uses both debian.org (or mirrors thereof) and raspberrypi.org. The
    latter has RPi-specific packages (e.g. raspi-config) and RPi-specific
    rebuilds of standard packages (e.g. vlc), but excludes packages where
    the binaries are shared with Debian (e.g. coreutils).

    Would this even work seeing as there'd be conflicting packages for the
    same programs? In my experience with Debian on PC, it wouldn't since
    Apt doesn't favour one repo over another - it just selects whichever
    package versions look latest.

    It works fine...

    The issue is probably that /etc/apt/sources.list only has a line for
    "deb" packages and not "deb-src" packages, by default.

    He posted that there was a "deb-src" line already.

    Anyway it still won't build him the latest Mailutils which would be
    easy to do the same way he already did it on PC (providing the
    dependency package names are changed to Debian ones), so I think I
    give up at this point.

    The answer was clear from the original post: OP didn’t know how to get
    source packages.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Daniel James@daniel@me.invalid to comp.sys.raspberry-pi on Sat Jan 24 23:31:12 2026
    From Newsgroup: comp.sys.raspberry-pi

    On 24/01/2026 21:11, Computer Nerd Kev wrote:
    Raspbian doesn't copy packages from Debian, it just uses the
    Debian repos. The Raspberry Pi's own repo doesn't contain
    userspace packages unless they're pi-specific.

    This is evidently untrue simply from looking at the Raspbian repo's contents. I found out the hard way that some packages like Firefox
    there are built only for Debian's target ARM architectures, not the
    early Raspberry Pi boards.

    I suppose it depends what you mean by pi-specific. Yes, there are builds
    of some userspace applications in the pi repo (more than I realized, I
    admit).

    Also I haven't seen the Debian repo used in Raspbian sources.list,
    though I haven't used the more recent RPi OS versions.

    The debian.sources file in Trixie looks identical on my AMD64 box and my
    Pi5. I don't have Bullseye installs around, any more, to check.

    Would this even work seeing as there'd be conflicting packages for
    the same programs? In my experience with Debian on PC, it wouldn't
    since Apt doesn't favour one repo over another - it just selects
    whichever package versions look latest.

    apt is complex. It uses version numbers, priorities, pinning, and
    preferences from /etc/apt -- it does seem to work, but I haven't worked
    out exactly how.
    --
    Cheers,
    Daniel.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Computer Nerd Kev@not@telling.you.invalid to comp.sys.raspberry-pi on Sun Jan 25 16:09:20 2026
    From Newsgroup: comp.sys.raspberry-pi

    Richard Kettlewell <invalid@invalid.invalid> wrote:
    not@telling.you.invalid (Computer Nerd Kev) writes:
    Daniel James <daniel@me.invalid> wrote:
    On 24/01/2026 01:25, Computer Nerd Kev wrote:
    As a guess: maybe the Raspbian package repo doesn't have sources
    for packages they copied from Debian instead of rebuilding
    themselves?

    Raspbian doesn't copy packages from Debian, it just uses the Debian
    repos. The Raspberry Pi's own repo doesn't contain userspace packages
    unless they're pi-specific.

    This is evidently untrue simply from looking at the Raspbian repo's
    contents. I found out the hard way that some packages like Firefox
    there are built only for Debian's target ARM architectures, not the
    early Raspberry Pi boards.

    Also I haven't seen the Debian repo used in Raspbian sources.list,
    though I haven't used the more recent RPi OS versions.

    It uses both debian.org (or mirrors thereof) and raspberrypi.org. The
    latter has RPi-specific packages (e.g. raspi-config) and RPi-specific rebuilds of standard packages (e.g. vlc), but excludes packages where
    the binaries are shared with Debian (e.g. coreutils).

    OK, maybe the sources.list has changed in newer versions, but
    coreutils _is_ there the RPi repo, and updated in 2025:

    http://raspbian.raspberrypi.org/raspbian/pool/main/c/coreutils/

    Would this even work seeing as there'd be conflicting packages for the
    same programs? In my experience with Debian on PC, it wouldn't since
    Apt doesn't favour one repo over another - it just selects whichever
    package versions look latest.

    It works fine...

    They did better than the developers of AntiX then, where Aptitude
    would keep selecting Systemd-dependent packages from the Debian
    repo when they were updated to a newer version than the Sysv ones in
    the AntiX repo. I couldn't find any settings to prevent that so I
    switched to Devuan which has its own separate repo for all
    packages, though most are probably the same as the Debian packages.
    I thought it worked like that in RPi OS as well, but I've switched
    away from that now.

    The issue is probably that /etc/apt/sources.list only has a line for
    "deb" packages and not "deb-src" packages, by default.

    He posted that there was a "deb-src" line already.

    Anyway it still won't build him the latest Mailutils which would be
    easy to do the same way he already did it on PC (providing the
    dependency package names are changed to Debian ones), so I think I
    give up at this point.

    The answer was clear from the original post: OP didn't know how to get
    source packages.

    OP won't get source packages for the newer Mailutils version he
    wants that way, just the old version used for the package, which
    he's not happy with. But OP already has the sources he used for
    building the latest version on PC, minus the Debian patches (which
    might not work on the latest version anyway).
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Richard Kettlewell@invalid@invalid.invalid to comp.sys.raspberry-pi on Sun Jan 25 09:49:10 2026
    From Newsgroup: comp.sys.raspberry-pi

    Computer Nerd Kev <not@telling.you.invalid> writes:
    Richard Kettlewell <invalid@invalid.invalid> wrote:
    It uses both debian.org (or mirrors thereof) and raspberrypi.org. The
    latter has RPi-specific packages (e.g. raspi-config) and RPi-specific
    rebuilds of standard packages (e.g. vlc), but excludes packages where
    the binaries are shared with Debian (e.g. coreutils).

    OK, maybe the sources.list has changed in newer versions, but
    coreutils _is_ there the RPi repo, and updated in 2025:

    http://raspbian.raspberrypi.org/raspbian/pool/main/c/coreutils/

    Not in arm64 trixie.

    $ curl -s https://archive.raspberrypi.org/debian/dists/trixie/main/binary-arm64/Packages | grep 'Package: coreutils'
    $

    OP won't get source packages for the newer Mailutils version he wants
    that way, just the old version used for the package, which he's not
    happy with. But OP already has the sources he used for building the
    latest version on PC, minus the Debian patches (which might not work
    on the latest version anyway).

    I’m not clear why it has to be a specific version anyway...
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From not@not@telling.you.invalid (Computer Nerd Kev) to comp.sys.raspberry-pi on Mon Jan 26 14:39:45 2026
    From Newsgroup: comp.sys.raspberry-pi

    Richard Kettlewell <invalid@invalid.invalid> wrote:
    Computer Nerd Kev <not@telling.you.invalid> writes:
    Richard Kettlewell <invalid@invalid.invalid> wrote:
    It uses both debian.org (or mirrors thereof) and raspberrypi.org. The
    latter has RPi-specific packages (e.g. raspi-config) and RPi-specific
    rebuilds of standard packages (e.g. vlc), but excludes packages where
    the binaries are shared with Debian (e.g. coreutils).

    OK, maybe the sources.list has changed in newer versions, but
    coreutils _is_ there the RPi repo, and updated in 2025:

    http://raspbian.raspberrypi.org/raspbian/pool/main/c/coreutils/

    Not in arm64 trixie.

    $ curl -s https://archive.raspberrypi.org/debian/dists/trixie/main/binary-arm64/Packages | grep 'Package: coreutils'
    $

    That appears to be something different. Trying the same thing with
    the raspbian.raspberrypi.org site the OP is using in their
    sources.list as they posted earlier:

    $ wget http://raspbian.raspberrypi.org/raspbian/dists/trixie/main/binary-armhf/Packages.xz
    [snip]
    $ xz -d Packages.xz
    $ grep 'Package: coreutils' Packages
    Package: coreutils

    (yes I know you can use pipes there too, I don't like wasting data
    and time if I want to run another grep)

    They don't seem to have 64bit packages at raspbian.raspberrypi.org,
    so I guess 64bit installs use "archive" or something else.
    --
    __ __
    #_ < |\| |< _#
    --- Synchronet 3.21b-Linux NewsLink 1.2