WeBWorK and email

WeBWorK and email

by Wesley Cramer -
Number of replies: 1
WeBWorK itself is running fine, and I can send and receive email via the command prompt, but I have had no luck getting the two to work together. When I select a problem and hit email instructor, I get the following error.

Failed to open the mailer: Local user "Administrator " unknown on host ""> is my domain. I know you will probably need more info, but I'm not sure what. Please let me know what would be>.

In reply to Wesley Cramer

Re: WeBWorK and email

by Jason Aubrey -
Hi Wesley,

The error message you're getting is from the perl module Mail::Sender, and the docs for that module have this to say:

If you get a "Local user "" unknown on host "zzz"" message
it usualy means that your mail server is set up to forbid mail relay.
That is it only accepts messages to or from a local user. If you need
to be able to send a message with both the sender's and recipient's
address remote, you need to somehow authenticate to the server. You may
need the help of the mail server's administrator to find out what
username and password and/or what authentication protocol are you
supposed to use.

However, I'm not sure what the specific solution to this problem is, but I would start by comparing the settings in the "Mail Settings" section of global.conf and the settings/requirements of your mail server. If you can post some of those details here, somebody might recognize the specific problem you're having.

Good luck,