Using gmail as mailserver

10 posts / 0 new
Last post
#1 Mon, 10/27/2008 - 06:49
balzercomp

Using gmail as mailserver

Hi,

one of our customers is using google apps including the gmail-part. Is there any way I can setup this with VMPro? Aside of the gApps, some subdomains/-servers are to be hosted on our server.

Currently any mail that is send from our server to the domain that runs gApps, doesn't leave our server since I have to setup a mail-server for this domain.

Thanks for your help

Gerald

Mon, 10/27/2008 - 08:36
andreychek

Sure, you can definitely host a website within Virtualmin, but email at Google apps.

To do that, first go into "Edit Virtual Server", and uncheck "Mail for domain enabled" in the server features.

At that point, you just need to point the MX records to the Google apps server.

To do that, you can go into Servers -> DNS Domain, make sure you delete the "Mail Server" records pointing to your server, then add the ones Google apps tells you to use.
-Eric

Mon, 10/27/2008 - 09:23 (Reply to #2)
balzercomp

Thanks Eric,

I thought I tried this before, but it didn't work. I tried it today and it seems to work. Maybe the problem I had was fixed with one of the updates since my first try.

Gerald

Mon, 10/27/2008 - 14:48 (Reply to #3)
Joe
Joe's picture

I have an old "retired" domain that I use gmail for, just so I won't have to deal with all the spam (which is 99% of the mail this old domain gets). It's been running fine for years.

If you wanted to do this in a wholesale fashion--i.e., all of your domains having mail hosted by GMail--you could add the necessary MX records to the BIND Server Template, and disable mail by default. Also works fine. Several users do that because they have a dedicated mail server. (Some go one step further down the path to awesome, and use the "Command to run after..." features in Virtualmin to trigger automatic management of users on the mail server.)

--

Check out the forum guidelines!

Thu, 01/15/2009 - 10:25 (Reply to #4)
sammyz

<b>andreychek wrote:</b>
<div class='quote'>Sure, you can definitely host a website within Virtualmin, but email at Google apps.

To do that, first go into &quot;Edit Virtual Server&quot;, and uncheck &quot;Mail for domain enabled&quot; in the server features.

At that point, you just need to point the MX records to the Google apps server.

To do that, you can go into Servers -&gt; DNS Domain, make sure you delete the &quot;Mail Server&quot; records pointing to your server, then add the ones Google apps tells you to use.
-Eric</div>

Hi,

If we follow the instructions above and use Google hosted apps email for our domain, will the applications running on the domain/server still be able to send out email? Do we have to make any other changes?

Cheers!

-SAM

Thu, 01/15/2009 - 11:46 (Reply to #5)
Joe
Joe's picture

<div class='quote'>If we follow the instructions above and use Google hosted apps email for our domain, will the applications running on the domain/server still be able to send out email?</div>

Of course. Local SMTP service is wholly separate from incoming virtual mail, POP3/IMAP, etc. Just having Postfix running, with no configuration <i>at all</i>, will be able to send mail out, assuming you have your DNS and hostname configured correctly.

--

Check out the forum guidelines!

Thu, 01/15/2009 - 11:52 (Reply to #6)
andreychek

Sure, you can host mail on Google, but send email from your server.

One issue to watch out for is SPF records -- where ever your DNS is being hosted, if there's any SPF records being setup, just make sure both Google and your server's IPs are setup as authorized to send mail for your domain.
-Eric

Tue, 04/23/2013 - 04:22
Isonomia

Hi all!

I admin a server below a University network, I removed the "mail for domain" and added the MX records. How I can know if I have done correctly? There's no place to attach my account? Sorry if the questions are a bit stupid, I'm a newbie.

The university serves me only if I ask specifically what I need.

Any help?

Tue, 04/23/2013 - 08:19
andreychek

Howdy,

Edit: I think I answered the wrong question with my original post.

Are you trying to setup Gmail to accept email for your domain?

Or are you trying to relay outgoing email through Gmail?

-Eric

Fri, 04/26/2013 - 04:53
Isonomia

EDIT2: All problems solved, my server was blocked by the top network on port 25. Now I can send mails from the moodle platform.

EDIT: The name "mailbox" it's simply a Google Account that delegates to other accounts.

My university has a convention with Google. All our email accounts are gmail accounts administered by the university. We have the option of having an account type that we call "mailbox". In this mailbox you can link multiple personal email accounts. Thus, a department can have all workers linked to the account "mailbox" and work together.

Basically: I'm trying to configure outgoing e-mails from a moodle platform.

What I have: a personal google account access to "mailbox" google account

What I want: moodle can send outgoing mails via that "mailbox" account

PS: I am also waiting for the university computer technicians give me a solution.

Topic locked