Last active
February 3, 2019 06:19
-
-
Save johannesvogel/e54eba568511b5e8765685ad690c5a6f to your computer and use it in GitHub Desktop.
Uberspace 7: Forward emails sent to specific domains
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set Maildir | |
MAILDIR = "$HOME/Maildir" | |
# forward all emails sent to "@mydomain.de" | |
# to "myemailaddress@outlook.com" | |
if (/^To:.*@mydomain\.de/:h) | |
{ | |
to "!myemailaddress@outlook.com" | |
exit | |
} | |
# deliver emails sent to other domains | |
to "$MAILDIR" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# all emails send to info@ will be handled by maildrop | |
|maildrop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment