Skip to content

Instantly share code, notes, and snippets.

@polarvogel
Created February 23, 2017 15:14
Show Gist options
  • Save polarvogel/be0ae688f6965a8d3b2a887e542a41b5 to your computer and use it in GitHub Desktop.
Save polarvogel/be0ae688f6965a8d3b2a887e542a41b5 to your computer and use it in GitHub Desktop.
Log Sender, Recipient and Date for incoming Mails handeled by qmail
#!/bin/bash
#Log incoming E-Mails handeled by qmail
#8300111.de
echo "Incoming Mail from $SENDER to $RECIPIENT at `date`." >> ~/incomingQMails.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment