The following tutorial requires the domain you want to set up bought from sakura.
In addition, you need to buy a sakura mailbox server, which costs 86 yen /month.
Suppose that you have a domain named
mydomain.jp and the sakura mailbox server account name be
mydomainmail with IP address
Now, you want to config the email
Firstly, you have to create
info account in your sakura mailbox server panel with password
mypassword123, and add your Gmail into this email's forward list.
Part 1: config email sending
This part is to enable you to send email from Gmail account on behalf of
Similar to this post, add this email to your Gmail account with the following information
- SMTP server:
- Port: 587
- Secured connection using TLS (recommended)
Part 2: config email receiving
This part is to make all mails sent to
firstname.lastname@example.org forwarded to your Gmail inbox.
In your DNS setting of the
mydomain.jp domain. Add these two records
This means when an MTA (mail transfer agent) sends an email to
email@example.com, in order to determine which IP address receiving the email request, the MTA try looking for
MXrecord of the domain
mydomain.jp, whose value is set as a subdomain
mail.mydomain.jp) with priority
MXrecord allows having multiple emails receiving servers. In the above config, there is only one.
18.104.22.168(the IP of the mailbox server).
This simply points
mail.mydomain.jpto your mailbox server
The above 2 records MIGHT be combined into one record entry
mydomainmail.sakura.ne.jp.(note the dot at the end of data value). However, I have not tested it yet.
In your mailbox server control panel, choose Domain/SSL setting (ドメイン/SSL設定), press Add new domain (新しいドメインの追加), in the second box(さくらインターネットで取得したドメインを使う). Select your domain and choose send (送信する).
Now all emails sent to
firstname.lastname@example.org are forwarded to
email@example.com, which are stored in the mailbox server provided by sakura, and forward to Gmail inbox.
Sakura mailbox does not limit the number of emails sent/received nor the number of accounts.
There are a total of 10GB of email be able to be stored in the sakura mail server (maximal 2GB for 1 user), whose copies are saved in your Gmail inbox if you have followed the setup in this post.