The following tutorial requires the domain you want to setup bought from sakura.
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 send email from Gmail account on behalf of
Similar to this post, add this email to your gmail account with 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
email@example.com forwarded to your gmail inbox.
In your DNS setting of the
mydomain.jp domain. Add these two records
10 mail. This means when an MTA (mail transfer agent) sends an email to
firstname.lastname@example.org, 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 subdomain
mail.mydomain.jp) with priority
MXrecord allows having multiple email receiving servers. In the above config, there is only one.
22.214.171.124(the IP of the mailbox server). Simply point
mail.mydomain.jpto your mailbox server
The above 2 records MIGHT be combined to 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 mails sent to
email@example.com are forwarded to
firstname.lastname@example.org, which are stored in the mailbox server provided by sakura, and forward to gmail inbox.
Sakura mailbox does not limit number of emails sent/received nor number of accounts.
There are total 10GB of email be able to be stored in 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.