:
stat, msg = imap.fetch(m, '(ENVELOPE)')
print "%s -> %s" % (m, re.findall('[0-9]+ [a-zA-Z]+ [0-9]+ ..:..:..
\+', msg[0]))
def init():
imap = imaplib.IMAP4_SSL(host)
stat, msg = imap.login(user, password)
assert(stat == 'OK
it difficult to find a
password if the password DB is leaked. MD5 is no longer sufficient for this
(even with salt).
A modern GPU can brute force billions of passwords per second and humans suck
at generating them.
--
Daniel O'Connor software and network engineer
for Genesis Software -
uot;Jeroen van Meeuwen (Ergo Project) (Ergo Project)
"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: C6B0 7FB4 43E6 CDDA D258 F70B 28DE 9FDA 9342 BF08
--
Daniel O'
ables, etc etc..
It is probably available as a package for your OS/distro or you can get it from
http://www.sshguard.net/
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so man
/default one. at least thunderbird uses file based message store,
> but alas, windblows doesn't run rsync (iirc).
There are ports of rsync to Windows (eg cwrsync).
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing abo
to skiplist some day :)
Now if only I could use skiplist with openldap ;)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG
I'm prone to believing it.
I'm not sure it's Cyrus, I see issues with OpenLDAP and BDB too.
On a bad shutdown it requires admin intervention very frequently which is
pretty tedious.
And yes, upgrading it is also a PITA.
--
Daniel O'Connor software and network engineer
for
s it...
If the server bailed on startup if there was a mismatch and there was a
program/script/whatever which did an automagic upgrade I think that would be
safest.
No POLA violations then.
>
> "Daniel O'Connor" wrote:
>
>>
>> On 10/09/2010, at 16:59, Bron
On 10/09/2010, at 16:59, Bron Gondwana wrote:
> On Fri, Sep 10, 2010 at 04:52:17PM +0930, Daniel O'Connor wrote:
>> I recently had some crashes on my home cyrus server and found I had to
>> delete the log files for the DB's by hand :(
>>
>> [ ... ]
>&g
tc/imapd.conf
#annotation_db: skiplist
#duplicate_db: berkeley-nosync
#mboxlist_db: skiplist
#ptscache_db: berkeley
#seenstate_db: skiplist
#statuscache_db: berkeley-nosync
#subscription_db: flat
#tlscache_db: berkeley-nosync
Thanks!
--
Daniel O'Connor software and network engineer
for Genes
id when I upgraded, however I did not try not running it).
Also I had a corrupt flat seen DB which the converter choked on so I had to
edit it by hand to remove the damage and then it worked OK. So check the new DB
size vs the old one (they should be of similar size).
--
Daniel O'Conn
this is a pretty good way to deal with large archival
> mailboxes.
I wrote a script which creates a new folder each month and moves emails
into it.
This does suck for offline users though (lucky that is not an issue for
me).
I can send it to you if you like, it uses Python's base imap
On Tuesday 03 March 2009 10:52:06 Atif Ghaffar wrote:
> Has no-one else really experienced this?
Sounds like a problem with the scheduler rather than cyrus..
Since each connection is a separate process I imagine all the CPUs would get
used.
(Not that I have a dual core cyrus box)
--
Dan
e devices though, saves battery as it doesn't have to poll
the server all the time.
> (besides, it means I batch email rather than getting continually
> interrupted)
Yep :)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"
On Monday 09 February 2009 12:37:46 Bron Gondwana wrote:
> On Mon, Feb 09, 2009 at 12:21:57PM +1030, Daniel O'Connor wrote:
> > So.. I guess it IS working, although I can't tell the difference between
> > idled & polling can I?
>
> Sorry, didn't get back t
On Saturday 07 February 2009 16:02:29 Daniel O'Connor wrote:
> > imap/idled.c:312if ((s = socket(AF_UNIX, SOCK_DGRAM, 0)) == -1) {
>
> Ah whoops!
>
> OK, so why doesn't it work then? :)
>
> I should expect to see 'IDLE' in the cap string when I conn
On Saturday 07 February 2009 15:08:27 Bron Gondwana wrote:
> On Sat, Feb 07, 2009 at 10:33:08AM +1030, Daniel O'Connor wrote:
> > Hi,
> > I'm trying to get the IDLE extension working, I have idled (I uncommented
> > the line in cyrus.conf and restarted) running but
2p2 server ready
It seems there may be a coding mistake in idled but I am not sure.. My copy of
Stevens is at work and I am not :)
This is running on FreeBSD 7.1 - everything else works fine.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.co
Solaris
> x86. Unfortunately the SPARC hardware is not as cheap as x86.
Try OpenSolaris or FreeBSD :)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from.
2.3.7 without seeing coredumps FWIW.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E
t
> authentication.
It would be nice if it didn't spam the log file with it though..
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- A
).
AFAIK you get it with UFS + gjournal, dunno if that counts as "main
stream" though :)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
some code Google found ->
http://search.cpan.org/src/SAMPO/Socket-PassAccessRights-0.03/passfd.c
It's a feature, not an insane kludge!
You can pass process credentials too.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"T
determine what has changed, and that can chew up a lot of time.
Yes, but hopefully less time that copying the files :)
By default it will compare mtime and size and skip files which match.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
&qu
ile it is live, take it down and then
rsync again.
That should save considerable time as I would imagine the vast majority
of email would be unchanged between the first & second copy.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
&qu
te-force-mitigation.html
Needs PF though.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 2
connect more
often than you specify.
I have a script which removes old entries from the table - it is also very
effective at stopping SSH brute force attempts (which is why I added it in
the first place)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gso
tent copy that you could
> switch to in the event of a large-scale disaster, then you probably
> want to explore application-level replication.
If the database is not consistent then the seen flags will be broken.. This
was the primary complaint of my users last time I had to do a large sca
or tar or whatever. If you use rsync the database will be
inconsistent with itself or other files.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
n case of a single account. Otherwise than that I
> like it.
I've used it a bit but I find it too lacks a decent keyboard interface, it is
also fairly slow (in terms of GUI responsiveness anyway)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.co
from the keyboard.
I used to use Evolution for when I went overseas because kmail didn't support
offline caching, however now it does which is nice :)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that th
e a *good* GUI client that ppl are more commonly using? It has
> to work under FreeBSD ...
The least sucky email client I have tried so far is KMail.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is th
o nirvana?
It should go straight into the user inbox.
(Does for me anyway)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG F
me
> how to activate for them?
AFAIK you can't :(
I've tried to using "sieveshell --user=foo --authname=root mail" but it
doesn't let me authenticate :(
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thi
of dm-snapshots in the
> linux kernel or just a general statement? :)
It was a slight linux dig (me being a FreeBSD person), but in general if you
really care about your emails then working snapshots are a good thing :)
(Hard to test of course)
--
Daniel O'Connor software and netwo
on't want to break things just because I am trying to do a
> backup.
The DB's should always be consistent on disk, so if you do a snapshot then you
can back it up however you like.
The critical thing would be that you did a snapshot though.. (and your
snapshot implementation work
.3.0 recently and it built fine (from FreeBSD ports)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B7
Moz nor Tbird are IMAP clients.
> (They speak IMAP, but are really POP clients, or NNTP clients. This is a
> huge beef of mine ;) )
I was under the impression they had been fixed. At least that was the claim on
a previous post I found (the archives appear to be down now so I can't pa
on FreeBSD 6.0/amd64. Would it be worth
upgrading to 2.2 or 2.3? (ie would that have a chance of fixing the
problem?).
Thanks.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so ma
earn and bogofilter.
It would have been nice if root could login as the IMAP admin without having
to know the password but I don't know if it's possible. Unless the server is
contacted via a unix domain socket and credential passing is used I don't see
how either.
--
Daniel O
40 matches
Mail list logo