Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14134

dkim signature problem or spf?

$
0
0

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:  Ubuntu 14.04
- Related log if you're reporting an issue:
====

I did everything according to this tutorial

http://www.iredmail.org/wiki/index.php? … omain/RHEL



;company1.com dns

company1.com.     IN      TXT     "v=spf1  a mx a:company1.com  a:company2.com ip4:xxx.xxx.xxx.xxx  ~all"

; key#1, domain company1.com, /var/lib/dkim/company1.com.pem
dkim._domainkey.company1.com.    3600 TXT (
  "v=DKIM1; p="
  "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCdnJlAAVZe3vECCyy70RpQrQ7"
  "V/68X+jQkjNd5RnAxK6nTCNJhzYh00rA+vv2pKkJ7I2XAY6i0bWjcaSvsidgZhvF"
  "zpsyKt/Y8QHl57lHiuXFYOMbUGY36hRegleBFFoVuO32JU8xmLiQoEoTZfxjPpsa"
  "cavcOoNRglzj3MuOgwIDAQAB")

;company2.com. dns

company2.com.     IN      TXT     "v=spf1  a mx a:company2.com. ip4:xxx.xxx.xxx.xxx  ~all"


; key#2, domain company2.com, /var/lib/dkim/company2.com.pem
dkim._domainkey.company2.com.    3600 TXT (
  "v=DKIM1; p="
  "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC/Mt/SozE9wJyuk3VXaUDjIdF8"
  "4qhiCyrXZhDc2lOp9vI4H2YTXRSWxKX1XTvN19BfDgdtCVwGrl2RK0mZ3bP7FUCv"
  "dB+Xc7UR4nXo/mS/eEBZdhqZWkMEJfG/JqGsq1gi0jHOQEZUasWII86xJtPCVj6D"
  "a/e9IE9nZpuf2YVOnwIDAQAB")

company1.com is the main domain of the server, after i restart bind I have this in mu log

zone company1.com/IN: 'company1.com' found SPF/TXT record but no SPF/SPF record found, add matching type SPF record
......
zone company2.com/IN: 'company2.com' found SPF/TXT record but no SPF/SPF record found, add matching type SPF record

Mails from company2.com are sent to spam folder on gmail accounts(those from company1.com are ok)


Viewing all articles
Browse latest Browse all 14134

Trending Articles