Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: poczta email spam
Forum PHP.pl > Forum > Serwery WWW > Apache
1992bartekk
Witam instalowałem zpanel przy wysyłaniu poczty moje wiadomości lądują w spamie. Ktoś wie co jest przyczyną że google wrzuca wiadomości do spamu?

  1.  
  2. Delivered-To: karp78012001@gmail.com
  3. Received: by 10.37.216.2 with SMTP id p2csp2055919ybg;
  4. Tue, 7 Jun 2016 08:17:28 -0700 (PDT)
  5. X-Received: by 10.25.41.144 with SMTP id p138mr3288496lfp.7.1465312648612;
  6. Tue, 07 Jun 2016 08:17:28 -0700 (PDT)
  7. Return-Path: <kontakt@createdesign.pl>
  8. Received: from createdesign.pl (155a133b41c168.greendata.pl. [155.133.41.168])
  9. by mx.google.com with ESMTP id hd3si6883085lbb.132.2016.06.07.08.17.28
  10. for <karp78012001@gmail.com>;
  11. Tue, 07 Jun 2016 08:17:28 -0700 (PDT)
  12. Received-SPF: neutral (google.com: 155.133.41.168 is neither permitted nor denied by best guess record for domain of kontakt@createdesign.pl) client-ip=155.133.41.168;
  13. Authentication-Results: mx.google.com;
  14. spf=neutral (google.com: 155.133.41.168 is neither permitted nor denied by best guess record for domain of kontakt@createdesign.pl) smtp.mailfrom=kontakt@createdesign.pl
  15. Received: from 155.133.41.168 (localhost.localdomain [127.0.0.1])
  16. by createdesign.pl (Postfix) with ESMTPA id 39DCA2903A82
  17. for <karp78012001@gmail.com>; Tue, 7 Jun 2016 11:17:28 -0400 (EDT)
  18. MIME-Version: 1.0
  19. Content-Type: multipart/alternative;
  20. boundary="=_22a90f2af423cd06baaee83723d25c44"
  21. Date: Tue, 07 Jun 2016 17:17:28 +0200
  22. From: "Kontakt CreateDesign.pl" <kontakt@createdesign.pl>
  23. To: karp78012001@gmail.com
  24. Subject: kmksmd
  25. Organization: Create Design
  26. Reply-To: kontakt@createdesign.pl
  27. Mail-Reply-To: kontakt@createdesign.pl
  28. Message-ID: <a79926b01291d0b57e2c8b88513e7ccc@createdesign.pl>
  29. X-Sender: kontakt@createdesign.pl
  30. User-Agent: Roundcube Webmail/0.9.2
  31.  
  32. --=_22a90f2af423cd06baaee83723d25c44
  33. Content-Transfer-Encoding: 8bit
  34. Content-Type: text/plain; charset=UTF-8
  35.  
  36.  
  37.  
  38. mm ms
  39.  
  40. --
  41. Pozdrawiamy
  42. Zespół CreateDesign.pl
  43.  
  44.  
  45. --=_22a90f2af423cd06baaee83723d25c44
  46. Content-Transfer-Encoding: quoted-printable
  47. Content-Type: text/html; charset=UTF-8
  48.  
  49. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
  50. <p>mm ms</p>
  51. <div>
  52. <pre>-- <br />Pozdrawiamy
  53. Zespó=C5=82 CreateDesign.pl
  54. </pre>
  55. </div>
  56. </body></html>
  57.  
  58. --=_22a90f2af423cd06baaee83723d25c44--


Porównując inne wiadomości email zdecydowanie w oczy rzuca mi się linijka: Received: from 155.133.41.168 (localhost.localdomain [127.0.0.1]); co to jest i jak to zmienić?
Pyton_000
Masz nie do końca skonfigurowany postfix.

Brakuje też SPF, DKIM
1992bartekk
Wciąż nie moge tego zmienić. ktoś ma jakiś pomysł?

Udało mi się włączyć szyfrowanie tls ale nic po za tym

  1.  
  2. Delivered-To: karp78012001@gmail.com
  3. Received: by 10.37.216.2 with SMTP id p2csp2182379ybg;
  4. Tue, 7 Jun 2016 12:39:33 -0700 (PDT)
  5. X-Received: by 10.25.17.210 with SMTP id 79mr2464723lfr.113.1465328373619;
  6. Tue, 07 Jun 2016 12:39:33 -0700 (PDT)
  7. Return-Path: <kontakt@createdesign.pl>
  8. Received: from smtp.createdesign.pl (155a133b41c168.greendata.pl. [155.133.41.168])
  9. by mx.google.com with ESMTPS id l74si14742998lfb.159.2016.06.07.12.39.33
  10. for <karp78012001@gmail.com>
  11. (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
  12. Tue, 07 Jun 2016 12:39:33 -0700 (PDT)
  13. Received-SPF: neutral (google.com: 155.133.41.168 is neither permitted nor denied by best guess record for domain of kontakt@createdesign.pl) client-ip=155.133.41.168;
  14. Authentication-Results: mx.google.com;
  15. spf=neutral (google.com: 155.133.41.168 is neither permitted nor denied by best guess record for domain of kontakt@createdesign.pl) smtp.mailfrom=kontakt@createdesign.pl
  16. Received: from 155.133.41.168 (localhost.localdomain [127.0.0.1])
  17. by smtp.createdesign.pl (Postfix) with ESMTPA id 09C7D2903A87
  18. for <karp78012001@gmail.com>; Tue, 7 Jun 2016 15:39:33 -0400 (EDT)
  19. MIME-Version: 1.0
  20. Content-Type: multipart/alternative;
  21. boundary="=_1f765defbe93e2ada75bb7669a2c37b2"
  22. Date: Tue, 07 Jun 2016 21:39:32 +0200
  23. From: "Kontakt CreateDesign.pl" <kontakt@createdesign.pl>
  24. To: karp78012001@gmail.com
  25. Subject: lmskkmn
  26. Organization: Create Design
  27. Reply-To: kontakt@createdesign.pl
  28. Mail-Reply-To: kontakt@createdesign.pl
  29. Message-ID: <d08e7f9abdf1c982253af018e7986664@createdesign.pl>
  30. X-Sender: kontakt@createdesign.pl
  31. User-Agent: Roundcube Webmail/0.9.2
  32.  
  33. --=_1f765defbe93e2ada75bb7669a2c37b2
  34. Content-Transfer-Encoding: 8bit
  35. Content-Type: text/plain; charset=UTF-8
  36.  
  37.  
  38.  
  39. kmsj dj
  40.  
  41. --
  42. Pozdrawiamy
  43. Zespół CreateDesign.pl
  44.  
  45.  
  46. --=_1f765defbe93e2ada75bb7669a2c37b2
  47. Content-Transfer-Encoding: quoted-printable
  48. Content-Type: text/html; charset=UTF-8
  49.  
  50. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
  51. <p>kmsj dj</p>
  52. <div>
  53. <pre>-- <br />Pozdrawiamy
  54. Zespó=C5=82 CreateDesign.pl
  55. </pre>
  56. </div>
  57. </body></html>
  58.  
  59. --=_1f765defbe93e2ada75bb7669a2c37b2--


Hostname: vz275526

Plik /etc/hosts

  1. # Auto-generated hostname. Please do not remove this comment.
  2. 127.0.0.1 localhost.localdomain localhost mail.createdesign.pl
  3. # Auto-generated hostname. Please do not remove this comment.
  4. 155.133.41.168 vz275526 createdesign.pl
  5. ::1 mail.createdesign.com localhost6.localdomain6 localhost6


/etc /zpanel /configs /postfix / main.cf

  1. # postfix config file
  2.  
  3. # uncomment for debugging if needed
  4. soft_bounce=yes
  5.  
  6. # postfix main
  7. mail_owner = postfix
  8. setgid_group = postdrop
  9. delay_warning_time = 4
  10.  
  11. # postfix paths
  12. html_directory = no
  13. command_directory = /usr/sbin
  14. daemon_directory = /usr/libexec/postfix
  15. queue_directory = /var/spool/postfix
  16. sendmail_path = /usr/sbin/sendmail.postfix
  17. newaliases_path = /usr/bin/newaliases.postfix
  18. mailq_path = /usr/bin/mailq.postfix
  19. manpage_directory = /usr/share/man
  20. sample_directory = /usr/share/doc/postfix-2.2.2/samples
  21. readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES
  22.  
  23. # network settings
  24. inet_interfaces = all
  25. mydomain = control.yourdomain.com
  26. myhostname = control.yourdomain.com
  27. mynetworks = all
  28. mydestination = localhost.$mydomain, localhost
  29. relay_domains = proxy:mysql:/etc/zpanel/configs/postfix/mysql-relay_domains_maps.cf
  30.  
  31. # mail delivery
  32. recipient_delimiter = +
  33.  
  34. # mappings
  35. alias_maps = hash:/etc/aliases
  36. alias_database = hash:/etc/aliases
  37. transport_maps = hash:/etc/postfix/transport
  38. #local_recipient_maps =
  39.  
  40. # virtual setup
  41. virtual_alias_maps = proxy:mysql:/etc/zpanel/configs/postfix/mysql-virtual_alias_maps.cf,
  42. regexp:/etc/zpanel/configs/postfix/virtual_regexp
  43. virtual_mailbox_base = /var/zpanel/vmail
  44. virtual_mailbox_domains = proxy:mysql:/etc/zpanel/configs/postfix/mysql-virtual_domains_maps.cf
  45. virtual_mailbox_maps = proxy:mysql:/etc/zpanel/configs/postfix/mysql-virtual_mailbox_maps.cf
  46. virtual_mailbox_limit_maps = proxy:mysql:/etc/zpanel/configs/postfix/mysql-virtual_mailbox_limit_maps.cf
  47. virtual_minimum_uid = 101
  48. virtual_uid_maps = static:101
  49. virtual_gid_maps = static:12
  50. virtual_transport = dovecot
  51. dovecot_destination_recipient_limit = 1
  52.  
  53. # debugging
  54. debug_peer_level = 2
  55. debugger_command =
  56. PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
  57. xxgdb $daemon_directory/$process_name $process_id & sleep 5
  58.  
  59. # authentication
  60. smtpd_sasl_auth_enable = yes
  61. smtpd_sasl_security_options = noanonymous
  62. smtpd_sasl_local_domain = $myhostname
  63. broken_sasl_auth_clients = yes
  64. smtpd_sasl_type = dovecot
  65. smtpd_sasl_path = private/auth
  66.  
  67. # tls config
  68. smtp_use_tls = no
  69. smtpd_use_tls = no
  70. #smtp_tls_note_starttls_offer = yes
  71. #smtpd_tls_loglevel = 1
  72. #smtpd_tls_received_header = yes
  73. #smtpd_tls_session_cache_timeout = 3600s
  74. #tls_random_source = dev:/dev/urandom
  75. #smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache
  76. # Change mail.example.com.* to your host name
  77. #smtpd_tls_key_file = /etc/pki/tls/private/mail.example.com.key
  78. #smtpd_tls_cert_file = /etc/pki/tls/certs/mail.example.com.crt
  79. # smtpd_tls_CAfile = /etc/pki/tls/root.crt
  80.  
  81. # rules restrictions
  82. smtpd_client_restrictions =
  83. smtpd_helo_restrictions =
  84. smtpd_sender_restrictions =
  85. smtpd_recipient_restrictions = permit_sasl_authenticated,
  86. permit_mynetworks,
  87. reject_unauth_destination,
  88. reject_non_fqdn_sender,
  89. reject_non_fqdn_recipient,
  90. reject_unknown_recipient_domain
  91. # uncomment for realtime black list checks
  92. # ,reject_rbl_client zen.spamhaus.org
  93. # ,reject_rbl_client bl.spamcop.net
  94. # ,reject_rbl_client dnsbl.sorbs.net
  95.  
  96. smtpd_helo_required = yes
  97. unknown_local_recipient_reject_code = 550
  98. disable_vrfy_command = yes
  99. smtpd_data_restrictions = reject_unauth_pipelining

jakiś pomysł?
ohm
Cytat(1992bartekk @ 7.06.2016, 16:50:40 ) *
Witam instalowałem zpanel przy wysyłaniu poczty moje wiadomości lądują w spamie. Ktoś wie co jest przyczyną że google wrzuca wiadomości do spamu?


tzw, "bo może", a tak serio, musi dodać cię jakieś grono użytkowników gmaila na białe listy żeby gmail Cię polubił, oprócz tego https://gmail.com/postmaster/

1992bartekk
chyba mam SPF i DKIM jednak znów powrócił problem from 155.133.41.168 (localhost.localdomain [127.0.0.1]

tak to wygląda teraz:

  1.  
  2. Delivered-To: 1992bartekk@gmail.com
  3. Received: by 10.79.37.214 with SMTP id l205csp2067257ivl;
  4. Tue, 7 Jun 2016 14:29:41 -0700 (PDT)
  5. X-Received: by 10.25.28.78 with SMTP id c75mr3569573lfc.205.1465334981004;
  6. Tue, 07 Jun 2016 14:29:41 -0700 (PDT)
  7. Return-Path: <kontakt@createdesign.pl>
  8. Received: from smtp.createdesign.pl (155a133b41c168.greendata.pl. [155.133.41.168])
  9. by mx.google.com with ESMTPS id a81si15018250lfa.56.2016.06.07.14.29.40
  10. for <1992bartekk@gmail.com>
  11. (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
  12. Tue, 07 Jun 2016 14:29:40 -0700 (PDT)
  13. Received-SPF: neutral (google.com: 155.133.41.168 is neither permitted nor denied by best guess record for domain of kontakt@createdesign.pl) client-ip=155.133.41.168;
  14. Authentication-Results: mx.google.com;
  15. dkim=temperror (no key for signature) header.i=@createdesign.pl;
  16. spf=neutral (google.com: 155.133.41.168 is neither permitted nor denied by best guess record for domain of kontakt@createdesign.pl) smtp.mailfrom=kontakt@createdesign.pl
  17. Received: from 155.133.41.168 (localhost.localdomain [127.0.0.1])
  18. (Authenticated sender: kontakt@createdesign.pl)
  19. by smtp.createdesign.pl (Postfix) with ESMTPA id 625FA2903A8D
  20. for <1992bartekk@gmail.com>; Tue, 7 Jun 2016 17:29:40 -0400 (EDT)
  21. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=createdesign.pl;
  22. s=default; t=1465334980;
  23. bh=8XETJ0vj1fLRt1cL/ex6ggZXO7Mz66DwLrukkTFwMBc=;
  24. h=Date:From:To:Subject:Reply-To;
  25. b=rdKYTd6b5QyLAhMoHSeSxAT7NqOGliVQpjUnaWVXsrops1Feqf+ASIyuVLmJ38WvZ
  26. iClFDeITeQtsAGkREirsyYwISpXwVKKvlS1kBbPniI9nnGqNZJBQrmjhf/DgJw3gpa
  27. 6ULDMHOfp4ZOPG4miakSB1dvq+SBV4bE8lKJGKvw=
  28. MIME-Version: 1.0
  29. Content-Type: multipart/alternative;
  30. boundary="=_3e7a27bc77ca4fb799136878b232abb7"
  31. Date: Tue, 07 Jun 2016 23:29:40 +0200
  32. From: "Kontakt CreateDesign.pl" <kontakt@createdesign.pl>
  33. To: 1992bartekk@gmail.com
  34. Subject: sdasaddvcvx
  35. Organization: Create Design
  36. Reply-To: kontakt@createdesign.pl
  37. Mail-Reply-To: kontakt@createdesign.pl
  38. Message-ID: <408895e307c48d849d89f7a8d137da59@createdesign.pl>
  39. X-Sender: kontakt@createdesign.pl
  40. User-Agent: Roundcube Webmail/0.9.2
  41.  
  42. --=_3e7a27bc77ca4fb799136878b232abb7
  43. Content-Transfer-Encoding: 8bit
  44. Content-Type: text/plain; charset=UTF-8
  45.  
  46.  
  47.  
  48. czvxvcvxccx
  49.  
  50. --
  51. Pozdrawiamy
  52. Zespół CreateDesign.pl
  53.  
  54.  
  55. --=_3e7a27bc77ca4fb799136878b232abb7
  56. Content-Transfer-Encoding: quoted-printable
  57. Content-Type: text/html; charset=UTF-8
  58.  
  59. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
  60. <p>czvxvcvxccx</p>
  61. <div>
  62. <pre>-- <br />Pozdrawiamy
  63. Zesp&oacute;=C5=82 CreateDesign.pl
  64. </pre>
  65. </div>
  66. </body></html>
  67.  
  68. --=_3e7a27bc77ca4fb799136878b232abb7--


Tak jednak wysyłając za pośrednictwem serwera (nazwa.pl) na którym wcześniej miałem stronę nie miałem problemu co prawda nie był to VPS tylko hosting stąd też moje problemy teraz :/
Pyton_000
https://www.mail-tester.com/

I pokaż wyniki.
!*!
Nie wystarczy wpisać
Cytat
aptitude install postfix
, trzeba go jeszcze skonfigurować, chociażby to:

Cytat
mydomain = control.yourdomain.com
myhostname = control.yourdomain.com
1992bartekk
wygląda na bardzo kiepsko ;/

https://www.mail-tester.com/web-rJyfiD
Pyton_000
Od początku:

- Brakuje Ci RevDNS (Mapowanie IP na domenę) zgłoś do swojego hostingodawcy żeby ustawił revDNS IP twojego serwera na twoją domenę
- Musisz dodać rekord SPF do domeny
Kod
"v=spf1 +a +mx -all"

- Ustaw dla "smtp.createdesign.pl" rekord A czyli IP
- DKIMS skopany (źle wpisany do dns? )

PS. Poza tym pokaż wpisy dla domeny z panelu.
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2024 Invision Power Services, Inc.