I am trying to set up our Domino server to send outbound mail using our website hosting provider’s mail server. I created a configuration document and enabled smtp. I also added “ServerTask=Router” as a notes.ini parameter. I created a connection document and specified the host name of our web host’s mail server. So far, it is not working and I receive no error messages from the domino mail router. I think I ought to specify the login and password for the external mail server somewhere, but how?
In Server document, set Routing tasks to “Mail Routing”.2. In Configuration Document > Router/SMTP > Basics:
SMTP used when sending messages outside of the local internet domain: “Enabled”
SMTP allowed within the local internet domain: “Disabled”
Relay host for messages leaving the local internet domain: Host or its IP address (put IP address in square brackets, e.g., [999.999.999.999]
Be sure that the “Router” task is running on the Domino server.
Delete the Connection document.
If you also want to receive mail, enable the SMTP Listener in the Server document and make sure that the Domino SMTP task is running (and listening to port 25).
If I have SMTPAUTH installed on the same machine as the Domino server, do I just put “localhost” in the “Relay host for messages leaving the local internet domain” field?
You need to put “smtpauth” in the “relay host…” field and ensure that your host file maps to 127.0.0.1. I run mine on the same machine and send tons of messages… works fine. Is it possible to have a server dedicated to SMTPAUTH? Sure… but probably unecessary. Try it locally and see if it performs well for you. The other issue… edit your server document and ensure that your outbound ports match. The port can be set by launching SMTPAUTH tool. Your case could be different than mine… my server (Domino/SMTPAUTH) authenticates with an external service vs. an internal server. It is still setup the same… the big reason for SMTPAUTH is authentication at the server level.
I tried this and I am getting the 554 Relay rejected for policy reasons error. it seems that it is just not working. The smtp auth service IS running it seems like notes server refuses to make localhost relays, but I tested in outlook to loopback and it can send emails just fine. problem with notes any ideas
If your server has access to the network and can see the SMTP relay server, you should be able to relay w/o problems. This assumes that the relay server can accept your request and does not relay controls, etc. I would goto the server console and “trace ” to ensure that the server can be resolved. If so, you should just be able (works here) access the server’s configuration doc, Router/SMTP tab and add the hostname in the “Relay host for messages…” field. If the mail relay requires authentication, you will need to install a tool like SMTPAUTH and have Domino send mail to it then SMTPAUTH authenticates with the relay host.
Thanks, Michael. I installed SMTPAUTH on the same machine as the Domino server and set the destination server as “localhost” in the connection document. When I tried “trace smtp.xxxxxxxxxx.com” in the console, it does resolve the host name to the ip address successfully, BUT I get the following output: