Installation of eximpw
Now, with Exim and Dovecot installed and configured, all you need is an utility to manage the configuration files.
# cd /usr/local/bin # fetch https://daemon-notes.com/downloads/assets/scripts/eximpw # chmod a+x eximpw
Run eximpw without arguments to get the list of commands.
# eximpw example.com domainadd # eximpw example.com useradd ross # eximpw example.com userpass ross
Refer to the first page for the list of files. Here are some examples:
— Make Exim advertize itself as mx.example.com when receiving mail for example.com (add to exim.domain2mx):
— We have ip 184.108.40.206 on our network interface, make Exim send outgoing mail for example.com throug it (add to exim.domain2ip):
— Make Exim advertize itself as mx.example.com when talked to on 220.127.116.11 (add to exim.ip2mx):
— Make email@example.com an alias for firstname.lastname@example.org (add to example.com/aliases):
— Set ross' quota to 2 gigabytes (add to example.com/quota):