Betr.: Idea - everyone duck
Alex Neuman van der Hans
alex at vidadigital.com.pa
Wed Jan 27 17:21:12 UTC 2016
Even more impressive...
> On Jan 27, 2016, at 5:05 AM, Jerry Benton <jerry.benton at mailborder.com> wrote:
> - removed the ramdisk specific service
> - added option to /etc/default/MailScanner to use ramdisk sync
> If Enabled:
> - it checks to see if the “Incoming Work Dir” is a ramdisk. if is is not, none of this happens
> - after MS stops, it will sync “Incoming Work Dir”, which should be your ramdisk, to /var/spool/MailScanner/ramdisk_save
> - before MS starts, it will sync /var/spool/MailScanner/ramdisk_save to your “Incoming Work Dir”, which should still be your ramdisk
> - before MS starts, it sets the user and group ownership of “Incoming Work Dir” (the whole ramdisk) using “Incoming Work User” and “Incoming Work Group” along with “Incoming Work Permissions”
> - it sets directory permissions to 0750
> - MS starts
> The installer:
> - the installer lets you pick the ramdisk size. example: 1024
> - auto enables in /etc/default/MailScanner if you setup your ramdisk with the installer
> This only works for clean shutdowns and start ups. (Reboot is considered clean.) If your server gets reset or loses power … well … no.
> This also eliminates the need to set gid’s and other crap in your /etc/fstab. In short, I make your life easy.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MailScanner