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

[msmtp-users] (bug) MsmtpQ lockdir and error feedback



Hello,

For some reason unknown, I had a problem with the .lock dir in the
.msmtp.queue and as a result I couldn’t send email any more with
mutt.

I don’t know if that bug report belongs more to mutt or to msmtp…
any feedback or ideas welcome.


# Replicate the bug:

    Have a unusable .lock directory in your msmtp queue (I have no
    idea how I did that)

    Send an email with Mutt

    Get “Email sent”

    msmtpq is actually not handling the email at all, not adding
    it to the queue (msmtp-queue says there’s no email in the
    queue) and not sending it to msmtp

# Expected behaviour:

    Have a unusable .lock directory in your msmtp queue (I have no
    idea how I did that)

    Send an email with Mutt

    Get an error feedback

    Suggest to delete the lockdir


# Solution?

In the msmtpq scripts README it suggests to have
    
    set sendmail_wait = -1 #send in the background

Maybe this should be changed?




More (uninteresting) context: https://hroy.eu/posts/msmtpq-lock/

Thanks,


Attachment: pgpfoyUOvZ6L3.pgp
Description: PGP signature