Are you running your own mail server on your web hosting (VPS) through One-Click Apps, for example with the ZAP Webspace + Mail app, but your emails aren't arriving, are being rejected, or are ending up in spam? You're in the right place. First, you'll find a quick guide to the most common sending, receiving, and blacklist issues. Then you'll learn about the most important factors for improving email deliverability over the long term.
This article assumes you've already installed your own mail server through One-Click Apps, for example with ZAP Webspace + Mail. The initial setup (installing the app, creating mailboxes, setting DNS records, and enabling sending) is described in the article Web Hosting: Set Up Email with Your Own Mail Server. This article covers troubleshooting and improving deliverability after setup.
This guide applies to web hosting in ZapX with your own VPS. If you still have webspace in the Classic Panel (Plesk), you'll share the mail server with other customers. In that case, contact our support team about a server IP blacklist entry or blocked sending by creating a ticket in the Classic Panel.
When an email is rejected, you'll usually receive a response such as “Undelivered Mail Returned to Sender” or “Mail Delivery System.” It contains an error code with a brief explanation that tells you where to start:
| Message (excerpt) | Meaning | Solution |
|---|---|---|
550 5.7.26 or unauthenticated, SPF, DKIM, DMARC | The recipient can't verify that your server is authorized to send email for your domain. | Add SPF, DKIM, and DMARC records. See Complying with authentication standards |
550 5.7.25 or PTR, reverse DNS | Your VPS IP doesn't have a matching reverse DNS record. | Set reverse DNS. See Set reverse DNS (PTR record) |
blocked, listed, blacklist, Spamhaus | Your VPS IP is on a blacklist. | See Your IP is on a blacklist |
| No response; the email remains in the queue | Sending over ports 25 and 465 is still blocked. | Verify your phone number. See Enable sending on ports 25 and 465 |
- Sending is blocked: If you see the message Email sending blocked on your VPS, verify your phone number first. Until then, emails to external recipients will remain in the queue.
- Your website or contact form isn't sending anything: On ZAP Webspace without Mail, PHP
mail()doesn't send emails. Use SMTP with your mail server or mail provider, for example through an SMTP plugin in WordPress. To set up SMTP in WordPress, see Web Hosting: Set Up WordPress SMTP. - Wrong sender address: Only send from addresses on your own domain. Many recipients reject emails sent from an address on another domain, such as a Gmail address, because according to SPF, your server isn't authorized to send email for that domain.
- Check the MX record: Your domain's MX record must point to your mail server. Check it with our DNS Lookup. If you've just changed DNS records, it may take a few hours for all mail servers to recognize them. Check the status with the DNS Propagation Checker.
- Check the firewall: If you've created custom rules in the Network firewall tab, inbound port
25(used by other mail servers to deliver email) and ports465,587, and993(used by email clients) must be open. Check whether a port is reachable from the internet with the Port Checker. - Check your mailbox and spam folder: Does the address actually exist as a mailbox or alias in your mail app? Also check your webmail's spam folder.
In your email client, enter your app's domain as the server, not your VPS IP address. The certificate is only valid for that domain. If you use the IP address or a different name, your email client will show a certificate warning. The correct ports and encryption settings are listed in the article Web Hosting: Set Up Email with Your Own Mail Server.
Since your web hosting product is now a VPS, your mail server runs on your VPS's own IP address—not on infrastructure shared with many other customers. The main benefit is that the reputation of this IP address depends entirely on your own email traffic, not on the behavior of other customers. That's why it's especially important to follow the steps below carefully so that your IP address builds and maintains a good reputation.
Authentication standards make it easier for email providers and mail servers to verify the sender's authenticity. Three important standards have been established to prove that you're authorized to send email on behalf of a domain: SPF, DKIM, and DMARC.
SPF (Sender Policy Framework): SPF helps prevent email spoofing by specifying which IP addresses are authorized to send email on behalf of a domain. For example, you can add an SPF record in the DNS settings for your domain “example.com” that specifies which mail servers are allowed to send email from “@example.com.” If an email is sent from an unauthorized server, the receiving mail server may mark it as suspicious or reject it.
DKIM (DomainKeys Identified Mail): DKIM adds a digital signature header to the email, helping verify that the email wasn't changed during transmission and that it actually came from the specified domain. The receiving mail server uses this signature to check the email's integrity.
DMARC (Domain-based Message Authentication, Reporting & Conformance): DMARC builds on SPF and DKIM and adds another layer of protection. It lets you specify how emails that fail SPF or DKIM checks should be handled (e.g., quarantined or rejected). DMARC also provides reports showing how your domain is used in emails, helping you monitor potential abuse.
Your mail app shows the exact SPF, DKIM, and DMARC values for your domain. With ZAP Webspace + Mail, find them using the DNS records link on the app card. Add these values as TXT records in your domain's DNS management. For details, see the article Web Hosting: Set Up Email with Your Own Mail Server.
In addition to SPF, DKIM, and DMARC, many receiving mail servers also check whether your mail server's IP address has a matching reverse DNS record (PTR record)—that is, whether a reverse lookup of the IP address points to a hostname that matches your sender domain (e.g., mail.yourdomain.com). If this record is missing or points to a generic hostname, many providers treat that as an indication of spam.
You can set the PTR record for your VPS IP address directly in the ZapX customer panel:
- Open your VPS in the customer panel.
- Go to the Settings → Reverse DNS tab.
- For your VPS's primary IP address, enter the hostname your mail server uses as its own name (the same value you would typically set as the MX or A record). With ZAP Webspace + Mail, this is the app's domain.
Ideally, the PTR record (IP → hostname) should match your mail server's A record (hostname → IP). This is known as “Forward-Confirmed reverse DNS” (FCrDNS). It's one of the easiest ways to build trust with many major email providers.
On new VPSs, outgoing connections on mail ports 25 and 465 are blocked until you verify a phone number on your account. You'll then see the message Email sending blocked on your VPS. While the block is in place, emails to external recipients will remain in the queue. Verify your phone number by selecting Verify phone number in the message, or go to My account → Settings → Profile. ZapX will then automatically enable sending on all your VPSs.
Even with your own dedicated IP address, it takes time to build a good reputation. Keep the following in mind:
- Increase sending volume gradually (warm-up): If you send a large number of emails at once from a new IP address, many providers will consider it suspicious. Instead, start with a lower sending volume and increase it gradually over several days or weeks.
- Keep an eye on bounces and spam complaints: A high number of undeliverable addresses (bounces) or spam reports from recipients can permanently damage your IP address's reputation. Clean up your recipient lists regularly.
- Use your server responsibly to avoid being blacklisted: If your IP address is blacklisted because of abuse (e.g., compromised login credentials or bulk spam), your emails may no longer be delivered or may be marked as spam. Monitor your mail server for suspicious activity and use your mail app's spam filters consistently. The next section explains what to do if this happens.
Check whether your VPS IP address is listed with our IP Blacklist Checker. You can find your VPS's primary IPv4 address on the Overview page, in the IP addresses card. If it's listed, follow these steps:
- Fix the cause: Common causes include a hacked mailbox password, a contact form without spam protection, or a script sending emails in bulk. Change the affected passwords, protect forms with a captcha, for example, and stop any suspicious scripts. Without this step, even a new IP address can quickly end up on the list again.
- Request removal: For most blacklists, such as Spamhaus, you can check your IP address on their website and request delisting once you've fixed the cause.
- Get a new IP address: You can change your VPS's primary IPv4 address yourself up to three times for free. To do this, go to Overview, open the IP addresses card, and select Change primary IPv4. You'll get an IP address that isn't on any known blocklist. If you've used up your free changes, create a support ticket.
Your VPS will restart, which usually takes one to two minutes. Your data and root password will remain unchanged, and your reverse DNS and default domain will be moved automatically. We'll automatically update any DNS records at ZAP that still point to the old IP. If your domain is hosted with another DNS provider, you'll need to enter the new IP there yourself. If your SPF record contains the old IP address (ip4:…), update it as well. The old IP address can't be recovered afterward. Your VPS must be running and not in rescue mode for the change.
Email content also plays an important role. It's important to maintain a balanced ratio of text to images. Also avoid potentially problematic content such as videos, JavaScript, or forms, as these can trigger spam filters or cause delivery issues. Every email should also include an unsubscribe option and an imprint at the end.
Other best practices include using clear and concise language, avoiding overly aggressive promotional messages, and optimizing emails for mobile devices.
Before using your mail server in production, or if you suspect delivery issues, it's worth checking your DNS configuration:
- Use our free Email DNS Health Checker to check your domain's SPF, DMARC, MX, and (to the best of its ability) DKIM records online, and get clear guidance on any issues it finds.
- External services such as mail-tester.com and mailgenius.com go a step further: Send a test email to the address they provide, and the service evaluates factors including content, headers, SPF/DKIM/DMARC, and blacklist status, then gives you specific suggestions for improvement.
These tools are especially useful for ensuring that your emails are configured correctly, improving deliverability, and avoiding common problems that could cause your emails to be marked as spam.
If you've followed and successfully implemented all the recommendations, your email delivery should now be much more secure and reliable. Your emails are more likely to be delivered and are also protected against unauthorized access and abuse.
If you need help setting up or optimizing your mail server, our support team is always happy to help.
