Migration - Send same email to Notes and Qmail

Hi,We are moving a few thousand users off of Domino onto Qmail. During the migration, we need for emails send to these users to go to both their Notes mailfile and the Qmail server.

I have very little experience with Lotus script and writing formulas. I’ve spent quite a lot of time searching through the Designer Help, and this forum. The idea is users will send to their Notes mail file first, then an agent will send the same exact email over to their Qmail mail file.

Using examples in the Designer Help, I have come up with the following formula:

@MailSend"user1@new.domain.com":“”;“”;“”;subject;“”; “body”);

This works great except the email shows as if it is coming from the Domino server. How can I get it to show as if it is coming from the same original sender?

The second part of my question is, this agent will be put into over 6000 mail files. I also need the SendTo field to be edited within the script.

Example:

Email originally sent to: user1@domain.com

Now needs to go to: user1@new.domain.com

The first part of the email address will be the same, it simply needs to make an addition to the domain name.

Can anyone please provide an example script to meet both of these needs?

Thanks very much in advance.

Subject: Migration - Send same email to Notes and Qmail

how you send mail to user1@domain.com? create a schedule agent on server . check the domain name and send it intended person.

Subject: RE: Migration - Send same email to Notes and Qmail

Thanks for the response Ajit.

I either don’t understand, or that’s not what I need.

I need the email to go to both their Notes mailfile and to Qmail.

Subject: RE: Migration - Send same email to Notes and Qmail

Hi,

I can’t see how it will work in the way you are drawing.

You will need an agent running LS, before new mail has arrived, this agent will forward-copy the new mail.

Now, regarding the modification of the SEND button, you just don’t need it.

What you will have to find a solution is how to duplicate mails from QMAIL to notes.

HTH,

Daniel

Subject: RE: Migration - Send same email to Notes and Qmail

I’ve used this forwarding agent for years and works great:

http://searchdomino.techtarget.com/tip/0,289483,sid4_gci1031336_mem1,00.html

Maybe you could modify the code so you won’t have to put the email address directly into the code, and just insert the new address based on the owner of the database.

That’s the only limitation, there is no GUI for the configuration. You have to edit the agent. There is another one which has a GUI and the user himself can edit it. It’s in the sandbox but I cant find it.

Subject: RE: Migration - Send same email to Notes and Qmail

Sebastian - thank you so much. This does exactly what I need…the only exception being what you pointed out. This has to work for 6000+ mail files, so manually adding the forwarding email address to each one would be a terrible option.Any thoughts on how to do this? I am not a designer…I’ve been playing around with different formulas a lot in the last couple days and have a couple things that partially work, but they all seem to boil down to this same problem…how to get the email address to be edited within the code.

Thanks again.