This has to be done for every domain. This is optional.
# cd /etc # vi aliases devnull: /dev/null # newaliases # mariadb -u root -p MariaDB [mail]> insert into aliases (DomainId, Source, Destination) values (1, 'no-reply@example.com', '/dev/null'); MariaDB [mail]> select * from aliases; +---------+----------+----------------------+------------------------------+ | AliasId | DomainId | Source | Destination | +---------+----------+----------------------+------------------------------+ ...... | 6 | 1 | no-reply@example.com | /dev/null | +---------+----------+----------------------+------------------------------+ 6 rows in set (0.000 sec) MariaDB [mail]> quit # systemctl restart postfix
You can test it by sending a e-mail to this address and check the maillog.
Be carefull when you use this address. It should only be used for reporting and confirmation purposes.
We can install webmail on the webserver if you need one. SMTP and IMAP must work for this.
Roundcube can be used with virtual domains.
With AWstats you can also view the mailserver logs.
Adding mailstats in awstats.
Default is unlimited. If this becomes a problem you can set a limit to the size of the mailbox.
Setting up a quota.
GNU Mailman is a computer software application from the GNU Project for managing electronic mailing lists. Mailman is coded primarily in Python and currently maintained by Abhilash Raj. Mailman is free software, licensed under the GNU General Public License.
You use it if you periodical send newsletters to subscribers.
# dnf install mailman3