Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running Parallels with Windows 2003 Server Plesk on my VPS and I can't send mails via mail()

Warning: mail() [function.mail]: SMTP server response: 550 Requested action not taken: mailbox unavailable or not local (...)

Relay options link text

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

Any ideeas what can I do to make it work?

share|improve this question
up vote 0 down vote accepted

I was able to make that error go away by making a mail address in the Plesk panel for the domain where I was running the script. i.e. Script was at

In the Plesk control panel for, I opened the "Mail" icon and created an account called postmaster ( Then in the php script, I changed the value of the 'from' variable to and the error went away

Still can't send mail with the script, but it doesnt return the 'not local' error. Now troubleshooting why mail still doesn't go out, which is how I ran across your question.

  • k -
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.