Notifications from forum are going to SPAM folder
#1
Just noticed a bunch of emails from the forum went straight into SPAM, because there is no SPF/DKIM used for emails.


Quote:Received-SPF: neutral (google.com: 2a03:f80:ed15:149:154:152:149:1 is neither permitted nor denied by best guess record for domain of www-data@hashcat.net) client-ip=2a03:f80:ed15:149:154:152:149:1;
Authentication-Results: mx.google.com;
      spf=neutral (google.com: 2a03:f80:ed15:149:154:152:149:1 is neither permitted nor denied by best guess record for domain of www-data@hashcat.net) smtp.mailfrom=www-data@hashcat.net

Would be nice if you could set up SPF and DKIM for emails.

Thanks!
#2
Assuming that the stated host is the only source, something along these lines would be a starting point:

Code:
IN TXT "v=spf1 ip6:2a03:f80:ed15:149:154:152:149:1 ~all"
~
#3
(08-28-2016, 12:51 AM)royce Wrote: Assuming that the stated host is the only source, something along these lines would be a starting point:

Code:
IN TXT "v=spf1 ip6:2a03:f80:ed15:149:154:152:149:1 ~all"

I'm sure not all mail providers are supporting IPv6, so would be good to include 149.154.152.149 ip as well.

Code:
IN TXT "v=spf1 ip6:2a03:f80:ed15:149:154:152:149:1 ip4:149.154.152.149 ~all"

DKIM is also highly recommended as well as setting DMARC policy so nobody will forge emails from hashcat.net domain name.
#4
OK, added. Let's see how it works. Thanks
#5
(08-28-2016, 10:55 AM)atom Wrote: OK, added. Let's see how it works. Thanks

I see you've added SPF which is great!

But what about DKIM?

On Linux you can install opendkim and generate a key to sign all emails.

Here is a guide how to use it on Debian: https://www.digitalocean.com/community/t...ian-wheezy

It should be pretty much the same on Ubuntu.