Exim mail server have auto-reply or vacation autoresponder feature missing in default configuration.  It can be easily achieved by providing right Router and Transport configuration using Exim configuration.

Our setup contains exim + dovecot running imap on CPanel/WHM dedicated server. Dovecot imap using maildir format and default location for storing mail is /home/vmail/$domain/$user.

1- Exim Router Configuration.

Following lines should be inserted in Router configuration area inside /etc/exim/exim.conf

Above configuration will instruct exim to route any message if you found .vacation.msg file in the home maildir of user. You can edit the maildir location to match yours user maildir.

2- Exim Transport Configuration

Following lines should be inserted in Transport configuration area inside /etc/exim/exim.conf

.vacation.db will save all the mail addresses to whom it auto-replied the messages. You can edit the maildir location to match yours user maildir.

3- Maildir Vacation files

Following files inside your maildir needs to be there to send reply back to the sender. In my situation is /home/vmail/$domain/$user/

.vacation.msg

.vacation.msg.txt

These two files in any user maildir will makes it auto-reply.

Please use comments for any questions.

Related Posts

4 thoughts on “Auto-Reply for Exim Mail Server

Leave a Reply

Your email address will not be published. Required fields are marked *