We've just started using Mecury to download from two POP 3 Domain mailboxes and distribute mail to local users. The clients use Pegasus Mail. However, with large emails we get multiple copies of the same email but of incrementally larger size. Eventually the whole message will come through but split up into many bits. We could increase the polling time but this would have to be set to the largest anticipated email. We used to use Pegasus to do the downloads and distribute the email with filtering and never had this happen. Mercury32 is installed on a NAS Windows Server 2003 R2 Appliance Edition.
Any help would be greatly appreciated.
Dale Trimble
[quote user="dalet"]
We've just started using Mecury to download from two POP 3 Domain mailboxes and distribute mail to local users. The clients use Pegasus Mail. However, with large emails we get multiple copies of the same email but of incrementally larger size. Eventually the whole message will come through but split up into many bits. We could increase the polling time but this would have to be set to the largest anticipated email. We used to use Pegasus to do the downloads and distribute the email with filtering and never had this happen. Mercury32 is installed on a NAS Windows Server 2003 R2 Appliance Edition.
Any help would be greatly appreciated.
Dale Trimble
[/quote]
Pegasus Mail is checking the mail as it is being downloaded and sees this message in the inbox. You can increase the new mail folder polling time for the new mail so this does not happen. That said, this is exactly what Mercury/32 using MercuryD is designed to do and Mercury/32 has an option to not process the mail until it's the same size on two separate polls. I recommend you use Mercury to perform this task.
Hi Thanks for replying
Can you tell me where these polling controls are located in the configuration options in Mercury32. I've had a look but am unable to see them.
Cheers!
Dale
[quote user="dalet"]
Hi Thanks for replying
Can you tell me where these polling controls are located in the configuration options in Mercury32. I've had a look but am unable to see them.
Cheers!
Dale
[/quote]
Configuration | Mercury core | Mail queue | Process the queue in two passes (file locking)
Thanks again
However, this option is already ticked. It's when Mercury is downloading from the remote POP3 box that the multiple file downloads occur. Is there a way of configuring MercuryD to do the same?
Many thanks
Dale
[quote user="dalet"]
Thanks again
However, this option is already ticked. It's when Mercury is downloading from the remote POP3 box that the multiple file downloads occur. Is there a way of configuring MercuryD to do the same?
Many thanks
Dale
[/quote]
This is really strange. MercuryD should never be processing a file for delivery multiple times during download. How often are you scanning the new mail folder in Pegasus Mail? How log does it take to write a message? It should only take seconds to write even a large file and if you are rescanning the new mail folder every 30 seconds or so you should never see a partially written *.CNM file. How are you actually setup in MercuryD to accept the files? If the username is blank and the default user is the user then the mail should be processed by core for delivery to the user. You might need an alias to a local SMTP email address for this but delivery by core is a lot better than delivery by mercuryD.
Hello Again
The multiple file downloading occurs during the POP3 download and can be seen happening in the Mercury D window. Every time there is a poll a section of the email is downloaded but in ever increasing size. Presumably the core then passes the partially processed mail to the Pegasus mailboxes and the user sees all of the partial messages. We've increased the poll time to two minutes but this won't stop it from retrieving a partially processed message presumably. I realise that we could make the interval much longer but this doesn't seem to be a solution. Otherwise the integrated Mercury/Pegasus setup works fine and seems straightforward. When you ask how we are setup in MercuryD to accept files I'm a bit unclear what you mean. Basically Mercury collects the mail from a Domain Box POP3 mailbox and routes the mail to the mailboxes. I could supply settings details if that might help.
Dale
I've just had another go at this and I think it is probably solved. By increasing the scanning interval of the new mail folder by Pegasus, larger messages are now coming in as a single message. I can't really grasp why this should happen in the first place but it seems to work and the increase in scanning time is no sacrifice. Why are the new mail files rewritten?
Anyway, thanks for the solution and the help.
Dale
[quote user="dalet"]
The file gets 'dissected' during the POP3 download by Mercury. Viewing the MercuryD window the message can be seen being 'retrieved' but in ever larger chunks. This also apparent in the log file where the identical message is downloaded multiple times but then processed separately. This seems to happen well before the core process passed the messages to the Pegasus mailboxes. I'm not sure what you mean about our setup on Mercury and the usernames but will supply any info that will help.
Thanks
Dale
[/quote]
Very strange. There should be no reason at all that the message is being downloaded like that unless there is some sort of failure during the download. Even then the message should be discarded rather then saved to the users new mail directory. Have you run a session log on MercuryD to see exactly what's happening with the downloads?
Thomas
Seems like I managed to mix up my replies somehow. The problem is definitely related to the scan time of the new mail folder by Pegasus. Increase the scanning time and the message splits are fewer and the messages larger. Close Pegasus down and the message comes in whole. I can't fathom this. Is it possible that this is related to read\write access to the folder by Mecury? I've checked the account from which Mercury is logged in but full control is specified. Any ideas?
Many thanks
Dale
What new mail scan time are you using? What size messages are these that it takes multiple scan times of the new mail folder before they are downloaded?
The original scan time was just ten seconds but this has never mattered before (pre Mercury). This meant that with a 1 to 1.5mb message you got three emails, two small ones of 0.4m - 0.7mb and the final one of the correct size. Increase this to 30 seconds and the mail comes in whole. I understand that I can increase this to much longer but what happens if Pegasus scans mid way through a large message still writing to disk?
Thanks
Dale
[quote user="dalet"]
The original scan time was just ten seconds but this has never mattered before (pre Mercury). This meant that with a 1 to 1.5mb message you got three emails, two small ones of 0.4m - 0.7mb and the final one of the correct size. Increase this to 30 seconds and the mail comes in whole. I understand that I can increase this to much longer but what happens if Pegasus scans mid way through a large message still writing to disk?
Thanks
Dale
[/quote]
It should have since the download via POP3 should take ma lot longer than mercury core writing a cnm file to the disk. Again, how long is it taking to write these files to the new mail directory? A one MByte message getting you three separate messages in the new mail folder means that it's taking over 30 seconds to write a 1 MByte file. I guess I really do not understand what you are doing with your setup. I've set my re-scan of the new mail folder to 3 seconds and never see this problem.
Hi
Apologies for the late reply. My colleague and I have been busy with this and other matters.
The downloaded data is being written to a RAID5 array comprising 4 fast SATA disks in a NAS device. The same array is used to store our working data and we have not experienced any delays reading/writing/copying to/from the array during normal usuage. Our connection is a 0.5mbit broadband connection, so large mails will take a short while to download.
Mercury is configured as follows:
Core Module Poll Time: 10 seconds
MercuryD POP3 Module Poll Time: 180 seconds
Mercury is running under the local Administrator account
I recently sent a 7MB attachment from a web account to my address, and after delivery the mail message was fragmented, with each fragment larger then the one before until the last message contains the complete file. So, the result is that I received several emails, of progressively larger sizes, and only the last message contained the complete attachment.
We cannot understand what is happening here. It looks as though the Core Module is forwarding the mail message before all the file has been downloaded. Presumably this cannot happen as the file would be flagged as incomplete and not ready for forwarding.
If you or anyone else has any thoughts on this we will be very grateful to hear them.
Thanks
I have just sent the same attachment which has been delivered directly to my Pegasus mailbox by the SMTP module (not via POP3) and the file arrived in one piece.
Is there a problem with the POP3 module/Mercury Core Module? This seems very strange.
[quote user="Greenman"]
I have just sent the same attachment which has been delivered directly to my Pegasus mailbox by the SMTP module (not via POP3) and the file arrived in one piece.
Is there a problem with the POP3 module/Mercury Core Module? This seems very strange.
[/quote]
No it is not delivered by the SMTP module, it is placed in the queue as a MG*.QCF/QDF file pair and it's delivered by core. In same way, if you leave the local user blank in MercuryD and and use an alias to a local domain for this user then it's going to be delivered by core as well.
Hi Thomas, thanks again for taking the time to reply.
What I don't understand is when mail to our organisation was being delivered via POP3, messages with attachments were delivered to user's inboxes in fragments. However, when the same messages are delivered via SMTP the user receives a single message.
The way Mercury32 delivers these messages to the user's inbox does, in our experience, vary depending on whether the POP3 module or the SMTP (both the normal server and the end-to-end server) is used.
If you want any more information about how our installation of Mercury32 is configured, please ask.
[quote user="Greenman"]
Hi Thomas, thanks again for taking the time to reply.
What I don't understand is when mail to our organisation was being delivered via POP3, messages with attachments were delivered to user's inboxes in fragments. However, when the same messages are delivered via SMTP the user receives a single message.
The way Mercury32 delivers these messages to the user's inbox does, in our experience, vary depending on whether the POP3 module or the SMTP (both the normal server and the end-to-end server) is used.
If you want any more information about how our installation of Mercury32 is configured, please ask.
[/quote]
Have you entered a username for the POP3 download? If so leave it blank and use either the header in the message or an alias to deliever the mail. In this way it's going to be passed to mercury core for delivery after it has been completely downloaded from the mail server.
hello everybody
this is my first reply ever and i joined the forum only to say that i had the same problem and i fixed it by creating a temp folder where incoming messages are put when delivered, (and once complete then moved to the users mail folder) put the user default name to be the acct that mail is delivered and... voila.. no more multiple copies.
Your previous draft for topic is pending
If you continue, your previous draft will be discarded.