On 8/28/2012 8:16 AM, Mike wrote: > > >> The first thing that comes to mind is using a ramdisk for the queue > directories. >> But I'm doubting Postfix will work with queue directories on a > ramdisk. Wietse can answer this. > > There's no reason Postfix won't work with /var/spool/postfix mounted > from RAM. The standard filesystem(s) used for ramdisks may not work, you > may need to pick a real file system like ext3/4, but if you have > something you can treat as a block device there should be no technical > issues.
Just been reading up on the matter and it appears one can run the Postfix queue on a ramdisk. > Whether you *should* do something like this is an entirely different > matter. Agree 100%. For the OP what's the worst case scenario if the server crashes and he loses the queue? Some of the ~10K people to be notified don't get notified during the first run. As he doesn't know who did and did not get the message, after the system is back up, he re-sends the message to the entire list again. Some people get a dup. So maybe for this particular application a ramdisk isn't a horrible idea. But he still has the problem of implementing parallel submission in his java application, otherwise it won't matter if it's a ramdisk or an old 3600 RPM MFM drive on an 8 bit controller. -- Stan