Created
August 4, 2017 05:28
-
-
Save aredridel/4de77c15f609d531b8d01ca511b9d455 to your computer and use it in GitHub Desktop.
Complete opensmtpd config to make a server just archive everything it receives. Requires a user named archive to be present on the system and own that directory.
This file contains hidden or 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
listen on :: | |
table aliases file:/etc/aliases | |
table anyone { "@" = archive } | |
accept for local alias <aliases> deliver to mbox | |
accept from any for any virtual <anyone> deliver to maildir "/var/lib/archive/%{rcpt:lowercase|strip}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The equivalent postfix configuration is a half dozen files, a scattered assortment of directives, and requires abusing the primitives provided.