• 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/

Plesk+Qmail config: remote being treated as local?

R

rjc_sysadmin

Guest
Hi, I have a plesk/qmail configuration problem and googling around the qmail forums doesn't seem to allow for the plesk/qmail implementation:

Background:
- The domain 'domain.co.uk' is hosted within a Plesk 8.1 VPS on Red Hat Fedora 4 - but only the domain's A record is pointed to this server, the MX is external.
- There are no user mailboxes or mail services for this particular domain, but there are for other VPS domains.
- The MTA is qmail invoked via sendmail by cgi script.

Problem:
I am trying to send to anyname@domain.co.uk but qmail is treating the requests (quite reasonably) as local, rather than remote, and returning an error
The cgi-script could contain any email address, therefore it needs to be a catch-all solution, preferably that doesn't upset any Plesk qmail settings now or in the future...

Logs:
/var/qmail/control/locals - contains the single entry 'localhost'
/var/qmail/control/virtualdomains contains the entry for domain.co.uk amongst the other virtual domains on the VPS
/usr/local/psa/var/log/maillog contains:
Jun 30 04:42:43 ip-xxx-xxx-xxx-xxx qmail: 1183117363.573915 new msg 14170298
Jun 29 04:42:43 ip-xxx-xxx-xxx-xxx qmail: 1183117363.573978 info msg 14170298: bytes 1218 from <anonymous@ip-xxx-xxx-xxx-xxx.ip.secureserver.net> qp 26512 uid 10002
Jun 29 04:42:43 ip-xxx-xxx-xxx-xxx qmail: 1183117363.657921 starting delivery 51: msg 14170298 to local 2-anyname@domain.co.uk
Jun 29 04:42:43 ip-xxx-xxx-xxx-xxx qmail: 1183117363.677429 delivery 51: failure: This_address_no_longer_accepts_mail./

I'm quite new to running a server beyond the basics - anyone know if there's there a plesk-friendly way to force 'remote' for one VPS domain?
 
Ah.
Thanks for that simple but effective answer, breun, you really helped me out here - I couldn't step back from the problem and see the wood for the trees, there...
I learnt an awful lot about MTA's though, so it's all for the best.
Thanks again,

rjc
 
Back
Top