title: Plesk, SMTP and sending e-mail from same domain
body: <p>I have a server with Plesk installed.
  On that I've created a domain, my-domain.com, and added and e-mail account noreply@my-domain.com with access to SMTP for sending e-mails.</p>
  
  <p>With PHPMailer or Swift Mailer I am able to send via the SMTP account noreply@my-domain.com whenever the from address is outside the my-domain.com, for example info@my-second-domain.com.
  Whenever I'm using an e-mail address that ends on @my-domain.com it fails.</p>
  
  <p>I've tried to look in the /usr/local/psa/var/log/maillog file, but it only stores the mails that doesn't fail.</p>
  
  <p>Can someone help me figure out where the problems is?</p>