Greetings!
I have an agent that runs in a server named “IPTEMPO03/PTEMPO/BR”, everyday at 03:00 AM. It works fine and send e-Mail messages to a selected list of our Notes users (internal), as well as Internet addresses (external).
In the agent´s code I have added these statements:
doc.INetFrom =“PR_System@no_response_please.org”
doc.SendFrom = “rubens@arcadia-br.com”
doc.From = “rubens@arcadia-br.com”
doc.AltFrom = “rubens@arcadia-br.com”
But some messages are still being sent with the server´s name as “From” and some error messages are sent back to this “user” (the server - IPTEMPO03…), causing a great number of Dead Mail in the server´s environment, instead of being redirected to my personal mailbox (rubens@arcadia…).
How do I fix this problem?
What am I forgetting?
Any help would be greatly appreciated.
Thanks in advance,
Rubens
Subject: Server name in message
Is the mail agent signed by the server??? This is likely.
You could create a seperate ID to sign the agent or run the agent as someone else using a signer with RUN AS permissions.
Other than that you can add a PRINCIPLE field to the New Memo form. This means that all emails going out will have the Sender “principle” you can also add other field for replys etc.
Have a look here
http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/c82326c0a42e625085257108004974bc?OpenDocument&Highlight=0,principle
Subject: RE: Server name in message
Yes, the agent is signed by the Server´s ID. I don´t want it to be signed by my ID (even thou I have no rights to do that!), that´s why I´ve populated those fields with a different address from the Server…
Would that be the problem? Even thou the fields say “such_and_such@any_site”, it goes with the Server´s name, just because it was the Server who signed the agent?
Subject: RE: Server name in message
as Nathan suggested, set the PRINCIPAL field equal to the from address and that should fix it.
Subject: RE: Server name in message
Thanks for your tips, but the PRINCIPAL field is already set to another address…
The strange thing is that the “From” field is set to “rubens@arcadia-br.com” but the message still goes out with the server´s name on it…
When checking the document´s properties, I see “IPTEMPO03/PTEMPO/BR” (server´s name) in the “From” field…
These are the fields set during the composition of the message:
doc.SendTo = entry.ColumnValues(2) ‘List of recipients’ addresses
doc.Recipients = entry.ColumnValues(2) 'Same as above
doc.Principal=“Happy Birthday”
doc.DisplaySent =“PR dept.”
doc.SendFrom = “rubens@arcadia-br.com”
doc.From = “rubens@arcadia-br.com”
doc.ReplyTo = “PR_System@no_response_please.org”
doc.AltFrom = “rubens@arcadia-br.com”
doc.INetFrom =“PR_System@no_response_please.org”
doc.ErrorsTo = “rubens@arcadia-br.com”