Displaying 10 results from an estimated 10 matches for "nbtsc".
2008 Jun 03
8
@@state_secret
I was having some issue getting the class variables in
Camping::Session to work with some old apps, so I''ve changed
@@state_secret to a method.
module Blog
include Camping::Session
def state_secret; "kxxxx" end
end
Also, merged some of zimbatm''s patches. And trying to revive the
Junebug wiki <http://github.com/why/junebug> since it''s still
2008 May 18
1
Problem with cookies in CGI mode
So it took me ages to figure out how to get cookies set in my app, and
here was the problem.
I''m using camping''s built in CGI support, and with that you can have
something like domain.com/blah/app.rb and that will go to your /
route, which is okay, except that the path the cookies are set with is
domain.com/blah/app.rb/
So if you try to use that url, none of your
2008 Aug 07
3
GlusterFS
Hi everybody,
We use a Dovecot setup with GlusterFS. Dovecot 1.1.2 and GlusterFS
1.3.9. I enabled the following options (I don't have posix-locks
translators):
lock_method = dotlock
dotlock_use_excl = no
mmap_disable = yes
mail_nfs_index = yes
mail_nfs_storage = yes
I receive the following error message.
Aug 7 09:38:51 mta2 dovecot: POP3(somebody at domain.tld):
nfs_flush_fcntl:
2003 Nov 10
1
Problems with Linux 2.6
I'm running Dovecot under PLD GNU/Linux, on two servers. Under kernel
2.4, it works wonderfully. Under 2.6, I get this in the log:
Nov 9 21:36:38 polis dovecot: Dovecot starting up
Nov 9 21:36:39 polis imap-login: setuid(97) failed: Resource
temporarily unavailable
Nov 9 21:36:39 polis imap-login: setuid(97) failed: Resource
temporarily unavailable
Nov 9 21:36:39 polis pop3-login:
2008 May 23
8
An issue for consideration
We''ve just come across an issue for consideration. I am avoiding some
words which would allow people to find this message in an internet
search who have questionable intentions, but wish to communicate a
strong sense of caution. Consider someone who adds extra methods to
their controller which they use in their main get/post methods to do
things or to get secret data. Consider
2009 Aug 10
12
v2.0 configuration parsing
I'm trying to figure out how exactly v2.0 should be parsing
configuration files. The most annoying part is if it should always just
"use whatever comes first in config" or try some kind of a "use most
specific rule". The "most specific" kind of makes more sense initially,
but then you start wondering how to handle e.g.:
1) User logs in to imap from 192.168.0.1.
2008 May 21
32
Rack, Camping 2.0++
===
1. Camping on Rack
===
I''ve just finished rewriting Camping to use Rack in the "core". I got rid of
(a little less) than 1kB in camping.rb and removed lots of un-necessary files
(lib/server/*.rb, fastcgi.rb & mongrel.rb).
bin/camping does now only provide WEBrick, Mongrel and console-support and
should only be used in development. It uses Rack::ShowExceptions to catch
2008 Feb 02
1
Bug handling zero-byte files in maildirs
I managed to get a bunch of zero-byte files in my maildirs today, and
Dovecot choked completely (at least for pop3 users); It wouldn't
download any messages at all, and the mailbox would often say "-ERR
[IN-USE]" when doing a STAT
Aria
2007 Feb 01
0
Making POP3 not retrieve deleted messages
Since my users often use the webmail system to delete messages to save
their poor strained dial-up POP3-using mail clients, and our new web
mail system isn't expunge-happy like the last one, I found need for this
patch -- it adds a configuration option for pop3 "pop3_ignore_deleted",
a boolean, that does just that.
I'd love feedback.
Aria
-------------- next part --------------
2004 Feb 16
1
File synchronization friendly indexes
I've been doing some tests of file synchronization with Unison (think
"two way rsync"), and run into one problem: Synching between servers has
conflicts on the index file. I can manually exclude, but what seems to
me to be a really wonderful feature would be to, preferably, make the
indexes somewhat atomic, so that files, once written, don't change (this
is a feature of maildirs