This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to add google as an upstream relay?

I am evaluating the latest ASG (which is VERY impressive) and seem to be having trouble determining the best way to allow mail from google/gmail as an upstream relay. I can easily add a single ip, but google/gmail have many, on different subnets, and so this is not always static? I tried by adding google.com as a DNS Host or Group, but this didnt work either.

Any suggestions?


This thread was automatically locked due to age.
Parents
  • I didn't know it was possible to get anything other than POP3 email with Google.  Do you have a google account that sends you SMTP?

    Thanks - Bob
  • Actually you can also get IMAP with Google, but thats not related to my issue. I need to forward mail from Google/Gmail to my ASG box so Google/Gmail needs to be set as an "upstream SMTP" server. Its just that they use so many different ip's even different hosts, so I dont know how to capture them all with the settings for an upstream relay.
  • I've never seen this discussed before, but I don't believe it's possible to route POP3 or IMAP through the SMTP Proxy.
  • Actually this is simply mail forwarding, nothing complex or related to POP or IMAP. But the forwarding server(s) need to be "permitted" upstream relays and the issue is that Google uses MANY machines for this and so I am not sure how to capture all of them as permitted relays. I am certain MANY ASG users forward mail from upstream servers.
Reply
  • Actually this is simply mail forwarding, nothing complex or related to POP or IMAP. But the forwarding server(s) need to be "permitted" upstream relays and the issue is that Google uses MANY machines for this and so I am not sure how to capture all of them as permitted relays. I am certain MANY ASG users forward mail from upstream servers.
Children
  • Can you do a DNS Host definition for whatever.gmail.com?

    Barry
  • Barry, If he's not receivning SMTP email from Google, I don't understand how adding Gmail servers to the SMTP Proxy will cause the Astaro to accept POP3 mail.  As I understand it, accepting POP3 email is done in the POP3 Proxy and that does not depend on specific server addresses.  What don't I know?

    Cheers - Bob
  • Hi Bob, my understanding is it WILL be SMTP... he's going to set gmail to FORWARD email to his other address. (this is a free setting in gmail).

    Barry
  • I can't find a setting in Gmail for SMTP, only IMAP and POP.
  • It's called 'forwarding', not SMTP.

    Gmail - Settings - Forwarding and POP/IMAP

    On that page, you can choose "Forward a copy of incoming mail to"

    And google will forward via SMTP.

    Barry
  • Isn't that just a forewarder?  It lets me forward a copy of myaccount@gmail.com to myaccount@mydomain.com, and the only "trick" needed is to create an exception for SPF checking for mail from gmail.com.

    Here's what I understand: If my in-house domain has a first MX-record that points at my IP at mail.mydomain.com and a second one that points at mydomain.google.com, Google will receive emails for me when my server at mail.mydomain.com is down.  In that case, I would want mydomain.google.com listed as a smarthost.

    What have I misunderstood?