Here is a little problem we have. A client has a webpage on our system and email on another system. When we generate an email with a php form for example and try to send it to an email address which should go to the email server it never gets there
Here is the problem:
Server A hosts web domain.com β Sends php form email to user@domain.com ON ANOTHER SERVER β Email never gets to server B.
Does domain.com here mean that a domain is hosted on 1 box with mail being routed via the MX rec to a 2nd box? If so you need to /home/vpopmail/bin/vdeldomain domain.com on the box hosting domain.com
Exactly, domain.com is web hosted on server A, but all mail is on server B. So just by introducing that command it will solve the problem? What does it actually do? Thanks!
It deletes that domain for Vpopmail meaning that Server A no longer acts as mail server for that name and will no longer receive mail for that domain. If anyone from the outside world sent mail this would never be a problem b/c the MX record would point to server B, but if you send mail from server A and server A also thinks itβs the mail server (locally) the mails will not be forwarded to server B.