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 126.96.36.199 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 188.8.131.52 (add to exim.ip2mx):
— Make firstname.lastname@example.org an alias for email@example.com (add to example.com/aliases):
— Set ross' quota to 2 gigabytes (add to example.com/quota):