When emails are received for invalid users in Xeams or any other SMTP server, it returns a 550
as the response code, indicating the recipient does not exist. Most sending SMTP servers treat this error as fatal and generate an NDR letting the sender know the email could not be delivered.
Xeams can be configured to treat an invalid recipient's address as a temporary failure, which is done by adding:
send.temp.reject.for.invalid.users=true
to server.properties file.
Xeams returns a 450
, instead of 550
when this property is enabled. Since 440
is
considered non-fatal, the sender's SMTP server should retry, most likely to the next SMTP server
listed in the priority order.
Consider you have multiple SMTP servers that handle emails for your domain. Your company's primary SMTP server is in New York and has a second SMTP server in London. You want emails for employees in London to go there directly instead of going through New York.
Here are the steps to configure this:
You could also use this feature to save licensing cost for your Exchange Online subscription. Click here for further details.