integration of google apps for domain

15 posts / 0 new
Last post
#1 Tue, 05/26/2009 - 13:18
Mick27

integration of google apps for domain

Hi everyone,

On my servers, I use google apps for domain/gmail to handle the mails. Why ? because I tend to move from different hosting times to times (Like before having my own server, I was at dreamhost), that's why I like to use the gmail infrastructure to handle my mails as it is working pretty well. (+ I have all the gmails features, and one of the best antispam in the world).

I would really like to have google.com/a integrated as a mail option in virtualmin: -If my domain is set to use this, the dns records a set accordingly (spf + mx + cname like mail.domain.com) -Maybe it would be possible to configure mailman to use one of my gmail accounts -etc etc.

I think that would be a cool stuff.

Thanks,

Thomas

Tue, 05/26/2009 - 13:32
ronald
ronald's picture

i thought this could easily be done by changing your mx records in the zone file to point to google's

Wed, 05/27/2009 - 06:07 (Reply to #2)
ronald
ronald's picture

i think this is done because the new user needs a login name for his ftp.
his login name is a personalised email address so he can receive password reminders too.
your choices are:
email only
email+ftp
email+ftp+sh

as far as I know this is how the software is suppose to work. Else he would have to login with johndoe@gmail.com

but i may be totally wrong here

Wed, 05/27/2009 - 13:47 (Reply to #3)
ronald
ronald's picture

you would still have to have a postmaster and abuse email for every domain set up. You can forward it to the gmail account.
You need to have those since anyone needs to be able to send an email to abuse@whatever.com and postmaster@whatever.com according to some RFCxxxx number

Tue, 05/26/2009 - 14:50
Mick27

that is what I'm doing actually, but it's not "fully" integrated as my domains still have the various original mail fields

Tue, 05/26/2009 - 16:09 (Reply to #5)
Joe
Joe's picture

<div class='quote'>that is what I'm doing actually, but it's not &quot;fully&quot; integrated as my domains still have the various original mail fields </div>

I don't know what this means. ;-)

What &quot;fields&quot; are you talking about?

--

Check out the forum guidelines!

Wed, 05/27/2009 - 04:02
Mick27

sorry, I guess field isn't the right word in english (I'm French :p)

what I mean is, for example, if I create a ftp user, it still create the mail user locally, which is not needed for me. stuff like that.

thanks for the quick answers though !

Wed, 05/27/2009 - 08:03
Mick27

Another example as I'm creating a new template right now,
there are a bunch of things I can configure for when I want to add a new domain.
like the aliases postmaster etc.
with a gmail setup it's not/less necessary.

I know everything is still working with these, but it's not clean clean :p

Wed, 05/27/2009 - 18:06 (Reply to #8)
Joe
Joe's picture

As ronald mentioned, you need a working postmaster address. There are RFCs to think about here. ;-)

But, if you've disabled mail for the virtual server in question, and pointed your MX records to GMail, then those should also be going to the GMail servers.

--

Check out the forum guidelines!

Mon, 06/01/2009 - 15:00
Mick27

hi, sorry for the delay.

in this case, gmail takes care of this, and you can have theses mail copied to one of your accounts.

Wed, 08/26/2009 - 02:38
zatsu

I have a server that the only sites I host on it utilize the google apps. On that server I have the following settings:

System Setings > Features and Plugins:
Turn off Mail for Domain, Mailman

System Settings > Server Templates

Create template based off of default settings and save it. (I call it google apps enabled)

In that template, I turn off SPF1 in BIND DNS domain settings

Edit the BIND settings and add in the "BIND DNS records for new domains"
I select the "Records below..." radio button and then add:

${DOM}. IN TXT "v=spf1 a mx a:${DOM} ip4:ip.address.of.the.server include:aspmx.googlemail.com ~all"
${DOM}. IN MX 1 aspmx.l.google.com.
${DOM}. IN MX 5 alt1.aspmx.l.google.com.
${DOM}. IN MX 5 alt2.aspmx.l.google.com.
${DOM}. IN MX 10 aspmx2.googlemail.com.
${DOM}. IN MX 10 aspmx3.googlemail.com.
${DOM}. IN MX 10 aspmx4.googlemail.com.
${DOM}. IN MX 10 aspmx5.googlemail.com.
mail.${DOM}. IN CNAME ghs.google.com.
calendar.${DOM}. IN CNAME ghs.google.com.
docs.${DOM}. IN CNAME ghs.google.com.
start.${DOM}. IN CNAME ghs.google.com.

This allows any virtual server I set up to automatically use the google apps service for mail etc.

I hope this helps.

Sun, 03/07/2010 - 13:30 (Reply to #11)
husskii

hi zatsu I know you made this post a few yrs ago, but Im hoping your still here to help me out with this :)

as I try turn off mail for domain and mailman I get the error

Failed to save enabled features : The feature Mail for domain  cannot be disabled, as it is used by the following virtual servers : hostmeweb.co.cc munsterhost.com

just wondering if you could show me how to turn them off, I tried editing the virtual servers and disabling Mail for domain enabled? & Allow Mailman mailing lists?, but then i get an error Failed to modify server : Spam filtering cannot be enabled unless email is

but when i go to system information>>status>> Postfix Mail Server, Dovecot IMAP/POP3 Server & SpamAssassin Filter Server are turned off..

I actually cant turn Dovecot IMAP/POP3 Server back on.. so i dnt see why im getting these errors. basically I want to be able to use my google apps for my mail, as its already setup and i know how to use it... but at the moment Im thinking because vmin mail is somehow on, its conflicting with my gmail and am unable to recieve support tickets or mail from cronjobs..

Thanks:)

Sun, 03/07/2010 - 13:32
andreychek

It sounds like you're close!

Whenever you're going to disable email for a Virtual Server, you would need to disable Spam and Virus scanning at the same time.

That's in the same area as the Mail feature... in Edit Virtual Server, in the "Features" section, you can disable "Virus filtering enabled" and "Spam filtering enabled".

-Eric

Tue, 03/09/2010 - 05:13
husskii

Hi Eric thanks for replying :) mails is setup now and everything works good now... after disabling mail feature, the trick was to apt-egt install php5-imap, and that allowed me to link my emails etc and receive the support tickets...

cheers husskii

Wed, 10/28/2015 - 03:22
ceduth

It proved very useful to me almost after 7 years . Wanted to let it be known.

Topic locked