Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

Copy of External Mail sent automatically to another email ad

Feb 22 04 1:05 am

Hello,

Due to many staff turnover, the big bosses would like to implement a new policy at our company, whereby all emails sent externally be copied directly to another email address for security and policy reasons.

We are using the latest Wingate 5.2.2 and Kaspersky Antivirus 1.2.2.

The flag "Keep copies of mail sent" is checked in email system tab, but unfortunately these take up many spaces and the several files ( e.g. 00000289.msg ) is unreadable.

Is there a way to do this ?

For your perusal,

We do not use Exchange. Each users have got their email address provided from the ISP, and we are using Wingate for Internet Sharing through an ADSL Alcatel Pro.

Looking forward to read from you,

Thank you & kind regards.
Salim

Feb 22 04 3:39 pm

Salim,

Currently this is the only way to save copies of email.

The .msg files are readable by Outlook Express. You may rename them to .eml to make this easier.

Larry

Mar 11 04 9:39 am

Hi Larry,

You are right, it worked. However there's a problem.

I have worked out few stuff from Wingate scheduler so that all the *.eml files is moved to a different secure folder. I made use of a third party software so that it renames all the *.msg to *.eml.

But per day we have around 200/250 emails. It's not convenient to click over the *.eml one by one. Is there a way that Outlook Express can import all the eml in one go ? or is there any third party software that can allow this ?

Thanks
Salim

Mar 11 04 10:03 am

Glad to hear it worked Salim.

Sorry but I don't know of anything that will let you look at them all at once.

Maybe someone else has a suggestion.

Larry

Mar 12 04 12:17 am

salimwng wrote:Hi Larry,

You are right, it worked. However there's a problem.

I have worked out few stuff from Wingate scheduler so that all the *.eml files is moved to a different secure folder. I made use of a third party software so that it renames all the *.msg to *.eml.
But per day we have around 200/250 emails. It's not convenient to click over the *.eml one by one. Is there a way that Outlook Express can import all the eml in one go ? or is there any third party software that can allow this ?

Thanks
Salim


You could copy them to the Administrator [or other] POP3 account folder with:

xcopy C:\PROGRA~1\WINGATE\MAIL\spool\sent\*.msg C:\PROGRA~1\WINGATE\MAIL\POP3\ADMINI~1\ /a

[>> This assumes the path named above is the same in another pc <<]

This could be a scheduled task prior to the one which moves them in the form of a batch file srcipt.

This would allow them to be opened in the 'administrator' PoP3 email account.


Nev.

Mar 12 04 4:04 am

Nev wrote:
salimwng wrote:Hi Larry,

You are right, it worked. However there's a problem.

I have worked out few stuff from Wingate scheduler so that all the *.eml files is moved to a different secure folder. I made use of a third party software so that it renames all the *.msg to *.eml.
But per day we have around 200/250 emails. It's not convenient to click over the *.eml one by one. Is there a way that Outlook Express can import all the eml in one go ? or is there any third party software that can allow this ?

Thanks
Salim


You could copy them to the Administrator [or other] POP3 account folder with:

xcopy C:\PROGRA~1\WINGATE\MAIL\spool\sent\*.msg C:\PROGRA~1\WINGATE\MAIL\POP3\ADMINI~1\ /a

[>> This assumes the path named above is the same in another pc <<]

This could be a scheduled task prior to the one which moves them in the form of a batch file srcipt.

This would allow them to be opened in the 'administrator' PoP3 email account.


Nev.


Renaming is very easy with a batch file. Just use the windows editor to create a file rename.bat in the directory in question and in the first line of that file put ren *.msg *.eml and save the batch file. By doubleclicking on the batch file all endings will be changed to .eml

To further enhance the batch process you can put the xcopy line as explained by Nev above in the first line (which will copy all files from one directory to another) and then the ren (rename) line in the second line and voila you copy and rename in one go ... :-)

Brgds
Oliver

Mar 12 04 5:40 pm

Renaming is very easy with a batch file. Just use the windows editor to create a file rename.bat in the directory in question and in the first line of that file put ren *.msg *.eml and save the batch file. By doubleclicking on the batch file all endings will be changed to .eml

To further enhance the batch process you can put the xcopy line as explained by Nev above in the first line (which will copy all files from one directory to another) and then the ren (rename) line in the second line and voila you copy and rename in one go ... :-)

Brgds
Oliver[/quote]

Actually xcopy can do this in one action with > xcopy *.msg ..\*.eml this would cause all files matching the .msg spec in source to be copied one directory higher and renamed .eml in the process.

Anyway the .msg format is ok for Outlook, just tried it here and the open ok when served from the username folder.

Cheers.
Nev.
Post a reply