Google: Sieve Filter für Gmail-Kunden

Ich werde häufig gefragt, wie ich den Auto-Responder bei meinem mailbox.org-Konto implementiert habe, der Gmail-Nutzern automatisch eine Antwort sendet. Via Sieve-Add-on geht das so:

# Auto reply if sender uses Gmail
if allof ( envelope :is :all "to" "webmaster@kuketz-blog.de" , anyof ( address :contains "from" [ "@googlemail.com" , "@gmail.com" ] , header :contains "received" "google.com" , envelope :matches :all "from" "*@google.com" ) )
{
   vacation :days 1 :subject "Privacy violation detected!" :from "no-reply@kuketz-blog.de" "

   This is an auto-reply message from my mail server.

   Please be aware that all emails sent and received in Gmail are analysed by Google.
   This is a serious invasion of privacy!
   If you live in Germany, please consider changing your email service:
   [1] https://mailbox.org/
   [2] https://posteo.de
   [3] https://tuta.com/

   Due to this privacy violation by Google, I will read your email but may not reply to it.

   Thank you very much in advance for your understanding.

   " ;
   fileinto "INBOX/webmaster@kuketz-blog.de" ;
   stop ;
}

Das Skript könnt ihr nach belieben anpassen und bspw. um weitere E-Mail Provider erweitern. Warum ich das mache steht unter anderem hier: Google scannt bzw. analysiert E-Mails.

Du kannst den Blog aktiv unterstützen! Mitmachen ➡