similar to: API Examples?

Displaying 20 results from an estimated 3000 matches similar to: "API Examples?"

2008 Apr 03
1
3.0.1pre3 - date/time discrepancy in the log
I'm using the very latest 'version 3.0.1pre3 protocol version 30', on both ends, and have seen a date/time discrepancy in the log on the receiver. The sending machine (machineA) is in US CDT while the receiver is in US PDT. Both sender and receiver have their time set correctly. a contiguous snippet from the log on the receiver : (note the first three timestamps are correct:)
2009 Dec 29
2
Retrieve Physical Message Filename
Hi,Using Dovecot 1.2.9 with Maildir and Layout=FS.In a plugin, i'm overriding "update_flags":void my_mail_update_flags(struct mail *_mail, enum modify_type modify_type, enum mail_flags flags)For this email which is having its flags updated, I need to retrieve the physical filename of the message.? I see where using:mail_get_special(_mail, MAIL_FETCH_UIDL_FILE_NAME,? &fname);...I
2007 Oct 08
1
API problem (noob)
I'm a bit of a newbie, especially when it comes to dovecot internals, but nevertheless, I need some help: I'm working on a dovecot plugin, and I would like to copy a mail message from the mail store out to a temporary file, less a few headers: static const char *const exclude_headers[] = { "X-DSPAM-Signature" } strcpy(fname, mktemp(fname)); fd = creat(fname, 0600);
2007 Nov 15
1
imap process consuming 100% CPU (Dovecot 1.0.3)
> > Is this behavior cured, or do you continue to see it? > No, the behavior isn't cured. We still continue to see it with various clients. I have posted a couple of truss outputs, but so far no resolution. Sorry for the slow response. I've been "fighting other fires". Jackie > Jackie Hunt wrote: > >> On Mon, 2007-09-03 at 12:37 +0200, Robert
2008 Jan 04
2
Optimizing POP3 performance?
Hello, I recently migrated to Dovecot from Courier-IMAP and i'm very happy with the IMAP Performance and Dovecot in general. The server is running qmail-ldap and i'm still using the qmail pop3 daemon for the POP3 users. Because i want to get rid of qmail completely (switching to exim) i just tried to replace the qmail pop3 daemon with dovecot too. Immediately after the migration the
2003 Nov 15
5
correlation and causality examples
Dear All, I'am looking for examples showing that correlation does not imply causality, the targeted audience consists of undergraduate students (their first year at the university but in the BioMathStat track). All practicals are under R. I was able to extract this from R datasets: ### begin data(sunspots) data(lynx) spots <- window(sunspots, freq = 1, start = 1880, end = 1900) lnx <-
2004 Jun 18
3
1.0-test17
http://dovecot.org/test/ Just mbox fixes since 1.0-test16. The logic is simpler and more correct now. Can anyone break it anymore? I actually tested it a while with Evolution and several mailboxes and it didn't break at least immediately. :) Now maybe a few more days and I dare trying this thing myself with my real mboxes (yes, I'm still using them). Dovecot mailing list archives could
2004 Sep 29
2
UIDL bug
I noticed a problem with handling UIDL msgnumber in test46. If you do "UIDL 1" on a POP3 connection it returns the UID of the message followed by a dot and an error message. I made 2 changes: I added the following line to line 527 of src/pop3/commands.c ctx->message = message; I changed line 559 from: if (list_uids_iter(client, ctx)) to: if (!list_uids_iter(client, ctx))
2007 Oct 01
1
Reading mail in a plugin
Does anyone know how to read a mail header and body in a plugin, i.e. what API call(s) to use for the read? /L
2009 Jun 22
1
A X-Mailbox header?
Hi all, I'm waiting for the virtual mailbox feature in order to make a single POP3 access to retrieve messages contained in all my mailbox folders. This is because I use webmail and other IMAP clients but my main workstation uses a POP3-only client. I was wondering if there's a way to keep the name of the folder containing each message while retrieving via POP3. I guess this could
2011 Jan 19
1
Rewrite the mailbox copy functions works in imap but don't work in doveadm import command
Hi Timo !! I rewrite the copy function from mailbox (using a plugin) My rewrite is like this: static int emexis_antispam_copy(struct mail_save_context *ctx, struct mail *mail){ struct mailbox *box = ctx->transaction->box; union mailbox_module_context *zbox = EMEXIS_CONTEXT(box); struct mail_private *_mail = (struct mail_private *)mail; union mail_module_context *zmail =
2005 Oct 27
1
dovecot-lda cvs
I am using dovecot-lda from cvs (checked out on september the 21st) and dovecot 1.0alpha2 (not yet upgraded ok). I have a strange feeling about "redirect" feature. Let's see two sieve scripts examples: # ex1 require ["fileinto", "vacation"]; if header :is ["blabla"] "blabla" { fileinto "blabla"; } redirect
2005 Jun 04
0
Crash and Assertion Error
I've attached two backtraces, one from a segfault and another from an assertion error in imap. I've seen a couple of the same assertion and this is the only segfault. It looks like they could be related. They both have to do with indexing anyway... The code is from CVS as of May 30. The segfault happened while imap was doing searches for my pine filters. I've also noticed that in
2009 Sep 01
2
antispam-plugin 1.2 and trailing carriage-returns
Guys, Dovecot 1.0.15 [1], just built the latest antispam-plugin 1.2 (tarball) for testing, mailtrain backend for SA integration. Both built from custom spec files. The mail that is being trained is different than its respective source in the mbox file. The trained one shows added, trailing carriage-return chars for all headers, which are not in the headers in the mbox file. This breaks sa-learn
2007 Mar 01
2
dovecot-example.conf glitches
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, for a nice v1.0 release, there are some glitches in the example: 1) # allow shell access for users. See doc/configuration.txt for more information. #valid_chroot_dirs = There is no "doc/configuration.txt" (anymore) 2) spots like: #login_executable = /usr/libexec/dovecot/imap-login The path is where the file belongs to in a
2009 Oct 03
1
Another 1.2.5 imap panic
We've had another random imap process crash. This is with the original 1.2.5 imap (I haven't applied the patch for two processes creating an index simultaneously): > Oct 03 13:24:56 imap-login: Info: Login: user=<xxxxxxxx>, method=PLAIN, rip=134.225.1.46, lip=134.225.16.6 > Oct 03 13:25:59 IMAP 6067 xxxxxxxx 134.225.1.46 : Info: delete: uid=483, msgid=<xxxxxxxx> > Oct
2017 Mar 26
2
[Euro LLVM] Unofficial beer before the conference
On Sun, Mar 26, 2017, at 04:23 PM, Piotr Padlewski via llvm-dev wrote: > Hey Tobias, > 4 spots for me and my folks. Thanks for taking care Tobias! OK. We are down at 2 spots (maybe a little bit more) Piotr 4 spots Tobias 5 spots Bekket 2 spots Alex 2 spots 13 out of 15 spots taken. Let me know if you wanna join. I can try to get some more spots. Best, Tobias Best, Tobias
2007 Sep 29
3
plugin problem
I'm trying to do a rewrite of the dspam_plugin for dovecot 1.1b1. There are some API changes that warranted an update of the plugin. Also, I wanted the dspam_plugin to be able to handle pristine mails for dspam retraining, as opposed to the signature based retraining. Question: How can I retrieve the full unix path for a specific mail? The original code uses mail_get_first_header() to
2008 Apr 11
4
Ogg/Spots and Ogg/MNG
> Ogg/Spots has no implementation since we agreed that Ogg/MNG would > fully cover all the functionality of Ogg/Spots. However, Ogg/MNG has > not progressed as much as we would all have liked. > > So, if you would like to get images into Ogg, I'd recommend > improving/implementing Ogg/MNG support. :-) I'd looked at MNG (which I didn't know about at the time) and to
2008 Apr 11
2
Ogg/Spots and Ogg/MNG
Hi, are these two dead, or just progressing slowly ? The only code I've seen about Ogg/MNG was a player in ogg-tools, and I've seen nothing for Ogg/Spots. I'd looked at those before adding bitmaps to Kate, and I went back to that a few days ago (storing subtitles as images from a dvd - works great in vlc, but I store images without compression). If they are dead, I'd be inclined