Answers.Body: <blockquote>
    <p>Is CiviCRM using the mailbox i configured for sending out the email if the email address is the same, or do i need to change anything else</p>
  </blockquote>
  
  <p>For outbound mail, CiviCRM uses whatever you have configured at <strong>Administer > System Settings > Outbound Email (SMTP/Sendmail)</strong>. How do you have that configured?</p>
  
  <p>From a quick look at the source code of the email you linked to, my best guess is that you have it set up with the <code>mail()</code> option, which is likely not going to handle dkim (though that does depend on your webserver set up). If you have SMTP details for tickets@yogamela.org you could choose SMTP option there, add your details and then your SMTP server will then take care of DKIM.</p>
  
  <p>Choosing SMTP and adding your details is likely the simplest route if you want to just get it working. That said, there are a few different ways that outbound mail can be configured so it is hard to give the best advice without knowing a bit more about your set up. Answers to questions like:</p>
  
  <ul>
  <li>Who provides your email?</li>
  <li>Do you want to email from multiple addresses or just tickets@yogamela.org?</li>
  </ul>
  
  <p>would help provide a better answer.</p>
  
  <p>Depending on your email provider, the SMTP details you have may allow you to send email from any email that ends @yogamela.org. Otherwise, if you want send email from lots of different email addresses ending @yogamela.org, you might want to look at a third party provider like Sparkpost or Sendgrid.</p>
  
  <p>UPDATE:</p>
  
  <p>That error message you pasted is a a bit wrong. The text does not match with the link. The text references FROM Email Addresses (<code>civicrm/admin/options/from_email_address?reset=1</code>) but the link you shared points at <code>/civicrm/admin/domain?action=update&amp;reset=1</code>. What do you have set in <code>/civicrm/admin/domain</code>? (see picture below). Try adding tickets@yogamela.org there.</p>
  
  <p>I suspect it will then work.</p>
  
  <p><a href="https://i.sstatic.net/OplmK.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/OplmK.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-12T17:27:36.120Z
Answers.Text: thank you for your great help! Thx to you Im one step closer to the solution but still encountered some problems with the configuration more in the UPDATE of the question.
Answers.UserDisplayName: Arcurus
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-15T13:23:51.610Z
Answers.Text: I updated my answer...
Answers.UserDisplayName: michaelmcandrew
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-15T13:25:23.740Z
Answers.Text: Lets get it working if only in this basic way before exploring other options :)
Answers.UserDisplayName: michaelmcandrew
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-15T13:26:05.390Z
Answers.Text: PS. I filed a PR to fix this misleading text in core: https://github.com/civicrm/civicrm-core/pull/14055/
Answers.UserDisplayName: michaelmcandrew
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-12T10:52:56.173Z
Answers.LastActivityDate: 2019-04-15T13:23:40.733Z
Answers.LastEditDate: 2019-04-15T13:23:40.733Z
Answers.UserDisplayName: michaelmcandrew
Body: <p>i want to make sure that all emails send out through CiviCRM have the proper authentication (DKIM). Currently I use (ticket@yogamela.org) as email from address for online event registrations. The same email I created also as mailbox in CiviCRM. But tests show, that the mail is sent with wrong DKIM signature. How to configure it in the right way? 
  Is CiviCRM using the mailbox i configured for sending out the email if the email address is the same, or do i need to change anything else?</p>
  
  <p>Mails send directly through using webmail have the proper DKIM signature. </p>
  
  <p>Here the test result if the mail is send through Event Registration in CiviCRM:<br>
  <a href="https://www.mail-tester.com/test-fp3hn&amp;reloaded=1" rel="nofollow noreferrer">https://www.mail-tester.com/test-fp3hn&amp;reloaded=1</a></p>
  
  <p>Could it be that i have the same problem like described here:
  <a href="https://civicrm.stackexchange.com/questions/25822/civimail-dkim-signature-failure?rq=1">CiviMail DKIM signature failure</a></p>
  
  <p>Or did i just set it up wrong?</p>
  
  <p>UPDATE:</p>
  
  <p>For now i try to setup one authenticated email. Later i may want to add more. In case so can I add them all as Outbount Mails?
  Sitegound provides both email hosting and server hosting.</p>
  
  <p>As suggested I setup now an new Outbount Mail using SMTP:
  Administer --> Settings - Outbound Mail</p>
  
  <p>ssl://c15801.sgvps.net    (i tried also without ssl://)</p>
  
  <p>465    (i tried also 25 without ssl:// and authentication: no)</p>
  
  <p>Authentication? Yes</p>
  
  <p>ticket@yogamela.org</p>
  
  <p>Then this error comes after clicking save and test:</p>
  
  <p>The site administrator needs to enter a valid 'FROM Email Address' in <a href="/civi/index.php?q=civicrm/admin/domain&amp;action=update&amp;reset=1">Administer CiviCRM &raquo; Communications &raquo; FROM Email Addresses</a>. The email address used may need to be a valid mail account with your email service provider.</p>
  
  <p>In the FROM Email Addresses I just entered ticket@yogamela.org.</p>
  
  <p>Is my smtp server setup wrong, or my FROM email setup? The email address / password is a valid email with sitegound the port and server (without the ssl:// part) is what siteground recommended to use.</p>
  
Tags: <civievent><email>
Title: How to setup CiviCRM to proper send authenticated (DKIM) emails?
ThreadText: # How to setup CiviCRM to proper send authenticated (DKIM) emails?
  
  (Asked by: username_0 on 2019-04-12)
  
  i want to make sure that all emails send out through CiviCRM have the proper authentication (DKIM). Currently I use (ticket@yogamela.org) as email from address for online event registrations. The same email I created also as mailbox in CiviCRM. But tests show, that the mail is sent with wrong DKIM signature. How to configure it in the right way?
  Is CiviCRM using the mailbox i configured for sending out the email if the email address is the same, or do i need to change anything else?
  
  Mails send directly through using webmail have the proper DKIM signature.
  
  Here the test result if the mail is send through Event Registration in CiviCRM:  
  <https://www.mail-tester.com/test-fp3hn&reloaded=1>
  
  Could it be that i have the same problem like described here:
  [CiviMail DKIM signature failure](https://civicrm.stackexchange.com/questions/25822/civimail-dkim-signature-failure?rq=1)
  
  Or did i just set it up wrong?
  
  UPDATE:
  
  For now i try to setup one authenticated email. Later i may want to add more. In case so can I add them all as Outbount Mails?
  Sitegound provides both email hosting and server hosting.
  
  As suggested I setup now an new Outbount Mail using SMTP:
  Administer --> Settings - Outbound Mail
  
  ssl://c15801.sgvps.net (i tried also without ssl://)
  
  465 (i tried also 25 without ssl:// and authentication: no)
  
  Authentication? Yes
  
  ticket@yogamela.org
  
  Then this error comes after clicking save and test:
  
  The site administrator needs to enter a valid 'FROM Email Address' in [Administer CiviCRM » Communications » FROM Email Addresses](/civi/index.php?q=civicrm/admin/domain&action=update&reset=1). The email address used may need to be a valid mail account with your email service provider.
  
  In the FROM Email Addresses I just entered ticket@yogamela.org.
  
  Is my smtp server setup wrong, or my FROM email setup? The email address / password is a valid email with sitegound the port and server (without the ssl:// part) is what siteground recommended to use.
  
  **Tags:** civievent, email
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-04-12. Score: 3
  
  > Is CiviCRM using the mailbox i configured for sending out the email if the email address is the same, or do i need to change anything else
  
  For outbound mail, CiviCRM uses whatever you have configured at **Administer > System Settings > Outbound Email (SMTP/Sendmail)**. How do you have that configured?
  
  From a quick look at the source code of the email you linked to, my best guess is that you have it set up with the `mail()` option, which is likely not going to handle dkim (though that does depend on your webserver set up). If you have SMTP details for tickets@yogamela.org you could choose SMTP option there, add your details and then your SMTP server will then take care of DKIM.
  
  Choosing SMTP and adding your details is likely the simplest route if you want to just get it working. That said, there are a few different ways that outbound mail can be configured so it is hard to give the best advice without knowing a bit more about your set up. Answers to questions like:
  
  * Who provides your email?
  * Do you want to email from multiple addresses or just tickets@yogamela.org?
  
  would help provide a better answer.
  
  Depending on your email provider, the SMTP details you have may allow you to send email from any email that ends @yogamela.org. Otherwise, if you want send email from lots of different email addresses ending @yogamela.org, you might want to look at a third party provider like Sparkpost or Sendgrid.
  
  UPDATE:
  
  That error message you pasted is a a bit wrong. The text does not match with the link. The text references FROM Email Addresses (`civicrm/admin/options/from_email_address?reset=1`) but the link you shared points at `/civicrm/admin/domain?action=update&reset=1`. What do you have set in `/civicrm/admin/domain`? (see picture below). Try adding tickets@yogamela.org there.
  
  I suspect it will then work.
  
  [![enter image description here](https://i.sstatic.net/OplmK.png)](https://i.sstatic.net/OplmK.png)
  
  > **Comments:**
  > **username_0**: thank you for your great help! Thx to you Im one step closer to the solution but still encountered some problems with the configuration more in the UPDATE of the question.  
  > **username_1**: I updated my answer...  
  > **username_1**: Lets get it working if only in this basic way before exploring other options :)  
  > **username_1**: PS. I filed a PR to fix this misleading text in core: https://github.com/civicrm/civicrm-core/pull/14055/  
  
  ---
  
  