• Problem using getmail.

    From Doug Laidlaw@2:250/1 to All on Mon Dec 7 11:36:04 2020
    Having had all kinds of stange problems wit Mageia 7.1, including no
    panel, I decided to upgrade to Mageia 8. That made no difference. It
    turned out that I had to "lock" the panel; as soon as I did that, the
    panel worked again.

    The schily tools archive was corrupted; extracting it again fixed that.

    My remaining problem is with getmail. I use getmail in a cron job to
    download POP emails from the server, so that I can view the headers and
    delete the unwanted ones. Then I import the remaining ones to claws-mail.

    Suddenly, getmail cannot process the mails. The message for each one is:

    "Delivery error (mboxrd delivery 16605 error (127, mbox delivery process failed (can't concat str to bytes)))"

    This is way over my head. From reading the forums, it can be caused by
    a change from Python2 to Python 3, but my version of getmail is built
    for Python 3.8, the installed version.

    Any suggestions appreciated.

    TIA,

    Doug,

    almost out of lockdown.

    --- MBSE BBS v1.0.7.17 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Mon Dec 7 15:22:47 2020
    On Mon, 7 Dec 2020 22:36:04 +1100, Doug Laidlaw wrote:
    Having had all kinds of stange problems wit Mageia 7.1, including no
    panel,

    It helps to provide the Desktop Environment (DE) on those kinds of problems.

    I decided to upgrade to Mageia 8. That made no difference. It
    turned out that I had to "lock" the panel; as soon as I did that, the
    panel worked again.

    I do not see the problem running Xfce as my DE on 7 or 8.

    The schily tools archive was corrupted; extracting it again fixed that.

    I had never seen that problem and I have a monthly cron job to download
    any new release.


    My remaining problem is with getmail. I use getmail in a cron job to download POP emails from the server,

    My first recommendation is in a test account, use thunderbird to
    create an account using the POP gmail server to prove gmail is still allowing POP use.

    If so, check the Server Settings against your getmail settings to verify
    that they are the same.

    so that I can view the headers and
    delete the unwanted ones. Then I import the remaining ones to claws-mail.

    I can not help you with getmail. I use fetchmail. I have it set to download
    all mail, throw it into my Unix/Linux mailbox, and remove from the server for
    $ grep thunderbird /etc/passwd | wc -l
    6
    accounts on my system. One account for each of my accounts on gmail, yahoo, hotmail,....

    For any lurkers you create a ~/.fetchmailrc something like
    cat ~/.fetchmailrc

    # /accounts/fake_name_here

    poll "imap.gmail.com" with proto IMAP
    user "fake_name_here@gmail.com" there with password "top_secret"
    is fake_name_here here
    options
    ssl # download "seen" and "unseen" messages
    fetchall # retrieve old and new messages
    stripcr # Strip carriage returns from ends of lines
    nokeep # delete new messages after retrieval

    #********** end ~fake_name_here/.fetchmailrc ********************

    Note: ~/.fetchmailrc perms has to be 600

    Snippet from my /local/bin/fetch_mail called from user hourly cron job
    _deb_args="--silent"
    _serv_timeout_seconds=6

    fetchmail --timeout $_serv_timeout_seconds \
    $_deb_args > $_err_fn 2>&1

    --- MBSE BBS v1.0.7.17 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Doug Laidlaw@2:250/1 to All on Mon Dec 7 15:23:19 2020
    On 7/12/20 10:36 pm, Doug Laidlaw wrote:
    Having had all kinds of stange problems wit Mageia 7.1, including no
    panel, I decided to upgrade to Mageia 8.  That made no difference.  It turned out that I had to "lock" the panel; as soon as I did that, the
    panel worked again.

    The schily tools archive was corrupted; extracting it again fixed that.

    My remaining problem is with getmail.  I use getmail in a cron job to download POP emails from the server, so that I can view the headers and delete the unwanted ones.  Then I import the remaining ones to claws-mail.

    Suddenly, getmail cannot process the mails.  The message for each one is:

    "Delivery error (mboxrd delivery 16605 error (127, mbox delivery process failed (can't concat str to bytes)))"

    This is way over my head.  From reading the forums, it can be caused by
    a change from Python2 to Python 3, but my version of getmail is built
    for Python 3.8, the installed version.

    Any suggestions appreciated.

    TIA,

    Doug,

    almost out of lockdown.


    Still no further progress on this one, but another clue: Thunderbird
    can download mail directly from the ISP.

    --- MBSE BBS v1.0.7.17 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Mon Dec 7 15:33:14 2020
    On Tue, 8 Dec 2020 02:23:19 +1100, Doug Laidlaw wrote:
    On 7/12/20 10:36 pm, Doug Laidlaw wrote:

    My remaining problem is with getmail.  I use getmail in a cron job to
    download POP emails from the server,



    Still no further progress on this one, but another clue: Thunderbird
    can download mail directly from the ISP.

    Yup, guessing you entered the just the email address and TB setup
    the Server Settings for a non-pop server and protocol/port/auth type.

    --- MBSE BBS v1.0.7.17 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Doug Laidlaw@2:250/1 to All on Mon Dec 7 17:38:52 2020
    On 8/12/20 2:33 am, Bit Twister wrote:
    On Tue, 8 Dec 2020 02:23:19 +1100, Doug Laidlaw wrote:
    On 7/12/20 10:36 pm, Doug Laidlaw wrote:

    My remaining problem is with getmail.  I use getmail in a cron job to
    download POP emails from the server,



    Still no further progress on this one, but another clue: Thunderbird
    can download mail directly from the ISP.

    Yup, guessing you entered the just the email address and TB setup
    the Server Settings for a non-pop server and protocol/port/auth type.

    Thanks for the tips. I always had Thunderbird set up for direct emails (default config) but used it only for NNTP. I think the glitch is
    somewhere in my home dir, but it doesn't involve anything later than /var/spool/mail. I have deleted and recreated the "doug" mailbox, which
    is a file, not a folder. Without checking, I think that the server
    setting in TB is POP3.

    --- MBSE BBS v1.0.7.17 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Doug Laidlaw@2:250/1 to All on Tue Dec 8 07:42:23 2020
    On 8/12/20 4:38 am, Doug Laidlaw wrote:
    On 8/12/20 2:33 am, Bit Twister wrote:
    On Tue, 8 Dec 2020 02:23:19 +1100, Doug Laidlaw wrote:
    On 7/12/20 10:36 pm, Doug Laidlaw wrote:

    My remaining problem is with getmail.  I use getmail in a cron job to >>>> download POP emails from the server,



    Still no further progress on this one, but another clue:  Thunderbird
    can download mail directly from the ISP.

    Yup, guessing you entered the just the email address and TB setup
    the Server Settings for a non-pop server and protocol/port/auth type.

    Thanks for the tips.  I always had Thunderbird set up for direct emails (default config) but used it only for NNTP.  I think the glitch is somewhere in my home dir, but it doesn't involve anything later than /var/spool/mail.  I have deleted and recreated the "doug" mailbox, which
    is a file, not a folder.  Without checking, I think that the server
    setting in TB is POP3.

    After a complete reinstall of 8, which fixed every other problem, this
    problem remains. Maybe not many use getmail? Will file a bug.

    --- MBSE BBS v1.0.7.17 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)