3

Since my mail provider unfortunately offers neither an autoresponder nor forwarding mail to others during vacancy, I'd like to setup e.g. a RaspberryPi to regularly check my mail account (via POP3 or IMAP), and react on new email by sending an autoreply à la "I'm currently on vactation" to the sender (maybe with some smart only-once-per-week-and-recepient mechanism) and redirecting (not forwarding; i.e. resending the original mail) the mail to someone else (without deleting it of course). What's the simplest way to achieve this? Solutions that do not require me to set up my own mailserver would be appreciated...

edit Sending should simply use SMTP on the same account the mail is retrieved from, i.e. basically the solution should simply automate what I can locally already do using Thunderbird, without requiring any mailserver setup edit2 Could a simple cronjob involving mutt suffice for this?

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
Tobias Kienzler
  • 9,184
  • 13
  • 65
  • 106
  • 3
    You could use e.g. `getmail` to fetch the mails, `procmail` to process them (forwarding / auto-responding) and `nullmailer` for sending mails. See http://unix.stackexchange.com/questions/5771/simplest-way-of-forwarding-all-mail-from-server or http://unix.stackexchange.com/questions/1449/lightweight-outgoing-smtp-server for related threads. – jofel Jan 24 '13 at 10:52
  • @jofel Thanks for the hint and the links, I'll check if they already answer my question – Tobias Kienzler Jan 24 '13 at 10:56
  • Instead of `procmail` you can also use `maildrop` which could be easier. The [getmail FAQ](http://pyropus.ca/software/getmail/faq.html) contains the information how you can link these programs. – jofel Jan 24 '13 at 11:01

0 Answers0