501 Syntax error in parameters or arguments

We have a 8.0 Domino server at a Client site which is required to relay mail through their relay server (Exchange). Yesterday the relay server started refusing to relay with this error.

“501 Syntax error in parameters or arguments”

Apparently it does not like the format of our From value which is in this format.

MAIL FROM:Server/OU/Domain%Domain@internetdomain.com SIZE=2980

These are server generated messages and have gone out for years in this format but now it is a problem. How can I modify the format of the from value to be “servername@internetdomain.com”? Although my global domain document is already telling the server to format mail in this way, server generated mail seems to have a different agenda. I appreciate any insight you can provide.

Subject: What do you mean by “server generated mail”?

What process on what kind of server is generating this nonstandard type of email address?

Subject: Thanks for responding Andre

I have a general event handler in DDM that sends me an email every time something fails on the server. Also error notifications generated by Open Log have the same problem. I have suceeded in removing most of the non compliant parts of the “from” value by modifying the global domain document. I cannot get rid of the full server name. I need just the CN of the server and not the full “servername/ou/domain”@internetdomain.com. We are fine with messages generated by agents where we can set the from value in LS but these server generated messages are not cooperating.

Subject: that looks like a valid email address to me…

…so maybe you should talk to Microsoft.

You might be able to do something by assigning the Principal field to ab email address you like. Alternately you can instead of sending the email, save the email into the mail.box database on the server, setting the From field to what you want. The message will still contain internet version of the signer’s email somewhere, so Exchange might still object. Another option is to use an agent signer which is a person, so that you can set the internet email address in the person record.