Displaying 20 results from an estimated 80000 matches similar to: "Get plugins configuration"
2010 Mar 30
1
Get plugins configuration in dovecot 2.0
In 1.X to get configuration Timo said.
In v1.x they're in environment variables. So if you have:
plugin {
foo = bar
}
getenv("FOO") returns "bar".
But, in 2.0 ?!
getenv dont work....
2009 Dec 14
2
Plugins
Hello everyone again.....
i try to do a plugin... and i see there is a lot of "hook_*" calls in
various places....
There is some documentation about this hooks ?
like:
hook_mail_storage_created = is calling when the email is....
and go on....
Tks.
2010 Nov 18
6
Doveadm
How doveadm purge a email ?
It's search using the index or scan every directory and open the email to
match the search criteria ?
2010 Apr 20
3
zlib Plugin Dovecot 2.0 - ostream
Hello Everyone...
In zlib save mail have it:
struct ostream *output;
There is a way to get the file descriptor from output used in ostream zlib
plugin ?
to get in istream is i_stream_get_fd, but don't have o_stream_get_fd......
2010 Feb 10
1
Get some headers Variables
Hello Everyone again !!
I'm putting more functions in my plugin, and would need to access a value of
one variable that is going to put in the header, how can I get this value by
dovecot?
example, I have the header:
X-ThereisMy: yes
How can I get this value inside a plugin ?
There is something like getHeaderVar("X-ThereisMy") ?
2010 Mar 11
1
Plugin like zlib
Hi everyone.
I rebuild a plugin, based on zlib plugin.
The changes between this plugin and zlib, is the zlib stuffs is replaced by
open, read, lseek, close.
With "plain-text" files, its works ok.
So, my file is encrypt, and the result from decrypt file is different from
fread.
Like zlib, i read from fread the size variable, but the value added in
seek_offset and pos is the result from
2010 Dec 16
1
Plugins on a NFS
Hi timo.....
I Made a plugin that's works fine in a Normal Partition and a GlusterFS
enviroment too.
in NFS it's intermitent, some times works, some times don't.
Only the expunge part have this issue, i use stat to get the amont of hard
link in a file.
There is because of that (stat, hard link count) ?
If is, there is some workarround to do !?
Tks Timo !!!
2010 Mar 24
1
What is the difference between the plugin zlib and imap-zlib ?
What is the difference between the plugin zlib and imap-zlib ?
in dovecot 1.2.X the zlib plugin works with imap....imap-zlib is a
complement to zlib ?
2011 Nov 15
3
getenv() in plugin not working
Hi - new to the list, can't find much on this using google.
I'm trying to setup the dovecot DRAC plugin as described here:
http://wiki.dovecot.org/HowTo/PopBSMTPAndDovecot#DRAC
DRAC is installed and running using this startup command:
/usr/local/sbin/rpc.dracd -i -e 5 /etc/postfix/dracd.db
I downloaded the drac.c file linked on the above URL: http://www.dovecot.org/patches/1.1/drac.c
2011 Jan 12
2
Strange issue in NFS
Hi Timo...
It's happens some strange issue with my maildir using NFS.
If i use a Local Hard disk, i don't get any of this messages about memory
error.
Jan 12 10:57:50 brc dovecot: imap(alex at exemplo.com.br): Error:
opendir(/storage/nfs/3/emexis/messages/
exemplo.com.br/alex/Maildir/.Drafts/new) failed: Cannot allocate memory
Jan 12 10:57:51 brc last message repeated 4 times
Jan 12
2009 Dec 08
3
Developer Documentation
Hi Everyone....
I Try to make a modification in dovecot Maildir system....
I want to include lines from another file into every email when the user
request to read this email.
Is Like put some extras itens email. I try to find how to do this but what i
understand is, every email is read "on the fly", but i dont find exactly
where... i didnt find some "read" to do this.
Some
2012 Aug 27
1
plugin development: retrieve username -d -f inside plugins
Hello,
i don't know if it a the right place to ask my question related to the
development of dovecot plugins, please correct me if it is not.
I'm trying some dovecot plugin development. I did a little plugin that suit
my needs but i'd like to go further now... I would like to know if there is
a kind of "getenv" function that I could call to retrieve in my plugin the
2015 Feb 27
3
[PATCH] v2v: allow configurable location for virtio drivers
Make the location of the Windows virtio drivers overridable with the
environment variable VIRTIO_WIN_DIR, in the same vein as is done for
virt-tools.
Signed-off-by: Roman Kagan <rkagan@parallels.com>
---
v2v/convert_windows.ml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml
index 0cd818a..e966341 100644
---
2010 Aug 03
1
Passing Arguments to Plugin
Guys,
Making progress on my plugin to support the custom IMAP command required by a special embedded system.
Have been looking through the documentation to see if it is possible to pass parameters down to a plugin through the dovecot.conf
So is there a simple way?
Regards,
John
2020 Nov 02
6
unusual use of getenv
Hi folks
I noticed something interesting when debugging a program that uses llvm
for JIT compilation.
Running `ltrace` surfaced a number of `getenv("bar")` calls coming from
llvm. It turns out these are not "real" `getenv` calls, but are an
optimization "do nothing" escape hatch which have been in
`llvm/include/llvm/LinkAllPasses.h` [for over 15years](1) -
2001 Jul 12
1
Sys.getenv
I am running R-1.3.0 on Solaris 8:
Under Solaris I do
setenv dendro_us hoffmann
echo $dendro_us gives back:
hoffmann
which is correct.
When in R I do:
Sys.getenv("dendro_us") I get
dendro_us
""
which is NOT correct:
Inverse effect (taken from help of Sys.getenv)
Under R:
print(Sys.putenv("R_TEST"="testit", ABC=123))
[1] TRUE TRUE
2000 Oct 12
2
getting a windows environment variable in r
hi-
I would like to get a value set with the dos set command (e.g. set dog=cow) in a rterm session on rterm 1011 under windows 2000. if I try in a dos window:
set dog=cow
echo %dog%
i get cow (what I want)
then i start rterm
system("echo %dog%",intern=T)
gives "%dog%"
I can of course do something like
set dog=cow
echo %dog% >jnk.rin
and then start rterm and
2010 Jan 22
3
mailbox format w/ separate headers/data
In the future, it would be cool if there were a mailbox format (dbox2?)
where mail headers and each mime part were stored in separate files.
This would enable the zfs dedup feature to be used to maximum benefit.
In the zfs filesystem, there is a dedup feature which stores only 1 copy
of duplicate blocks. In a normal mail file, the headers will be
different for each recipient and the chances of
2010 Jul 22
1
Help with some features to do in a plugin
Hello Everyone....
I need to develop some plugins, but i can't know if is possible to do or
not.
1 - There is a way to deny a email to be moved from one folder to another ?
example:
the user is only allowed to move mails in Spam Folder to Trash Folder.
If yes, were i can find a code example or a plugin to extract some idea.
2 - It's possible to deny a user to create a subscription
2010 Sep 23
1
get MAIL_FETCH_UIDL_FILE_NAME after save a email
Hi Timo...
I Try to get the name from the saved email, you said to me, to get this with
the get_special, ok... thats work.
I get the name with this:
mail_get_special(t->save_ctx->dest_mail, MAIL_FETCH_UIDL_FILE_NAME, &fname);
By i got some mistake... when i save a email that exist in the same
directory, the email is rewrited with another name, but the get_special give
me the old one