Re: sa-learn from a remote imap folder
13.09.2014, 08:57, Dave Pooser kirjoitti: Dave At $DAYJOB we export the spam folder (and a ham folder for FPs) Dave via NFS and mount them on the frontline SA servers for sa-learn. Doesn't that smell of locking issues? To be honest, I'd just assumed that NFS wouldn't do any locking on a read-only export. I haven't seen any issues yet, but we're talking small volume, and the frontline servers mount the directories periodically, run the sa-learn, and then unmount them again. ...Great, now I'm paranoid. Thanks, Ian. ;-) I guess I can go back and force the exports to ne NFS3 instead of NFS4 so I can explicitly state the nolocks option I have my Maildir on a NAS via NFS, but that is only a one user system anyway. -- jarif.bit signature.asc Description: OpenPGP digital signature
Re: sa-learn from a remote imap folder
Dave Pooser wrote: Dave At $DAYJOB we export the spam folder (and a ham folder for FPs) Dave via NFS and mount them on the frontline SA servers for sa-learn. Doesn't that smell of locking issues? To be honest, I'd just assumed that NFS wouldn't do any locking on a read-only export. If you are using Maildir format then there are no locks. That makes Maildir format the format of choice for use over NFS. Here is a reference. http://www.postfix.org/NFS_README.html The maildir format uses one file per message and needs no file locking support in Postfix or in other mail software. ...Great, now I'm paranoid. Thanks, Ian. ;-) I guess I can go back and force the exports to ne NFS3 instead of NFS4 so I can explicitly state the nolocks option Paranoia is good. But using Maildir format would also be okay too. Bob
Re: sa-learn from a remote imap folder
On 9/13/14 1:38 PM, Bob Proulx b...@proulx.com wrote: If you are using Maildir format then there are no locks. That makes Maildir format the format of choice for use over NFS. Excellent. I am in fact using Maildir, so I guess it's not just luck that I've had no locking issues. Thanks, Ian, for the warning and thanks, Bob, for setting my mind at ease. ;-) -- Dave Pooser Cat-Herder-in-Chief, Pooserville.com