This commit is contained in:
Zhang Huangbin 2015-09-29 21:28:26 +08:00
parent 48c5834ed5
commit 4468f4169c
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@ With MySQL/MariaDB or PostgreSQL backend, you can add catch-all account for
existing domain `domain.com` in SQL table `vmail.alias` like below:
```sql
$ mysql -u root -p
sql> USE vmail;
sql> INSERT INTO alias (address, goto, domain)
VALUES ('domain.com', 'dest@example.com', 'domain.com');

View File

@ -16,7 +16,8 @@ accounts under hosted mail domains. If you want to accept these emails, you
need a domain catch-all account.</p>
<p>With MySQL/MariaDB or PostgreSQL backend, you can add catch-all account for
existing domain <code>domain.com</code> in SQL table <code>vmail.alias</code> like below:</p>
<pre><code class="sql">sql&gt; USE vmail;
<pre><code class="sql">$ mysql -u root -p
sql&gt; USE vmail;
sql&gt; INSERT INTO alias (address, goto, domain)
VALUES ('domain.com', 'dest@example.com', 'domain.com');
</code></pre>