Additional hosts that send mail for your domains gmail

You're looking to add additional hosts that can send mail on behalf of your domains using Gmail!

To do this, you'll need to set up a few things:

  1. Create a new Gmail account: Create a new Gmail account that will serve as the "additional host" that can send mail on behalf of your domains.
  2. Enable IMAP: Enable IMAP (Internet Message Access Protocol) on the new Gmail account. This will allow you to access the account's mailbox using a mail client or a script.
  3. Create a new label: Create a new label in the new Gmail account that will be used to filter incoming emails from your domains.
  4. Set up a filter: Set up a filter in the new Gmail account that will forward emails from your domains to the new label.
  5. Configure your DNS: Update your DNS settings to point to the new Gmail account's IP address as an additional MX record for your domains.

Here's an example of how you can set up the additional host:

Step 1: Create a new Gmail account

Create a new Gmail account, e.g., [email protected].

Step 2: Enable IMAP

Enable IMAP on the new Gmail account by going to the account settings and selecting "Forwarding and POP/IMAP" > "Enable IMAP".

Step 3: Create a new label

Create a new label in the new Gmail account, e.g., mydomain.com.

Step 4: Set up a filter

Set up a filter in the new Gmail account that will forward emails from your domains to the new label. You can do this by going to the account settings and selecting "Filters and Blocked Addresses" > "Create a new filter".

Step 5: Configure your DNS

Update your DNS settings to point to the new Gmail account's IP address as an additional MX record for your domains. You can do this by adding a new MX record with the following settings:

Here's an example of what the updated DNS record might look like:

@ IN MX 10 smtp.gmail.com

Step 6: Verify the setup

Verify that the setup is working by sending an email from your domain to the new Gmail account. The email should be delivered to the new label and can be accessed using IMAP or a mail client.

That's it! With these steps, you should now have an additional host that can send mail on behalf of your domains using Gmail.