Auto-Reply for Exim Mail Server

on March 29 | in Hosting / Servers, Linux | by | with 4 Comments

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.

Pin It

related posts

4 Responses to Auto-Reply for Exim Mail Server

  1. sir i am facing error t line 14 of exim.conf

  2. @Albert:
    Please post your exim.conf. The error show issue with syntax.
    Regards,
    Sohail

  3. ether mahmud says:

    Is it possible to create in particular mail address …. plz share doc step by step

Leave a Reply

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

« »