• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Problem with SMTP authorization...

W

webdeveloperrmi

Guest
Hello,

I have Plesk 8.4 on my server. I configure one of my domains (for example: something.com).

Everything is working perfect, but the problem is with the SMTP server.

I wrote a simple php script which is using mail() function to send emails to the clients. It's sending the emails but when i try to send email to one of the email accounts on this domain then i get this error:

553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

So the problem is that:

- When i send email to test@microsoft.com - it's working and i receive it on test@microsoft.com
- When i send email to test@something.com (which is the domain added in plesk) i don't receive it!

Also the mail service of something.com is not configured in the plesk. It's separated on another host, so the only thing i host on the plesk server is the site.

I try in server > mail to enable relaying with pop3 and smtp authorization but nothing happens. I check the virtualdomains and rcpthosts in qmail and everything is ok there too.

Can you tell me how can i fix this problem?

Thanks a lot!
 
Did you disacctivated the mailbox/mail on that domain?
> Domains > domain.com > Mail (services) > Switch off
Before the server send the mail via internet, it checks if there is pop3 server running listening for mail of that domain.
 
Yes, it's off. I had similar problems before with this and i know that it should be turned off.

Do you think that it can be connected with the DNS Settings of the domain? Normally when i add a new domain to plesk it generates mail.domain.com. Probably this is making the problems?
 
Yes, it's off. I had similar problems before with this and i know that it should be turned off.

Do you think that it can be connected with the DNS Settings of the domain? Normally when i add a new domain to plesk it generates mail.domain.com. Probably this is making the problems?

If you're mail has to go to another server you need these records

A mailserver.domain.com 123.123.123.123 (ip of the extern mail-server)
MX(10) mailserver.domain.com
 
I had the same problem

Not sure if this is what you want to do, but it worked for me.

1. I created the email accounts on mydomain.com in plesk
2. went to were my domain is hosted, and edited the mx record in DNS settings to point to my DNS record for mydomain.com in plesk.

Started working fine after that.
 
Back
Top