mitigating gmail spam traps: how does one add the required headers?8

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

mitigating gmail spam traps: how does one add the required headers?8

Tom Browder
Gmail has a list of steps recommended to minimize spam identification, particularly mail sent as bulk mail (as from mailing lists).

One of the recommendations is to use DKIM and that is clearly explained on the postfix website.

The other steps are fairly straight forward, also, but how does one add the various headers they recommend?  I assume it's via a filter, but which one and how is it done?

Thanks.

-Tom

Reply | Threaded
Open this post in threaded view
|

Re: mitigating gmail spam traps: how does one add the required headers?8

lists@lazygranch.com
It would help to have a link to Gmail's suggestions.

This website tests dkim and spf. 
http://dkimvalidator.com



  Original Message  
From: [hidden email]
Sent: August 29, 2017 4:10 PM
To: [hidden email]
Subject: mitigating gmail spam traps: how does one add the required headers?8

Gmail has a list of steps recommended to minimize spam identification, particularly mail sent as bulk mail (as from mailing lists).

One of the recommendations is to use DKIM and that is clearly explained on the postfix website.

The other steps are fairly straight forward, also, but how does one add the various headers they recommend?  I assume it's via a filter, but which one and how is it done?

Thanks.

-Tom

Reply | Threaded
Open this post in threaded view
|

Re: mitigating gmail spam traps: how does one add the required headers?8

Tom Browder
On Tue, Aug 29, 2017 at 6:17 PM, Gary <[hidden email]> wrote:
> It would help to have a link to Gmail's suggestions.

Good idea, Gary.  Here it is:

  https://support.google.com/mail/answer/81126?hl=en

-Tom
Reply | Threaded
Open this post in threaded view
|

Re: mitigating gmail spam traps: how does one add the required headers?8

Dirk Stöcker
In reply to this post by Tom Browder
On Tue, 29 Aug 2017, Tom Browder wrote:

> Gmail has a list of steps recommended to minimize spam identification, particularly mail sent as bulk mail (as from mailing lists).
>
> One of the recommendations is to use DKIM and that is clearly explained on the postfix website.
>
> The other steps are fairly straight forward, also, but how does one add the various headers they recommend?  I assume it's via a filter, but which one and how is it done?

The recommendations from the Google link you gave usually boils down to:
* use software properly adhering to standards (e.g. for mailinglists) and
   configure it properly
* if you send mail with your own software make sure you generate mails
   which follow the standards
* check if what you send really is what you want to send

Google is especially unhappy when you send lots of mails (e.g. from a
warning or information system) and don't mark the mails as "bulk". The
PTR, SPF, DKIM setups are very important for them as well if you send bulk
mail and the fact that Google users don't have any of your mails in their
Spam folders. If you get bounces for some users it may be better to inform
and unsubscribe them instead of loosing reputation. They can resubscribe
when they cleanup their Spam folder in case they still want to receive the
mailinglist.

All the other tests also apply:
* What does an own (receiving) SpamAssassin say to your mails
* What do blacklists say

The cleaner a mail is (good time stamps, no bad or strange headers, ...)
the better is the chance bulk mail is accepted.

In the past I can't remember trouble with normal (human sent) mail. Google
makes differences between the human made mail and automatic mail systems
of different sorts. Requirements for mail from the automatics are higher.

Ciao
--
http://www.dstoecker.eu/ (PGP key available)
Reply | Threaded
Open this post in threaded view
|

Re: mitigating gmail spam traps: how does one add the required headers?8

Tom Browder
On Wed, Aug 30, 2017 at 14:42 Dirk Stöcker <[hidden email]> wrote:
On Tue, 29 Aug 2017, Tom Browder wrote:

> Gmail has a list of steps recommended to minimize spam identification, particularly mail sent as bulk mail (as from mailing lists).

Just FYI, my simple mailing list has my three personal email accounts as addresses: gmail, yahoo, and protonmail. My last test message to the list this morning, sent from this gmail account, went to spam at protonmail, inbox at yahoo, and didn't make it to my gmail account (but I'm not sure if that isn't an artifact of my postfix config).

The list doesn't have DKIM set up yet nor any recommended headers.

-Tom
Reply | Threaded
Open this post in threaded view
|

Re: [SPAM?] Re: mitigating gmail spam traps: how does one add the required headers?8

Richard Damon
On 8/31/17 8:42 AM, Tom Browder wrote:

> On Wed, Aug 30, 2017 at 14:42 Dirk Stöcker <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     On Tue, 29 Aug 2017, Tom Browder wrote:
>
>     > Gmail has a list of steps recommended to minimize spam
>     identification, particularly mail sent as bulk mail (as from
>     mailing lists).
>
>
> Just FYI, my simple mailing list has my three personal email accounts
> as addresses: gmail, yahoo, and protonmail. My last test message to
> the list this morning, sent from this gmail account, went to spam at
> protonmail, inbox at yahoo, and didn't make it to my gmail account
> (but I'm not sure if that isn't an artifact of my postfix config).
>
> The list doesn't have DKIM set up yet nor any recommended headers.
>
> -Tom

One point of information about Gmail, which may want you to change your
test setup a bit. Gmail suppresses duplicate messages (as determined by
the Message-ID), and (unless the mailing list changes the message-id,
which is generally a bad idea) Gmail will see the message from the list
as a duplicate of the message sent (even if wildly reformatted) and thus
suppress the message from the list. To test Gmail - list - Gmail
interactions, you need two Gmail accounts.

--
Richard Damon

Reply | Threaded
Open this post in threaded view
|

Re: [SPAM?] Re: mitigating gmail spam traps: how does one add the required headers?8

Tom Browder
On Thu, Aug 31, 2017 at 21:44 Richard Damon <[hidden email]> wrote:
...
One point of information about Gmail, which may want you to change your
test setup a bit. Gmail suppresses duplicate messages (as determined by
the Message-ID), and (unless the mailing list changes the message-id,
which is generally a bad idea) Gmail will see the message from the list
as a duplicate of the message sent (even if wildly reformatted) and thus
suppress the message from the list. To test Gmail - list - Gmail
interactions, you need two Gmail accounts.

Interesting, Richard! Then how do mailing list manager programs deal with the same message going to multiple accounts? Probably something like the bulk mail header I guess.

Thanks.

-Tom
Reply | Threaded
Open this post in threaded view
|

Re: [SPAM?] Re: mitigating gmail spam traps: how does one add the required headers?8

Richard Damon
On 9/1/17 6:23 AM, Tom Browder wrote:

> On Thu, Aug 31, 2017 at 21:44 Richard Damon <[hidden email]
> <mailto:[hidden email]>> wrote:
> ...
>
>     One point of information about Gmail, which may want you to change
>     your
>     test setup a bit. Gmail suppresses duplicate messages (as
>     determined by
>     the Message-ID), and (unless the mailing list changes the message-id,
>     which is generally a bad idea) Gmail will see the message from the
>     list
>     as a duplicate of the message sent (even if wildly reformatted)
>     and thus
>     suppress the message from the list. To test Gmail - list - Gmail
>     interactions, you need two Gmail accounts.
>
>
> Interesting, Richard! Then how do mailing list manager programs deal
> with the same message going to multiple accounts? Probably something
> like the bulk mail header I guess.
>
> Thanks.
>
> -Tom

The trimming of duplicates is a MUA level function, not an MTA level, so
every GMail user get the message, then it is eliminated at the MUA to
those that already have it (the sender or anyone directly sent it also).
It would be a major bug if they only delivered to just a single user a
message directed to several.

--
Richard Damon