Setup an autoresponder software with Postfix

Skip the part with the program installation and configuration and just go to the essential part of creating rules.

When the app is ready and running, create a rule. Select the Autoresponder rules node and click the Add New button. For this blog post, we will create a sample out-of-office auto reply. Set the Subject to “Out of Office: $SUBJECT”. Users who send emails to our mail server will receive auto replies with the subject: Out of Office: . $SUBJECT is a dynamic field that will be replaced with the original subject each time an auto reply is sent.

In the Body text field, enter your auto reply body. We will inform senders that we will return on October 10. By default, an auto reply message is in text format, so you cannot use rich text formatting such as bold or italic. The application doesn’t natively support HTML format, but it is possible to send auto replies in HTML format. See this article on how to achieve that.

Go to the Conditions page and click Add, then select Message Recipient. Enter an email address, like john.doe@company.com, and choose the option to search in the TO and CC fields. Click OK to apply.

On Time Range page select Enable Time Range option and choose date from and date to. This is a date range in which we will be out of office. Deselect All day option if needed.

The last step is to define a rule name; you can leave the default value if you prefer.

Click OK, then click the Save settings button.

From now until October 10, when someone sends an email to the john.doe@company.com mailbox, an auto reply will be triggered and sent back to the sender of the original message.

To learn more visit MSH Postfix Autoresponder website.