Mark Round Posted September 19, 2021 Posted September 19, 2021 Using an smtp alongside a gmail address setup I’m finding that emails are going to spam . Is there a guide to prevent this from happening ? I can see historically this has happened to a lot of people with no real solution . A guide would help here
Jim M Posted September 19, 2021 Posted September 19, 2021 Are you using Google’s SMTP service? This would be the only way to prevent this as you would need to authorize the SMTP server via DNS to send email via a domain and as you don’t own the gmail.com domain would not be able to authorize it unless you use Google’s SMTP service.
Mark Round Posted September 19, 2021 Author Posted September 19, 2021 I am using googles smtp service how do i authorise gmail via dns? sorry ive not set this up like this before?
Jim M Posted September 20, 2021 Posted September 20, 2021 If you’re following Gmail’s directions for their SMTP server and a Gmail email address that is all you need, as Gmail would authorize it. I have moved this to our server so you can obtain further assistance though from the community.
EmpireKicking Posted September 20, 2021 Posted September 20, 2021 I think it's working well for my end going though sendgrid, however when emails sent the images are missing ;(
Mark Round Posted September 20, 2021 Author Posted September 20, 2021 I've tried multiple things and still all going to spam.Any ideas?
EmpireKicking Posted September 20, 2021 Posted September 20, 2021 1 hour ago, Mark Round said: I've tried multiple things and still all going to spam.Any ideas? Do you even use sendgrid?
CoffeeCake Posted September 22, 2021 Posted September 22, 2021 Trying to understand what the issue is here--are you using a Google Workspace (previously GSuite) to send e-mails from your forum, or an actual consumer @gmail.com account? This is likely not an IPS issue, but rather one of: Your SPF/DKIM records are not correct The account you are using to send e-mail from has been flagged enough times by recipients that it is considered by the email providers to be spam IPCommerceFan and Mark Round 1 1
jesuralem Posted September 22, 2021 Posted September 22, 2021 email delivery is always complicated. What i do is use https://www.mail-tester.com/ to check my dkim and spf records are OK. you should give a try. it will give you an idea of what is going wrong. Mark Round 1
Mark Round Posted September 22, 2021 Author Posted September 22, 2021 10 hours ago, CoffeeCake said: Trying to understand what the issue is here--are you using a Google Workspace (previously GSuite) to send e-mails from your forum, or an actual consumer @gmail.com account? This is likely not an IPS issue, but rather one of: Your SPF/DKIM records are not correct The account you are using to send e-mail from has been flagged enough times by recipients that it is considered by the email providers to be spam If I send email directly it is not spam if I use invision to send it is spam
CoffeeCake Posted September 22, 2021 Posted September 22, 2021 29 minutes ago, Mark Round said: If I send email directly it is not spam if I use invision to send it is spam Check SPF & DKIM records for the domain of your e-mail account. For example, if you are sending e-mail from forum@markround.com, then look at your DNS SPF and DKIM records for markround.com. Make sure they validate. If you are sending email from forum@gmail.com, you don't control those SPF/DKIM records and I'd highly discourage doing this. Use a proper SMTP server. Paste the headers from one of these e-mails that are getting flagged as spam and we should have the answer right there. Mark Round 1
Mark Round Posted September 22, 2021 Author Posted September 22, 2021 Thanks again just for clarity I’m using a gmail from google workspace at example@mysite.com which was created within google workspace
CoffeeCake Posted September 22, 2021 Posted September 22, 2021 43 minutes ago, Mark Round said: I’m using a gmail from google workspace at example@mysite.com which was created within google workspace Fantastic. Please paste e-mail headers from a message that was flagged as spam (you can replace the domain wherever it appears with example.com or similar).
jesuralem Posted September 22, 2021 Posted September 22, 2021 Do you manage the dns zone for "mysite.com" ? You may want to add google servers to the spf entry : https://support.google.com/a/answer/10684623?hl=fr Did you try to diagnostic with mailtester ? did it tell you where you have issue ?
Mark Round Posted September 22, 2021 Author Posted September 22, 2021 (edited) 32 minutes ago, CoffeeCake said: Fantastic. Please paste e-mail headers from a message that was flagged as spam (you can replace the domain wherever it appears with example.com or similar). X-Microsoft-Antispam-Mailbox-Delivery: abwl:0;wl:0;pcwl:0;kl:0;iwl:0;ijl:0;dwl:0;dkl:0;rwl:0;ucf:0;jmr:0;ex:0;psp:0;auth:0;dest:J;OFR:SpamFilterAuthJ;ENG:(5062000284)(90000117)(90005022)(91005020)(91035115)(5061607266)(5061608174)(9050020)(9100336)(4900116)(2008001134)(2008000189)(2008120379)(2008019284)(2008021020)(58390106)(98390106)(8390246)(8377080)(8386120)(8376100)(8403011)(8391040)(210498285)(210499095)(210410095)(18409033)(18506011)(18402072)(18406023)(4910005)(9560002)(9320001)(4920091)(6394003)(4950132)(4990091)(9140004);RF:JunkEmail; X-Ms-Exchange-Transport-Endtoendlatency: 00:00:01.0012526 X-Ms-Exchange-Crosstenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-Ms-Exchange-Organization-Expirationstarttimereason: OriginalSubmit X-Ms-Exchange-Organization-Authsource: VE1EUR03FT025.eop-EUR03.prod.protection.outlook.com X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :auto-submitted:content-transfer-encoding; bh=l9lmhY+QWeDWymQCFU3mKKIe+v1NAW7t3a+Dq/T+P6s=; b=eZW9Fhtdj+TI9RznVKL0RL9V9eWHmUJhdfSEiIU/yRiFrDU9pOGPVqYGu2IrHWZaN1 55NpzeJSknOlLkRRHwr5H8yrc1CYA0cS2vaafgGv3R2jRs6+ZDJZKgc3vVmKiBIP5GzZ xPKGTEX2XWV1oBnJwpliVxfYankITSeSAFgmGhtbOqfRB+6vFRm/J/s3PT+WdW0W7tsq MCUwSpiQsUeshvgRPVhohPAsTGR/7OXMklzyrvzOMc6YAyOrWDpGwTcj54ni82Wb8QRz /vsDR894yVUVYxMsS1UslVOJBHCVhJSDOq/1bvgdNiutKS2BidGGPcMFmlfU4X/SnwiP mWqg== X-Ms-Exchange-Crosstenant-Originalarrivaltime: 22 Sep 2021 14:35:09.4316 (UTC) X-Microsoft-Antispam-Message-Info: sNsjMAb/085X3a4Gxev7rzzf+CbGNM3kBTHcNJDEQeyhkY00G0YBXrk3wAIcUZeVc5013GBpqJqSu8UKCkfc+PlE1MhPuHjT1C2IFYL5m8h2ufyacr+EsQCV+jU+grFagDnEHRURb37PdJFK3r9j7cpxM4MJIEuvPXoxgrvJqbwe3knyujza/IhUG+XgEbyoaKzYGvbfY/ihyHRg9lfZofNv92tzXbt505zuR+0akTtRyukr5VTEuic/2uRLuVtFYebDlt85x4eZEpYtZ2Sp1wh4CHs8gfFFNruXUbyB9CrMhrOALCIqZLlEXuT06MMHgJcwiViXKhWsqjH2psBqMbgxp0ByNW4uApHmHGW9yVIrUSm7gE0aaX2ZqUWJjfUFO7QPO5Z7nj39VqeIClJ/WDK3j9Txv+puG+FJVQz+uhzuZCWdPgJlMmaGXzjwYLxIiLOnPpdgohmdYZnyC3YiVtUe9MfX5KAxoI3pn6b/fZzu/8Od0OKi6gFvfHiaN+wbSwnTPKweukuL5wBevNJoS9vxN3Gd+Nj7OZQF7tQpMweZOmWilRqcAjvVjCc7wqRFFI8hQSqBZZETvgbn6MnIsw2l5P5N7ImHe0rjE7gZgtfw5oOzwkOfkc19akFsWi5R/nND3glc2r+ZDuRSdXrJbrqp8yDPTh6xdJqa0mCQd7C3Bjb0iN4C2/yFB70pbo1xg1SKeZdJ+tWEaJ/vHgnPaEN7bVwgBTqTu4yGFfAjjnQszlJ5iZn+EJh2h9SMrdfqH8kU5Ik0iMvC1M3FTKjNqO/TSFTQp5IVtFPo4X6HKWBVDG9iW2aprQIzVfrBNMzh0fCLPZBNGt5EtSIymfsUQl+4kaeOA6hYl6M+R5pgLPRMAYJu1tjaUZLoa4CpYgPC3AlYbo+hX+DjpVQik0A7zx8IU2xHTp1sYUZmWGTqmqkuEfyfOe7zBhGXJ+GDWuBjr3zL9DVJJlGsez7GSgQ+4xiOoBxME8METQVaqAx8i3/qCDioJ0/bl4IqUj8xg2Zbr9Q29M6n1904cEzfW9j4vtODrgv/4bcEWzihk85oULuwzaa1qetXmAD2qXVT8fIEvGE+E/IswagzPY6av1d6GOHHPpYW2R+zrTcGaZBoMj1JS2dLMSpKqr/pfcNh8Y2JtG+SJ1RKXNJB/A6rOB1IwkQnBSOk7aYba27kmeiaAcIcywFq6+KlZa+BvFzrbIw9mN85eXsoZokCZPtzqjyy9MaA0ZFqSisA5v0hFZK68sY= X-Ms-Exchange-Crosstenant-Network-Message-Id: e91c05db-f20c-403e-663b-08d97dd62dcf X-Ms-Exchange-Organization-Network-Message-Id: e91c05db-f20c-403e-663b-08d97dd62dcf Authentication-Results: spf=softfail (sender IP is 209.85.216.68) smtp.mailfrom=example.com; live.co.uk; dkim=pass (signature was verified) header.d=fishduck-com.20210112.gappssmtp.com;live.co.uk; dmarc=none action=none header.from=example.com; X-Ms-Exchange-Processed-By-Bccfoldering: 15.20.4523.018 X-Ms-Office365-Filtering-Correlation-Id: e91c05db-f20c-403e-663b-08d97dd62dcf Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fishduck-com.20210112.gappssmtp.com; s=20210112; h=message-id:mime-version:to:from:subject:date:auto-submitted :content-transfer-encoding; bh=l9lmhY+QWeDWymQCFU3mKKIe+v1NAW7t3a+Dq/T+P6s=; b=c4urZ97Pnv0slw2r7bK0DFPDBNj9rMvROGELNxE0BkYtl5YOqjTKXTniRv0f1EBzSk eSyNWEtqk6dqVw9iGPlV87lMtTcwgJ9t+QgzoiJVdWkwvZf86viu8Z6wK8800v8ckT/y DFVg8DnFfP73QQzrXappkdDCnsl7OixvcPoBqxx4s6tjYnBUHZEayhaZUeuDVsbv/m3y lkeYcp3zKcePpyXvX1rX4ocPomRJPfPFt2xnre00MgM6OCBxdOcZ0Mmi+jLqCRpw8wQP iGWa6A0EN9muexWd/GTIuSTfT9iqnuw9Kih3HlH2otp3CIqC3y4w55EU8OzFQE4leSP+ CsBw== Return-Path: me@example.com Auto-Submitted: auto-generated X-Ms-Exchange-Crosstenant-Authas: Anonymous X-Sender-Ip: 209.85.216.68 Received-Spf: SoftFail (protection.outlook.com: domain of transitioning example.com discourages use of 209.85.216.68 as permitted sender) X-Ms-Traffictypediagnostic: VE1EUR03HT055: X-Ms-Exchange-Organization-Expirationstarttime: 22 Sep 2021 14:35:09.4676 (UTC) X-Ms-Exchange-Organization-Expirationinterval: 1:00:00:00.0000000 X-Ms-Exchange-Crosstenant-Rms-Persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-Gm-Message-State: AOAM533PNs5rHnalfkeHBMNaAkJdtgkzcVA1PMEcmkiT7pqhDPH9frOs tKoLbl9xLujoR2EiKVfIpfbIkdKrT0zi43NDsMlBLNd/ Content-Type: multipart/alternative; boundary="--==_mimepart_152ad24739bd963c08802cfb27dedb21"; charset=UTF-8 X-Eoptenantattributedmessage: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa:0 X-Ms-Exchange-Transport-Crosstenantheadersstamped: VE1EUR03HT055 X-Ms-Exchange-Organization-Authas: Anonymous X-Incomingheadercount: 17 X-Incomingtopheadermarker: OriginalChecksum:7E32EE739B7A64A585D91AA5F968501F77B3C147B4ECB38900A5388C99A77073;UpperCasedChecksum:163DF73A8696567DCDA87EED26D45AC3A089F691362C0F7269F9AB40EB5D1117;SizeAsReceived:2685;Count:17 X-Sid-Pra: me@example.com X-Ms-Userlastlogontime: 9/22/2021 2:32:25 PM X-Google-Smtp-Source: ABdhPJzuSxvDDRZpNEj3Dk6PcbPrqOvbWUItfMv7ayUp7ZNk0ZkGw+obL1ZIIOUrgtzVfq0Onqp+2g== X-Message-Info: qoGN4b5S4yrzCF3crJl5wgfN0w4NVAQRNRdrL5iYUSJz6B77Tmt+yOR8o/HpsJY3Tvrss9PLVbIGRJW6IrJnogN/Dzkc6npos8gvLza8smSpiSCbx+3z9h9fhzyGjKueJ7oXQD1HhVP+PvZz1Z3QTBQob2rlFG46ZqBR4IZKMjddN4BurAwsqi+UuIV7nE0TTHSbGlXqb5xZ8hE0Fo/9Ng== X-Originatororg: outlook.com X-Ms-Exchange-Crosstenant-Fromentityheader: Internet X-Ms-Exchange-Organization-Pcl: 2 X-Microsoft-Antispam: BCL:0; Content-Transfer-Encoding: 8bit X-Ms-Exchange-Eopdirect: true X-Ms-Exchange-Organization-Expirationintervalreason: OriginalSubmit Received: from VE1EUR03HT055.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:331::14) by AM5P190MB0515.EURP190.PROD.OUTLOOK.COM with HTTPS via AS8PR04CA0159.EURPRD04.PROD.OUTLOOK.COM; Wed, 22 Sep 2021 14:35:10 +0000 Received: from VE1EUR03FT025.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e09::53) by VE1EUR03HT055.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e09::202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Wed, 22 Sep 2021 14:35:09 +0000 Received: from mail-pj1-f68.google.com (209.85.216.68) by VE1EUR03FT025.mail.protection.outlook.com (10.152.18.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14 via Frontend Transport; Wed, 22 Sep 2021 14:35:09 +0000 Received: by mail-pj1-f68.google.com with SMTP id t20so2182820pju.5 for <me@myrecivingemail@gmail.com>; Wed, 22 Sep 2021 07:35:09 -0700 (PDT) Received: from smtp.gmail.com (ec2-54-202-128-8.us-west-2.compute.amazonaws.com. [54.202.128.8]) by smtp.gmail.com with ESMTPSA id m21sm2735897pfa.216.2021.09.22.07.35.06 for <me@myrecivingemail@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Sep 2021 07:35:06 -0700 (PDT) X-Eopattributedmessage: 0 X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtHRD0yO1NDTD02 X-Ms-Exchange-Organization-Scl: 0 X-Received: by 2002:a17:90a:bf09:: with SMTP id c9mr4605384pjs.58.1632321307463; Wed, 22 Sep 2021 07:35:07 -0700 (PDT) X-Ms-Exchange-Organization-Messagedirectionality: Incoming <614b3f1a.1c69fb81.b961e.742e@mx.google.com> Mime-Version: 1.0 X-Ms-Publictraffictype: Email X-Ms-Exchange-Crosstenant-Authsource: VE1EUR03FT025.eop-EUR03.prod.protection.outlook.com X-Sid-Result: FAIL Edited September 22, 2021 by Mark Round
Mark Round Posted September 22, 2021 Author Posted September 22, 2021 15 minutes ago, jesuralem said: Do you manage the dns zone for "mysite.com" ? You may want to add google servers to the spf entry : https://support.google.com/a/answer/10684623?hl=fr Did you try to diagnostic with mailtester ? did it tell you where you have issue ? Yes i found a server config error i think with the spf rules
jesuralem Posted September 22, 2021 Posted September 22, 2021 Received-Spf: SoftFail (protection.outlook.com: domain of transitioning example.com discourages use of 209.85.216.68 as permitted sender) Setting a correct spf entry on your dns should definitely improve email deliverability. Mark Round 1
Mark Round Posted September 24, 2021 Author Posted September 24, 2021 On 9/22/2021 at 3:34 PM, jesuralem said: Do you manage the dns zone for "mysite.com" ? You may want to add google servers to the spf entry : https://support.google.com/a/answer/10684623?hl=fr Did you try to diagnostic with mailtester ? did it tell you where you have issue ? Does anyone have an example spf that uses google workspace email ,im still getting softfail for server not permitted to send (remove any personal data)
Randy Calvert Posted September 24, 2021 Posted September 24, 2021 https://support.google.com/a/answer/10685031 If you've configured your IPB to send email via SMTP instead of the default PHP (meaning from your server), it looks like the SPF record is: v=spf1 include:_spf.google.com ~all If your server itself is sending mail (via PHP), you would need to do something like: v=spf1 ip4:XXX.XXX.XXX.XXX include:_spf.google.com ~all Where XXX is your server's IP address. If you post the domain name, we can look up the SPF record to see if it's still incorrect. A good tool to check out might be: https://mxtoolbox.com/SuperTool.aspx It will let you check your SPF, DKIM, and DMARC settings to see if it's reporting errors. BomAle, Mark Round and Maxxius 2 1
Mark Round Posted September 25, 2021 Author Posted September 25, 2021 This is horrbile to configure, how do i add a range of ip adresses also ? i have the google thing in there
Randy Calvert Posted September 25, 2021 Posted September 25, 2021 What is the domain name? If you’re not comfortable posting it, PM me. I’ll look up the settings. Mark Round 1
Randy Calvert Posted September 25, 2021 Posted September 25, 2021 (edited) Received your PM. The SPF and DKIM are both good. I signed up for your forum using a custom domain using iCloud.com and it reported no problems. It immediately went into the inbox as expected. I then changed my email address to an Outlook domain which was fine also. I finally changed my email address to Gmail. That message went into the spam folder. In Gmail, if you choose "Show Original", it will give you the raw headers and the status of the SPF/DKIM. For the email change notification, it reported: Original Message Message ID <614f7db4.1c69fb81.1a599.5cae@mx.google.com> Created at: Sat, Sep 25, 2021 at 3:51 PM (Delivered after 2 seconds) From: Our Beloved Ducks Forum <forum@YOURDOMAIN.COM> To: MYEMAIL@gmail.com Subject: Please confirm your email address change SPF: PASS with IP 209.85.220.65 Learn more DKIM: 'PASS' with domain YOURDOMAIN.COM Learn more So it's not a SPF/DKIM issue. You're good on that front. Gmail simply reports: Why is this message in spam? It is similar to messages that were identified as spam in the past. So it's not a technical limitation on your setup/config. My guess is the domain itself has received spam complaints in the past. You might want to use Google's Postmaster Tools site... https://postmaster.google.com Since you're using Google Workspace, you can actually reach out to Google for assistance. https://support.google.com/a/table/3247295?hl=en-AU They should be able to help note why their systems are flagging stuff as spam. Edited September 25, 2021 by Randy Calvert Mark Round 1
Mark Round Posted September 25, 2021 Author Posted September 25, 2021 Thanks Randy ,thats really helpful.Can you remove the domain from the above though .I'll give those things a shot.
Recommended Posts