Re: Mailbox on NAS
<[email protected]> Fri, 9 Sep 2011 09:46:30 +0200
| Newsgroups | gmane.mail.xmail.general |
|---|---|
| Message-ID | <[email protected]> |
This is a know 'move' issue with mounts to/from logical high level networking file systems The reason why this works for ramdisk mounts is because the ramdisk is a local low io dev to the system You could try to mount from an iSCSI drive (if your nas/san support it) as the target is considered as a local harddisk ressource even if finally hosted on a different system And Iscsi is very 'performent' compared to 'high level' network file systems like nfs, ... Francis -----Message d'origine----- De : [email protected] [mailto:[email protected]]De la part de Rittikorn L Envoyé : vendredi 9 septembre 2011 04:57 à : [email protected] Objet : Re: [xmail] Mailbox on NAS As my understanding for folder domains will use when send to local Email only, it mean for outside Email, no need to care about domains folder. It correct? for testing update I try to debug XMail logs and found error when move file from /var/MailRoot/tmp/<files name> /var/MailRoot/domains/<domain>/<user>/Maildir/new/<files name> after more check /var/MailRoot/tmp/<files name> never receive local Email <Outside mail it Ok>, It mean from spool folder cannot move to tmp folder it correct? Please help me to explain XMail flow for sending Email. PS: I very sure on permission on NAS, because if I move all MailRoot to NAS everything work. Regards, Rittikorn L. On 08/09/11 19:19, Chris Franklin wrote: I've got my temp folder in a ram drive 2.5 gigs ramdrive. And it helps a lot (we have 17 filters that each needs to view and possibly alter each message). And while your right a slight decrease in speed due to having to copy a file. It would will be dwarfed by the speed of both the lan and nfs in he's/her's case. As it going to a nas device which in and of it self is going to be a bottleneck (poor back plans, nics, os, caching systems, etc)... Ps. Also for anyone running dovecot moving your indexes to a ramdrive, also does wonders. And having it rebuilt the indexing on a reboot for us is a plus. On Sep 8, 2011 8:00 AM, "Bart Mortelmans" <[email protected]> wrote: > Hi, > > I'm not sure why this doesn't work, but for the performance, It might > also not be a good idea to have the domains folder and the spool folder > in different locations. I do think XMail does "move" files between those > folders, which isn't the same as copying a file and then deleting the > original file. If both folders are on the same partition, moving a file > doesn't require actually copying its contents, it simply is linked to a > different location. If you're moving a file from one partition to an > other, this however does result in making a copy and then deleting the > original. So if most mails on your mailserver end up in a mailbox, then > it would be better to have spool and domains folder on the same partition. > > In the light of this: I would be interested to know when XMail "moves" > files and when it makes a copy. I have for example read that setting the > temp-folder in memory would be a good thing to do. But if files are > "moved" in and out of the temp folder instead of being copied there, > this might not be such a good idea. Does anybody have an insight on this? > > Sincerely, > Bart Mortelmans > > > > Op 08/09/11 13:26, Rittikorn L schreef: >> Update. >> >> If I mount MailRoot folder to storage it can work normally. >> but it include spool folder, I don't want process spool folder at storage >> because storage it low performance, May be if run in real environment >> will lose connection. >> >> someone has any idea? >> >> >> Regards, >> Rittikorn L. >> >> >> On 08/09/11 15:43, Rittikorn L wrote: >>> Hello, >>> >>> >>> I would like to move XMail mailbox data to storage. >>> I mount nfs only domains folder to storage and copy all user folders >>> to storage. >>> mail client can connect to server and got old Email normally >>> >>> after that I check send Email to local users but no any Email >>> receive, Email still remain in spool folder, >>> but if I send Email to outside it can send normally, >>> >>> Help me please... >>> >>> Regards, >>> Rittikorn L. >>> _______________________________________________ >>> xmail mailing list >>> [email protected] >>> http://xmailserver.org/mailman/listinfo/xmail >>> >> >> _______________________________________________ >> xmail mailing list >> [email protected] >> http://xmailserver.org/mailman/listinfo/xmail >> > > _______________________________________________ > xmail mailing list > [email protected] > http://xmailserver.org/mailman/listinfo/xmail _______________________________________________ xmail mailing list [email protected] http://xmailserver.org/mailman/listinfo/xmail _______________________________________________ xmail mailing list [email protected] http://xmailserver.org/mailman/listinfo/xmail