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 220.127.116.11 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 18.104.22.168 (add to exim.ip2mx):
root: [email protected]
— Set ross' quota to 2 gigabytes (add to example.com/quota):