9 Nov 2011 22:57
Re: Organizing
Professional Software Engineering <PSE-L <at> mail.professional.org>
2011-11-09 21:57:24 GMT
2011-11-09 21:57:24 GMT
At 12:13 2011-11-09, LuKreme wrote: >I'm thinking about taking a run at organizing, really organizing, >all the procmail recipes for my several email accounts. > >I have, needless to say, code that is shared, duplicated, or nearly >duplicated across my 4 primary accounts,a bout a half-dozen >secondary accounts, and then a portion of that code is shared over >to most of the user accounts on the system. > >Before I got started, I wanted some recommendations on how, exactly >to go about this. If you're dealing with multiple HOSTS (versus multiple accounts on ONE HOST), set up a script to invoke rsync to synchronize from your "primary" host out to the others, using a "shared" or "common" procmail scripts folder. Local differences can be maintained in hostnamed folders. You could for instance have the ~/.procmailrc INCLUDERC something using the username or the hostname as a filename base - then you could maintain a master copy of everything on the primary host, and synchronize it ALL to the other hosts without having to fret over something getting overwritten. Wherever you need to include something that is host specific, use the hostname as part of the filename. >* hand off processing to .procmailrc if user has one, otherwise >process for spam Ah, you're talking about a global procmail configuration you're trying to synchronize. Same basic advice as above, but obviously(Continue reading)
RSS Feed