Option to add Reply-To header to forwarded e-mails
[mgsmtp.git] / mgsmtp_server_example.ini
index 258e2c03e79b72c8178315b92bd514ef01a6267b..f414a68b5794a2bdac4e45425cf945d9ee89a1ac 100644 (file)
@@ -1,5 +1,5 @@
 ; MegaBrutal's SMTP Server (MgSMTP)
-; Copyright (C) 2010-2014 MegaBrutal
+; Copyright (C) 2010-2015 MegaBrutal
 
 ; This is an example configuration file for MgSMTP.
 ; You may inspect it to learn about the configuration options of MgSMTP, and (if
@@ -657,6 +657,22 @@ StoreLocalCopy = On
 ; (You can still have "StoreLocalCopy" off, if you don't want your message to be
 ; actually delivered to the mailbox.)
 
+; Reply addresses and simple distribution lists:
+; As the following example shows, with the combination of "ForwardTo" and "ReplyTo",
+; it is possible to create simple, static distribution lists, where replies are
+; addressed back to the distribution list by default.
+; The value of "ReplyTo" will be inserted as a "Reply-To" header to the e-mails being
+; forwarded. Note, it will only affect forwarded e-mails: the local copy won't have
+; the "Reply-To" header.
+; There is a special value for "ReplyTo": "!". When used, it will be substituted with
+; the appropriate mailbox address (in this example, it is "party@example.com").
+
+;[Mailbox\party]
+;ForwardTo = benga@example.com,hugo@example.com,kitty@example.com
+;ReplyTo = Party Unit <party@example.com>
+; Or:
+;ReplyTo = !
+
 ; Domain-specific mailboxes:
 
 ;[Mailbox\@mydomain.tld]