maildrop + offlineimap + vacation + msmtp + mutt

Marcelo Laia <[email protected]> Thu, 8 Dec 2016 15:29:51 -0200
Newsgroups gmane.mail.maildrop
Organization nonononono
Message-ID <20161208172951.wx6wk5pkiguxmeq5@localhost>
Hi,

I would like to setup a vacation autoreplay in my Debian Box.

I got a tip from spacem guy on msmtp mailing list like this:

The way to set this up is to use:
 
email provider --> getmail --> maildrop (or procmail/MDA) --> vacation --> msmtp

However, getmail didn't sync between devices! So, I would to setup something
like this:

email provider --> offlineimap --> maildrop --> vacation --> msmtp

I found only one tutorial near what I want here [1].

I already heave mutt + offlineimap + msmtp working very well. Is it possible to
configure offlineimap + maildrop like in that tutorial? Could you help me here?

I think that the syncemail script is the trick.

syncemail script:
 
#!/bin/sh
offlineimap 2>&1 | logger -t offlineimap
for i in `find $MAIL/Disney -type f -newer $PROCMAILD/log `; do
  cat "$i" | procmail
done

Thank you very much!


1. http://hoardedhomelyhints.dietbuddha.com/2014/04/email-offlineimap-and-procmail.html

-- 
Marcelo

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi