Setting up of a new server in a small office network

Please forgive me for my lack of knowledge on this subject and it's perhaps something that I should get installed by a professional but hey, I like doing things myself and saving some money at the same time.
We have a network, running gigabit cabling, with 15 macs and 4 pc's connected and we have been working off individual machines and backing up via a drive connected to one of the machines on the network. Then when a job is complete we simply tell people it's finished, they copy it and then I burn it... not ideal and a bit clunky.
What I would like to do is get everyones work onto one machine and then backup and archive regularly from that machine.
Does anyone have any suggestions/advice as to what would be the best way of going about this. I'm getting slightly confused by xServe, Servers and all that stuff!?!?!
Any help would be much appreciated.

Well, you're current method sounds pretty good. But if you want to user a file server, hey go ahead.
What you want to do when you centralize project files is to keep track of which one is the newest and becareful not to overwrite files with the same name. So you either have to set up individual spaces on the server (separate AFP/FTP folders maybe), or you'll need to run a file checkout service.
The individual space is cheaper, but it's not much of a difference from backing up to the network drive. Since you have Gigabit connections, you might even opt to save ALL the user files on the server instead of just the project files.
If you want to run a file checkout service, there's two approaches. You can run a service that can host any kind of file, or you can run a version control system for each kind of application (Photoshop, Word, etc.). Please notice, that as you read further and further along, the methods become more and more expensive and complicated. Once you get to this point, it will be necessary to purchase or build software in addition to the Mac OS X Server package.

Similar Messages

  • Advise about setting up a permissons on Lion server for a small office.

    What is the common wisdom and advise about setting up permissions optimally for a small office using OS X Lion Server as a file server?  I thought I had this solved by setting the ACL permissions so that all users and appropriate groups can read and write all files on the server.  This works great until a new file is created.  Then it appears that the POSIX umask kicks in and takes priority over the ACL permissions.  I need to allow group write permissions on all new files.  My options seem to be:
    Make everyone an admin - not great for obvious security reasons
    Change the umask for the whole machine - also security problems, though perhaps fewer than the everyone-an-admin route above
    Write a folder action applescript to add group write permission on all new files.  This works fine if you have a static number of folders  With new folders it has the problem: How do new folders created by non-admin users get this folder action automatically applied to them - some cronjob to hunt down the new folders; an applesscrpt folder action that adds a folder action to all new folders (sounds recursively complicated)?
    Have a cron job regularly do something like  `chmod -R 664` on all files.  This will break during those between the cracks times between when someone creates a new file and when the cronjob runs - not ideal.
    Seems like this should be easier which makes me think I'm missing something obvious.
    Any help great appreciated.  Thank you in advance!

    Good-heart's advice is certainly your first step, but if you've already done that and still have the problem you've described, you might have the 10.7.3 ACL bug, particularly if your users and groups are in an OD or AD rather than being local accounts on the server. The problem is that ACL's for directory accounts are incorrectly ignored, resulting in POSIX permissions coming into play.
    I've descibed my workaround for this here;
    https://discussions.apple.com/message/18037703
    I haven't yet tried the other trick I've read about, which is to ensure your Share's data directories are at least one level down on the volume - there is a post here on the Communities that mentions this;
    https://discussions.apple.com/message/18028746
    I seem to remember that this helped with an earlier version of AFP, if using external firewire or usb storage.
    Let us know if you find a fix, it seems a number of people have problems with this.
    Regards,
    Ian

  • Best practices for setting up users on a small office network?

    Hello,
    I am setting up a small office and am wondering what the best practices/steps are to setup/manage the admin, user logins and sharing privileges for the below setup:
    Users: 5 users on new iMacs (x3) and upgraded G4s (x2)
    Video Editing Suite: Want to connect a new iMac and a Mac Pro, on an open login (multiple users)
    All machines are to be able to connect to the network, peripherals and external hard drive. Also, I would like to setup drop boxes as well to easily share files between the computers (I was thinking of using the external harddrive for this).
    Thank you,

    Hi,
    Thanks for your posting.
    When you install AD DS in the hub or staging site, disconnect the installed domain controller, and then ship the computer to the remote site, you are disconnecting a viable domain controller from the replication topology.
    For more and detail information, please refer to:
    Best Practices for Adding Domain Controllers in Remote Sites
    http://technet.microsoft.com/en-us/library/cc794962(v=ws.10).aspx
    Regards.
    Vivian Wang

  • Setting up a small office network - advice needed

    We are to move our small office (3 people) from a shared office environment to our own office space. That has the huge advantage that we´ll finally be Mac-only, but the agreeable disadvantage that there is no longer a networking professional around. And this is where I enter. I now have to find a solution on how to set up the network, and I do not have experience in that field (though I am fairly experienced with OSX).
    As of today we have a G5 iMac, a G4 powermac and a G4 iBook. In the not too far future we will be getting a proper G5 powermac as well.
    The G4 is used for low key office applications, Word and Mail mostly. The iMac is the workhorse that runs all graphic/video applications. It also is used for presentations once in a while, so that this machine is not always available. The iBook is used for writing and e-mail plus some light-weight field editing.
    I would like to find a solution that we could store all important files on one computer, so that it would be easier to make regular back-ups. And everyone could easily access those files.
    It would be great if data from iCal and Adress Book could also be stored centrally, such as that addresses are available for everyone, and updated calenders are available for all employees.
    As the budget should be as small as possible, I was wondering if we could use the G4 powerbook (867mhz, 1gig memory) to run a sharing service in the background. Then I could also install a second harddisk and use both hdd as a backing-up-raid. Once in a while I would make a backup on a external firewire disk.
    Is this a possible solution, or should we rather have one machine dedicated as a server. Would it be sufficient then to use the G4 as that server and buy a MacMini or iMac as the office machine?
    Since it is a small network, would I still need an OSX server license, or is the standard OSX enough for this?
    iMac G5 20, G4 QS 867mhz, iBook G4, PB 190, and a Pentium that I haven't switched on in months...   Mac OS X (10.4.3)   Experienced with technology, just not with networking...

    There are two ways to set up a network:
    1 peer-to-peer
    2 client-server
    Peer-to-peer is cheaper, but not reliable. Apple supports peer-to-peer in OS X. (In fact, in all versions of the Mac OS since System 7.) You can have up to 10 users connected to any one machine using peer-to-peer. (Warning... if you have more than five users, that machine is going to get slow.) The various peers are used as normal workstations while sharing. You have three peers, and may get one or two more, so you can use peer-to-peer. Just don't overdo it. Your planed usage of a few Word docs and a few graphics files sounds about right.
    Under OS X the peers are limited to sharing specific folders only, unless they use 3rd-party software such as SharePoint, which allows the sharing of any and all folders.
    It seems that you plan to use the G4 as a 'server' using peer-to-peer. You also seem to be planing to add additional drives, and RAID. I'd get a high end IDE PCI card, or a FireWire card, or a SCSI card, for the G4. Depending on which G4 you have, you can stick up to four hard drives in the case if you go IDE or internal FireWire or SCSI. External SCSI or FireWire drive configuratins are limited only by the drive slots available (7 for low-end SCSI, 15 for high-end SCSI, 63 for FireWIre) and the space available. (And, of course, the budget availanle...) You can get dedicated RAID controllers.
    For backup I'd get DVD or tape. Tape holds more and is easier to use, but is expensive (you have no idea how expensive, but I suspect you'll find out) and can be finicky. DVD is a lot cheaper, but it's slow, and someone will have to sit and feed discs into the machine. This will get old really fast. If your backup requirements are modest, DVDs might do, but probably you'll need something else. You could just buy an external hard disk and back up to that...
    Apple charges US$500 for OS X Server 10 seat version. (They charge $1000 for the 255-seat version.) OS X Server should run on the G4, and will turn it into a full-fledged server.
    Any of the O'Reilly books on OS X Server and/or on Samba should help you get started. O'Reilly's _Using Samba_ has a section devoted specifically to SMB on OS X Server which should be quite helpful.

  • Small Office Network Solution for Final Cut Server - Proxy Storage Etc.

    Hi,
    I haven't been able to find any answers for this question by googling, So I would love if anyone here had some advice. I have the 10 License version of Final Cut Studio with 5 clients at the moment. I would like to set-up our office in the most effective way, however we are a non-profit organization, so we are working with a limited budget.
    My question is, does anyone know of any networking solutions for Proxy Storage and Media storage, that wont bottleneck, but is not as high budget/high tech as using an Xserve/XSan system?
    Right now we would be looking at running Final Cut Server off of our 24inch Intel IMac (Going to beef up the RAM). We have a Gigabit Switch, 4 more intel machines running final Cut pro, and a direct attached Drobo for Media Storage. I know this is not an Ideal set-up, but it's what I have to work with right now. So, I'm looking for any kinds of tips and tricks to make this set-up work for us, and am looking at purchasing either a Network Attached or iscsI storage system for the Proxy Storage.
    I hope this is a decent description of my situation, and would love some advice.
    Thanks Very Much,
    MacNomad

    Hi,
    I haven't been able to find any answers for this question by googling, So I would love if anyone here had some advice. I have the 10 License version of Final Cut Studio with 5 clients at the moment. I would like to set-up our office in the most effective way, however we are a non-profit organization, so we are working with a limited budget.
    My question is, does anyone know of any networking solutions for Proxy Storage and Media storage, that wont bottleneck, but is not as high budget/high tech as using an Xserve/XSan system?
    Right now we would be looking at running Final Cut Server off of our 24inch Intel IMac (Going to beef up the RAM). We have a Gigabit Switch, 4 more intel machines running final Cut pro, and a direct attached Drobo for Media Storage. I know this is not an Ideal set-up, but it's what I have to work with right now. So, I'm looking for any kinds of tips and tricks to make this set-up work for us, and am looking at purchasing either a Network Attached or iscsI storage system for the Proxy Storage.
    I hope this is a decent description of my situation, and would love some advice.
    Thanks Very Much,
    MacNomad

  • Design Suggestion for a new setup for a small office

    Hi Guys,
    We have a client requirement to setup a small business office to connect to its Head Quaters.
    Attached here with the sample High level design.
    My Question here is the above mentioned load balancer can used for this setup or not??? It can be connected to once again a router???
    Internet / Broadband BW would be 15 or 25 Mbps.
    Regards
    Karthik

    Hey qoool,
    You can leave feedback and request features added to the iPhone online here:
    http://www.apple.com/feedback/iphone.html
    Jason

  • Break cluster and move databases to new server

    Hello everyone.  I have a question that may be basic but I am by no means a SQL person.  Right now we have a SQL 2005 cluster running on VM ESXi with a celerra backend storage.  Some drives are mapped Raw.  We recently put in a new
    VNX and we are not able to migrate the SQL server over due to how the drives are mapped.  I am thinking that I want to build a new SQL server and move the databases.  The new build will not be a cluster since we have point in time recovery manager
    from EMC.  Now my thinking is, can I break the cluster, move the 2nd node to the new ESXi and storage and present new storage or would it be best to just build a new server?  Is it easy enough to change an instance name after SQL is running? 
    Several applications refer to the SQL Cluster and they are critical so I need something with least amount of downtime.  Would doing backup of all of SQL and then a restore to the new system be best?  Any thoughts or direction?  Thanks
    Joe M

    The most straightforward and reliable method is to build a new server, migrate the databases using backup/restore, test the new server, and cut-over by shutting down the old servers and either reconfiguring the client applications or renaming the new server
    to have the same network name as the old server's SQL Cluster Client Access point. 
    You can also use DNS redirection instead of renaming the new server, although using a DNS hostname alias for your server requires some additional security configuration.  EG
    http://blogs.msdn.com/b/dbrowne/archive/2012/05/21/how-to-add-a-hostname-alias-for-a-sql-server-instance.aspx
    David
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Problem with the new server UCS C220 for set IP to CIMC

    Hi
    We’ve a problem with the new server UCS C220.
    We bought two servers UCS C220 M3 for CallManager 8.6 with High Availability.
    When we turn on the server during the boot and when it tells us, oppress F8 to enter at the CIMC and set the IP. But it never enters at the CIMC.
    Then, we configure our DHCP server and our switch, we connect the three gigabyte ports to our switch to give him an IP to the CIMC, so and then can enter via browser, but neither works.
    Note. The dedicated management NIC does not link, the other two ports do make link.
    What do you suggest to put an IP to CIMC and start installing our applications?
    regards

    You may have noticed that there is no DVD rom on the c220. What you need to do is:
    Login into the CIMC from your browser
    Luanch the KVM
    Insert the VMware DVD in your machines drive
    On the KVM pop up there should be a tab to mount the drive, after mounting it click on Macros and choose ctrl_alt+delete to restart.
    After the VMware OS installs press F2 to enter IP.
    Browse to the VMware ip to download the Vsphere client
    Open the Vsphere client, enter the ip of the vmware and the username will be root and no password if you did not set one.
    You can now upload OVA templates or manually create virtua machine from this enviroment.
    Hope this help

  • Setting up a new server - terminology and set up

    I have a new mac OS X snow leopard mac mini server.
    The set up is a follows:
    The modem goes into the Time capsule router and from the time capsule there is the mac mini server and also a network printer. There are 4 other computers wirelessly 'attached' to the time capsule.
    I am very confused about some of the terminology and the set up procedure.
    First of all, I might have made a mistake when I did my initial setup without being attached properly to a public IP address. I set up my server inadvertently as hobbes.private. When I go to the server preferences now the DNS is listed as hobbes.private. First of all, is there anyway to change that?
    The set up goes as follows:
    I have a public IP address which is set at the router. From the router there is a designated IP address which goes to the server.
    I have my A records and MX records set up.
    my Domain name is hobbeswiki.com
    the IP address is 114.160.205.178
    When I do an NS lookup IP address, I get this:
    Non-authoritative answer:
    178.205.160.114.in-addr.arpa name = p4018-ipngnfx01morioka.iwate.ocn.ne.jp.
    I've been told that this is normal.
    I use a company in australia for my domain name and they have given me 2 name servers:
    ns1.secure.net
    ns2.secure.net
    The router then takes the info and then gives me an IP address for the server
    its a 10.X.X.X number.
    When I set up my server properly with the IP address, it set up as hobbes.local and under available servers, under network in the server admin, it gives me
    Ethernet (en0) Family IPv4 the 10.X IP address and the DNS name as hobbes.local
    I tried setting up DNS but it won't take.
    I don't know how to set up kerberos, but I want to get the functionality of the podcasting etc, but it tells me I need it.
    I have an SSL certificate.
    With all this info, how can I set this server up and do I need to start from scratch? Do I need to erase the current server and start from the beginning? Is this hobbes.private causing problems?
    In the DNS settings there are just so many different names for different things and I'm not sure what goes where.
    I have a lynda.com account, but I'm not sure their info is the same as mine and they have words like server.samplename.com etc...
    Can someone help?
    The web set up works and I've got a couple users and groups set up to try things out, so it's not a complete failure.... I just can't get anything else to work.
    Thank you!
    Yomogi

    Yes you can. Ideally make also sure that your ISP sets the PTR record for 217.36.255.25 to myserver.address.com

  • Can't add new server in site set up

    In DW6 I can't add a new server in the Servers section of the Site Setup dialog box because there is no plus sign. Only an explanatory sentence shows-- rest is just missing. Have to use DW4 to set up a site then open it with DW6.

    That's very odd dkd;alkje;oihp[oihjl,
    Have you done any of the usual steps to clear the issue?
    Things like clearing the cache or config folder, reinstall, etc?
    One of the decent "catch-alls" for DW is clearing the cache or config folder. The steps are outlined here:http://forums.adobe.com/thread/494811
    Quick Note: Many people here won't respond to gibberish names, they tend not to even look at the posts thinking they belong to some kind of forum spam bot. You would benefit more by using an actual name, even a silly name, but a name none the less.

  • 7.5 SP3 New Server - Runtime Error on Web Page

    Hi experts
    I have added a new web server to an existing BPC installation.
    The environment is load-balanced, 7.5 SP3, built on windows server 2003 SP2, with SQL 2008 SP1
    I used the prerequisites:
    Xceed v6.5
    Antixscript v3
    However, when I try to open the /osoft page directly on the new server, I see the error shown at the bottom of this page.
    I checked the DLLs against those on the 2 working servers, and they are the same.
    I have copied the antixscript dll from system32 to websvr\bin, as I have seen similar problems before and this has resolved it.
    Unfortunately, it hasn't worked this time.
    I have also checked that I can log my PC (windows 7, IE8) into either of the existing web servers, and they work fine
    I have also opened the web site directly on the new server and that works fine (although it offers nothing but Web and Admin, as Excel is not installed)
    I really need to get this server up for user testing first thing in the morning (UK time)
    Does anyone have any suggestions?
    Thanks
    ERROR DETAILS:
    Server Error in '/OSoft' Application.
    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
    <!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>
    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
    <!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>

    Quick update:
    I'm removing BPC and reinstalling, as the issue definitely lies within BPC and/or its associated Web Site.
    I know this as I am able to successfully connect from a client PC to to Reporting Services website.
    If anyone has any suggestions, now would be a great time to make them known.
    Thanks again

  • How do I set up a local testing server?

    Hey again everyone. I am trying to figure out how to set up a local testing server. I've read a couple different tutorials online and i still can't figure it out. I added a new server, named it test server, I'm connecting using local/network, my server folder is C:\Users\Jake\Website\testfolder, and my web URL is http://localhost/. My server model is PHP/MySQL.
    My site's root folder is C:\Users\Jake\Website\. I have also downloaded XXAMP. It downloaded and that was it though, I'm not sure if I need to apply it somehow to Dreamweaver. When I try to preview my pages I get a message that asks me if I want to update copy on testing server. If I choose yes, another message comes up and asks me if I want to put dependent files. Whether I choose yes or no it just says IE cannot display the web page.
    Any help would be appreciated, thanks!

    Site Name: PHP Test Site
    Local Site Folder: C:\xampp\htdocs\php_test\
    Server Name: Local Testing
    Connect Using: Local/Network
    Server Folder: C:\xampp\htdocs\php_test
    Default Images Folder: C:\xampp\htdocs\php_test\Images\
    Web URL: http://localhost/php_test/Server Model: PHP MySQL
    Is that everything you need to know? Note that I do not have a remote testing site set up yet.

  • Reports Take A Long Time to Open on New Server

    We have a number of crystal reports.  Many have sub reports.  Some have a lot of sub reports.
    Earlier this year we swapped out a file server.  ADAPCOFP went away and was replaced by ADAPCOFP1.  ADAPCOFP has been turned off for over a month now.
    The reports run, but when you go to initially open up the file it takes forever to open.  The reports run fast once they are open, but take forever to open them.   One report, that we run daily, takes 3 minutes to open.  I turned the ADAPCOFP file server back on and this same file takes 5 seconds to open.
    I did some google searches and see that others have had this same problem and seem to indicate that they found UNC references to a now non-existent server, removing the references fixed the problem.  We have looked and relooked and looked some more and canu2019t find any UNC references anywhere in the report.  There has to be something there because the state of ADAPCOFP seems to be the key to how quickly the report opens up.
    Where should I look for UNC references.  We have Crystal that was delivered with Dynamics GP and 99% of our reporting is from GP.
    Thanks !

    Hello,
    The issue is the reports are still looking for the original server because that server name is saved in the report file. You'll have to open each report up and do a Set Location to the new report. You'll need the same version of the REport Designer the reports were created in.
    I suggest to call Dynamics and ask them how to update the reports.
    Thank you
    Don

  • How to set up SAPconnect with email server

    Hi,
    Does any one know <b>how to set up SAPconnect with email server</b>
    We are using workflow and when it fails it we are sending the notification mail to the user on his company mail id, i.e. [email protected]
    This is working in the current production system. We are doing the new development which will replace the current production system. The existing Basis team does not know how it was setup in production system and how to set it up in the new system.
    When we send any mail notification from workflow we can see the mail in SCOT transaction but it is not received at the specified mail address.
    Can any one provide the configuration steps or any document for this.
    Thanks in advance..
    Pratik

    Hi Pratik,
    Check the following link:-
    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm
    these link will help u to config SMTP.
    And one more thing u have to do..
    Go to SE11 n open Table sxnodes in change mode.
    And change F_ESMTP field to false i.e. BLANK for the Field NODE = SMTP.
    Hope this will work For U.
    Regards
    Sachin Dhingra

  • How do I move mail from an old server to a new server?

    I am rebuilding my server. The new server runs on OS X 10.9.4 with Server 3.1.2. The old server ran OS X 10.9.x and Server 3.x (the exact versions are not known).
    Within the folder /Library/Server/Mail, I found the email stores for both systems.  I have gone through each folder and identified the 36 character string that serves to identify the user's mailbox and paired each one to a user id on both systems.  On the old system, there are multiple mailboxes for some users, and I think it is a result of the users being deleted and recreated: perhaps the system identified the identical name and assumed that the user might be different and therefore created a unique 36 character id for the mail system.
    The trick is, I am trying to recover the mail from the old server.
    I have attempted to copy the files which are human readable and formatted for SMTP transmission to the new server under the correct mailbox corresponding to the owning user (see screen shots below). The simple act of copying the files has not made these files visible via the IMAP protocol. I have tried restarting the mail service hoping that the Server app would rebuild whatever indexes need to be built so that the mail can be served via IMAP, and that has not worked either.
    The question is, how do I get the mail from the old server mail boxes into the new server mailboxes?
    This screen shot shows the location of one mail collection at /Library/Server/Mail/Data/mail/[userid].  Mail sits in the "new" folder only for a moment before being processed and put into the "cur" folder.  Copying mail from the old server into the "new" folder produces an empty "new" folder, but one can see the files populate briefly before they are moved into the "cur" folder.
    The next screen shot shows one email opened in TextEdit.  The format should look very familiar.  This is the same format that one would use to send SMTP requests to an SMTP server.  This particular example happens to be an email from a Gmail account to the PediatricHeartCenter.org domain to test the mail system when the old server was set up.  It was sent on 24 Jan 2014 and had text reading "Intended for Mavericks1. -Jared".

    On further research, I have learned that OS X Server sets Dovecot to use the MailDir format.  The email messages can be removed from the folders and put back, and as long as they were present in the folder to begin with (received by Dovecot originally), they reflect in the Mail.app on client computers.  Deleting a file in the "cur" folder causes the file to disappear in Mail.app. Copying the file back into the "cur" folder will cause the file to reappear without any modification of an index file or any other system component, as long as the file was properly formatted by Dovecot to be identifiable to that folder.
    According to Dovecot.org's review of MailDir found here (http://wiki2.dovecot.org/Ma,ilboxFormat/Maildir), the file name can be broken into simple pieces: " [unixtimestamp].[process id].[hostName],S=<message size>,W=<virtual message size>/2,[status tags]".  The original MailDir++ specification requires the string ":2," to appear after the virtual size, but this file naming format is not legal in Mac OS X, so Dovecot is modified by Apple to use "/2," instead.
    The Dovecot's wiki describes inserting new messages as follows:
    Mail delivery
    Qmail's how a message is delivered page suggests to deliver the mail like this:
    Create a unique filename (only "time.pid.host" here, later Maildir spec has been updated to allow more uniqueness identifiers)
    Do stat(tmp/<filename>). If the stat() found a file, wait 2 seconds and go back to step 1.
    Create and write the message to the tmp/<filename>.
    link() it into new/ directory. Although not mentioned here, the link() could again fail if the mail existed in new/ dir. In that case you should probably go back to step 1.
    All this trouble is rather pointless. Only the first step is what really guarantees that the mails won't get overwritten, the rest just sounds nice. Even though they might catch a problem once in a while, they give no guaranteed protection and will just as easily pass duplicate filenames through and overwrite existing mails.
    Step 2 is pointless because there's a race condition between steps 2 and 3. PID/host combination by itself should already guarantee that it never finds such a file. If it does, something's broken and the stat() check won't help since another process might be doing the same thing at the same time, and you end up writing to the same file in tmp/, causing the mail to get corrupted.
    In step 4 the link() would fail if an identical file already existed in the maildir, right? Wrong. The file may already have been moved to cur/ directory, and since it may contain any number of flags by then you can't check with a simple stat() anymore if it exists or not.
    Step 2 was pointed out to be useful if clock had moved backwards. However again this doesn't give any actual safety guarantees, because an identical base filename could already exist in cur/. Besides if the system was just rebooted, the file in tmp/ could probably be even overwritten safely (assuming it wasn't already link()ed to new/).
    So really, all that's important in not getting mails overwritten in your maildir is the step 1: Always create filenames that are guaranteed to be unique. Forget about the 2 second waits and such that the Qmail's man page talks about.
    The process described by the QMail man page referenced above suggests that as long as a file is placed in the "new" folder, that a mail reader can access it.  The mail reader then moves the file to the "cur" folder and "cleans up" the "new" folder.  This is clearly happening in OS X, because the messages are moving from "new" to "cur", but IMAP is still not serving these foreign messages to the remote readers.
    The thought crossed my mind that perhaps it is the fact that the host name does not match, which would cause the failure, however changing the "host" portion of the name from the old-server to the new-server did not fix the issue.  Even with the new server name in the file name, the inserted message fails to appear in client Mail applications.
    Within the file their is header information that still references the old machine. I'd like to not have to change the email files, because this will violate the integrity of the message. Also, this might take a lot of time or incur risks associated with poor automated processing. The header information should not be referenced by Dovecot, because the wiki page describing MailDir notes that neither Dovecot nor Dovecot's implementation of IMAP refers to the messages header information when moving and serving these mail files.
    Unlike when using mbox as mailbox format, where mail headers (for example Status, X-UID, etc.) are used to determine and store meta-data, the mail headers within maildir files are (usually) notused for this purpose by dovecot; neither when mails are created/moved/etc. via IMAP nor when maildirs are placed (e.g. copied or moved in the filesystem) in a mail location (and then "imported" by dovecot). Therefore, it is (usually) not necessary, to strip any such mail headers at the MTA, MDA or LDA (as it is recommended with mbox).
    This paragraph leads me to believe that after the mail box is identified that the content of the file becomes irrelevant to the system which manages. This suggests that we should be able to inject messages into a mailbox and have the system serve them as though they had belonged in that mailbox all along. Yet I have not found a way to do this.

Maybe you are looking for

  • Can't open Print Settings dialog

    All of the sudden I cannot open the print settings dialog from the print window in Aperture. Every time I click the button, I get this in console: 3/22/08 3:16:22 PM Aperture[574] * Assertion failure in -[RedRock _commonBeginModalSessionForWindow:rel

  • Reportin in two currencies

    Hello all, is there a possibility of reporting in two currencies, say for eg: present local currency is INR and I also want to report in EUR. if i define an additional currency in transaction code OB22, what will happen to the previous transactions?

  • Where to find - information on adjava utility

    Where I can find any information on adjava utility

  • Regard Update Table Entry for CRMPRLS

    Hi, II am working on SRM 7.0. While doing middle ware settings for data replication, I found out that wrong entry is maintained in Tabel CRMPRLS for logical system I tried to make changes to table CRMPRLS though transaction se11 but system is not all

  • Please suggest on BexAnalyser

    Hi All, We have workbook with 2 queries inserted, facing a problem with overlapping the results from 1st query to below one if we open the nodes in Hierarchy. We need to find a solution to dynamically push the below query down with respect to above q