Forums

Resolved
0 votes
Hi all,

I use ClearOS at home for primarily for the firewall. I have some domains that are hosted elsewhere and I would like to use to forward email from these domains to our personal Gmail accounts.

I have created MX records at my domain registrar but haven't found a complete solution on how to configure ClearOS to finish the setup.
I didn't find any posts that describe how to do this.

Does anyone have a setup like this or could point me in the right direction?

Thanks.
In Mail
Thursday, July 18 2019, 02:43 PM
Share this post:
Responses (10)
  • Accepted Answer

    Saturday, July 20 2019, 07:55 AM - #Permalink
    Resolved
    0 votes
    You can still do it without a static IP. You MX record needs to point to a A record. Your poweredbyclear.com address is good for that. For outbound e-mails it is a little trickier ans some mail servers block messages sent by a Dynamic IP and also your IP address should have a PTR recort attached. The way round this is to use an SMTP Relay service such as TurboSMTP. These are the people I use but there are plenty of others and they often have around 2,000 free e-mails per month which is fine for my domestic set up.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, July 20 2019, 06:45 AM - #Permalink
    Resolved
    0 votes
    Sounds like you want to do what I've done then.

    Your biggest issue will be email as I'm assuming you don't have a static public IP.

    I thought about doing what you're talking about - using gmail. I'd not recommend it .. I've got a gmail account that I've only ever used to send email once - a test account I set up to test the send/receive on my own set up .. and it still gets inundated with spam, so unless you want to have spam filling your inbox, I'd not recommend it.

    I originally used DYN.COM for my email as it was part of the registration package, but the email aspect got taken over by DuoCircle, and I have to say I'm extremely pleased with it .. I have the email gateway with them, and the SMTP service, paying for 150 emails per day which I find is more than sufficient. Once the single MX record and SPF and DKIM are defined it just sits there working. Costs me a total of $140 pa - not expensive for email peace of mind.

    The email gateway is brilliant; I don't see any spam/phishing emails; it all gets blocked before it gets anywhere near my server (I've checked their messages logs!), and using SSL between the two only on an authenticated connection (using a long, random password), anyone trying to hack their way in to my server directly (bypassing the DuoCircle gateway) fails authentication. So no spam, and no successful hacks for the past 5 years.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 19 2019, 08:32 PM - #Permalink
    Resolved
    0 votes
    I'm actually trying to get rid of my hosting account and use the ClearOS server. I've been paying for a hosting account for 12 years that does what you describe. My goal is to consolidate and use what I own and not rely on other services.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 19 2019, 06:47 PM - #Permalink
    Resolved
    0 votes
    Steve Beardall wrote:

    When you say "configure", do you mean create an MX record at my domain registrar that forwards emails to Gmail(Google)? I don't think that would works because Google requires authentication when you relay messages to their SMTP server.

    No I don't. Quite often, providers like whoever you've got your website hosted by, provide a number of ways of handling email - either by creating inboxes on their site (which you pays extra for), or provide you with (eg) a dozen email addresses that you can define forwards to the email address of your choice .. gmail for example. No different to clicking 'forward' in your email client!

    What I'm suggesting, is that you look at what email features are provided to your by your hosting service .. if you have the 'forward' capability, you just need to automatically forward emails to (your example) me@cleanmy.cloud on to the gmail account of your choosing. Then, in gmail, you define cleanmy.cloud as a legitimate domain from which you can send emails. You then either just use the web gmail client, or set up your account/authenticated smtp logins from your desktop client using your normal gmail login and your emails go out as though they are sourced from your domain (there could be an email header that reports the gmail is being used as the interface). No MX setups, and no COS interaction whatsoever.

    Read this ...
    https://support.google.com/mail/answer/22370?hl=en
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 19 2019, 04:40 PM - #Permalink
    Resolved
    0 votes
    How about a slightly different strategy which is easier to set up i.e I know how to do it.
    Set up ClearOS with the SMTP mail server and IMAP and POP.
    For your domain, set up an MX record pointing to your IP address, if you have a fixed IP address. If you don't, it needs to point to an A record, so point it to your poweredbyclear.com DDNS
    In ClearOS set the Mail Domain to cleanmy.cloud. If you already have the SMTP server set up with a different Mail Domain, add clearmy.cloud as a destination domain.
    Create a user called "me" or add "me" as an e-mail alias to a current user. They will receive you mail in ClearOS.
    You can then set up GMail to pick up messages from ClearOS by POP or IMAP
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 19 2019, 03:05 PM - #Permalink
    Resolved
    0 votes
    Maybe it would help if I described what I'm trying to do.

    I have a domain registered at hover.com named cleanmy.cloud
    I would like email messages sent to me@cleanmy.cloud (or even a catch-all account) to be forwarded to a Gmail account.
    There are free online services that do this (improvmx.com) but I would like avoid giving third parties access to my email messages.

    The first thing I need to figure out is what DNS MX record I need to create at the registrar.
    Second, I need to know how to configure postfix to enable it to receive and relay messages for that domain. It is not currently hosted on my ClearOS server.
    From the research I've done so far, configuring postfix would include using TLS and authenticating to Google so I can use their SMTP relay.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 19 2019, 02:46 PM - #Permalink
    Resolved
    0 votes
    When you say "configure", do you mean create an MX record at my domain registrar that forwards emails to Gmail(Google)? I don't think that would works because Google requires authentication when you relay messages to their SMTP server.


    Richard George wrote:

    I'm confused; unless I've completely misunderstood what you're trying to do, why not just configure the (remote) domains to forward emails directly instead of introducing another re-direction?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 19 2019, 07:11 AM - #Permalink
    Resolved
    0 votes
    I'm confused; unless I've completely misunderstood what you're trying to do, why not just configure the (remote) domains to forward emails directly instead of introducing another re-direction?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 18 2019, 06:34 PM - #Permalink
    Resolved
    0 votes
    Have you seen this HowtTo? I dream of the day when it will do-able in the webconfig.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 18 2019, 04:01 PM - #Permalink
    Resolved
    0 votes
    As I have been researching this, I realize that I will need to setup Postfix with TLS.
    The reply is currently minimized Show
Your Reply