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

[msmtp-users] pymsmtpq - yet another msmtp queue script



Hello everyone,

I made yet another msmtp queue script, which I thought I'd share here in
the hopes that someone may benefit from it.

My motivations for writing pymsmtp:

- msmtpq script is ugly (no offense to its author, it is more bash's
  fault than anything).
- msmtpq script does weird things, like do a connection test, then
  proceeds to try to send queued messages even if the connection test
  fails (what's the point??? All it does is log an error if the
  connection test fails).
- Add asynchronous sending, since Emacs's crappy sendmail support
  doesn't support background sending.  In sendmail mode, pymsmtpq writes
  the message to its queue and immediately exits, leaving a forked
  process that then tries to flush the queue.

While it lacks most of msmtpq's convenience features, pymsmtpq is a
short and sweet Python script that gets the job done.

Link: https://github.com/darkfeline/pymsmtpq

Allen

Attachment: signature.asc
Description: PGP signature