<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.E-MailFormatvorlage18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span lang="DE-AT">Folgende Version und .conf-Fileeinstellungen habe ich am System<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT"><o:p> </o:p></span></p>
<p class="MsoNormal">----------------------------------------------------------------------------------------<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">root@ABCD:/CavE/download/delete_to_trash# dovecot --version<o:p></o:p></p>
<p class="MsoNormal">2.2.9<o:p></o:p></p>
<p class="MsoNormal">root@ABCD:/CavE/download/delete_to_trash# dovecot -n<o:p></o:p></p>
<p class="MsoNormal"># 2.2.9: /etc/dovecot/dovecot.conf<o:p></o:p></p>
<p class="MsoNormal"># OS: Linux 3.13.0-32-generic x86_64 Ubuntu 14.04.1 LTS<o:p></o:p></p>
<p class="MsoNormal">auth_mechanisms = plain login<o:p></o:p></p>
<p class="MsoNormal">log_path = /var/log/dovecot/dovecot.log<o:p></o:p></p>
<p class="MsoNormal">mail_location = maildir:~/Maildir:LAYOUT=fs<o:p></o:p></p>
<p class="MsoNormal">namespace inbox {<o:p></o:p></p>
<p class="MsoNormal"> inbox = yes<o:p></o:p></p>
<p class="MsoNormal"> location =<o:p></o:p></p>
<p class="MsoNormal"> mailbox Drafts {<o:p></o:p></p>
<p class="MsoNormal"> special_use = \Drafts<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"> mailbox Gesendete {<o:p></o:p></p>
<p class="MsoNormal"> auto = subscribe<o:p></o:p></p>
<p class="MsoNormal"> special_use = \Sent<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"> mailbox Junk {<o:p></o:p></p>
<p class="MsoNormal"> special_use = \Junk<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"> mailbox Trash {<o:p></o:p></p>
<p class="MsoNormal"> auto = subscribe<o:p></o:p></p>
<p class="MsoNormal"> special_use = \Trash<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"> prefix =<o:p></o:p></p>
<p class="MsoNormal"> separator = /<o:p></o:p></p>
<p class="MsoNormal">}<o:p></o:p></p>
<p class="MsoNormal">passdb {<o:p></o:p></p>
<p class="MsoNormal"> driver = pam<o:p></o:p></p>
<p class="MsoNormal">}<o:p></o:p></p>
<p class="MsoNormal">passdb {<o:p></o:p></p>
<p class="MsoNormal"> driver = pam<o:p></o:p></p>
<p class="MsoNormal">}<o:p></o:p></p>
<p class="MsoNormal">protocols = imap pop3<o:p></o:p></p>
<p class="MsoNormal">service auth {<o:p></o:p></p>
<p class="MsoNormal"> unix_listener /var/spool/postfix/private/auth {<o:p></o:p></p>
<p class="MsoNormal"> group = postfix<o:p></o:p></p>
<p class="MsoNormal"> mode = 0660<o:p></o:p></p>
<p class="MsoNormal"> user = postfix<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"> user = root<o:p></o:p></p>
<p class="MsoNormal">}<o:p></o:p></p>
<p class="MsoNormal">ssl_cert = </etc/dovecot/dovecot.pem<o:p></o:p></p>
<p class="MsoNormal">ssl_key = </etc/dovecot/private/dovecot.pem<o:p></o:p></p>
<p class="MsoNormal">userdb {<o:p></o:p></p>
<p class="MsoNormal"> driver = passwd<o:p></o:p></p>
<p class="MsoNormal">}<o:p></o:p></p>
<p class="MsoNormal">userdb {<o:p></o:p></p>
<p class="MsoNormal"> driver = passwd<o:p></o:p></p>
<p class="MsoNormal"><span lang="DE-AT">}<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT">----------------------------------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT">Nun möchte ich das deleted_to_trash Plugin installieren und bekomme folgende Ausgabe nach 'make'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT"><o:p> </o:p></span></p>
<p class="MsoNormal">root@ABCD:/CavE/download/delete_to_trash# make<o:p></o:p></p>
<p class="MsoNormal">cc \<o:p></o:p></p>
<p class="MsoNormal"> -fPIC -shared -Wall \<o:p></o:p></p>
<p class="MsoNormal"> -I/usr/include/dovecot \<o:p></o:p></p>
<p class="MsoNormal"> -I/usr/include/dovecot/src \<o:p></o:p></p>
<p class="MsoNormal"> -I/usr/include/dovecot/src/lib \<o:p></o:p></p>
<p class="MsoNormal"> -I/usr/include/dovecot/src/lib-storage \<o:p></o:p></p>
<p class="MsoNormal"> -I/usr/include/dovecot/src/lib-mail \<o:p></o:p></p>
<p class="MsoNormal"> -I/usr/include/dovecot/src/lib-imap \<o:p></o:p></p>
<p class="MsoNormal"> -I/usr/include/dovecot/src/lib-index \<o:p></o:p></p>
<p class="MsoNormal"> -DHAVE_CONFIG_H \<o:p></o:p></p>
<p class="MsoNormal"> deleted-to-trash-plugin.c -o lib_deleted_to_trash_plugin.so<o:p></o:p></p>
<p class="MsoNormal">In file included from deleted-to-trash-plugin.c:2:0:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.h:19:2: error: expected specifier-qualifier-list before ‘ARRAY_DEFINE’<o:p></o:p></p>
<p class="MsoNormal"> ARRAY_DEFINE(mail_id, unsigned int);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c: In function ‘get_users_inbox_namespace’:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:19:21: error: ‘NAMESPACE_FLAG_INBOX’ undeclared (first use in this function)<o:p></o:p></p>
<p class="MsoNormal"> if(curns->flags & NAMESPACE_FLAG_INBOX)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:19:21: note: each undeclared identifier is reported only once for each function it appears in<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c: In function ‘search_deleted_id’:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:40:14: error: ‘struct last_copy_info’ has no member named ‘src_mailbox_name’<o:p></o:p></p>
<p class="MsoNormal"> if(last_copy.src_mailbox_name != NULL && strcmp(_mail->box->name, last_copy.src_mailbox_name) == 0)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:40:77: error: ‘struct last_copy_info’ has no member named ‘src_mailbox_name’<o:p></o:p></p>
<p class="MsoNormal"> if(last_copy.src_mailbox_name != NULL && strcmp(_mail->box->name, last_copy.src_mailbox_name) == 0)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">In file included from /usr/include/dovecot/module-context.h:4:0,<o:p></o:p></p>
<p class="MsoNormal"> from /usr/include/dovecot/mail-storage-private.h:4,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.h:5,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.c:2:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:46:34: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> mail_ids = array_get(&last_copy.mail_id, &count);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:44:12: note: in definition of macro ‘ARRAY_TYPE_CAST_CONST’<o:p></o:p></p>
<p class="MsoNormal"> (typeof(*(array)->v))<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:46:14: note: in expansion of macro ‘array_get’<o:p></o:p></p>
<p class="MsoNormal"> mail_ids = array_get(&last_copy.mail_id, &count);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:46:34: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> mail_ids = array_get(&last_copy.mail_id, &count);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:192:44: note: in definition of macro ‘array_get’<o:p></o:p></p>
<p class="MsoNormal"> ARRAY_TYPE_CAST_CONST(array)array_get_i(&(array)->arr, count)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:58:28: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> if(array_count(&last_copy.mail_id) > 0)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:143:18: note: in definition of macro ‘array_count’<o:p></o:p></p>
<p class="MsoNormal"> array_count_i(&(array)->arr)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:60:25: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> array_free(&last_copy.mail_id);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:111:17: note: in definition of macro ‘array_free’<o:p></o:p></p>
<p class="MsoNormal"> array_free_i(&(array)->arr)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:61:27: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> i_array_init(&last_copy.mail_id, TRASH_LIST_INITSIZE);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:103:19: note: in definition of macro ‘array_create’<o:p></o:p></p>
<p class="MsoNormal"> array_create_i(&(array)->arr, pool, element_size, init_count)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:38:2: note: in expansion of macro ‘p_array_init’<o:p></o:p></p>
<p class="MsoNormal"> p_array_init(array, default_pool, init_count)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:61:4: note: in expansion of macro ‘i_array_init’<o:p></o:p></p>
<p class="MsoNormal"> i_array_init(&last_copy.mail_id, TRASH_LIST_INITSIZE);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:61:27: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> i_array_init(&last_copy.mail_id, TRASH_LIST_INITSIZE);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:103:38: note: in definition of macro ‘array_create’<o:p></o:p></p>
<p class="MsoNormal"> array_create_i(&(array)->arr, pool, element_size, init_count)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:38:2: note: in expansion of macro ‘p_array_init’<o:p></o:p></p>
<p class="MsoNormal"> p_array_init(array, default_pool, init_count)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:61:4: note: in expansion of macro ‘i_array_init’<o:p></o:p></p>
<p class="MsoNormal"> i_array_init(&last_copy.mail_id, TRASH_LIST_INITSIZE);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:63:15: error: ‘struct last_copy_info’ has no member named ‘src_mailbox_name’<o:p></o:p></p>
<p class="MsoNormal"> if(last_copy.src_mailbox_name != NULL)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">In file included from /usr/include/dovecot/lib.h:29:0,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.h:4,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.c:2:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:65:20: error: ‘struct last_copy_info’ has no member named ‘src_mailbox_name’<o:p></o:p></p>
<p class="MsoNormal"> i_free(last_copy.src_mailbox_name);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/mempool.h:89:33: note: in definition of macro ‘p_free’<o:p></o:p></p>
<p class="MsoNormal"> (pool)->v->free(pool, mem); \<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:65:4: note: in expansion of macro ‘i_free’<o:p></o:p></p>
<p class="MsoNormal"> i_free(last_copy.src_mailbox_name);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:65:20: error: ‘struct last_copy_info’ has no member named ‘src_mailbox_name’<o:p></o:p></p>
<p class="MsoNormal"> i_free(last_copy.src_mailbox_name);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/mempool.h:90:12: note: in definition of macro ‘p_free’<o:p></o:p></p>
<p class="MsoNormal"> (mem) = NULL; \<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:65:4: note: in expansion of macro ‘i_free’<o:p></o:p></p>
<p class="MsoNormal"> i_free(last_copy.src_mailbox_name);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:66:13: error: ‘struct last_copy_info’ has no member named ‘src_mailbox_name’<o:p></o:p></p>
<p class="MsoNormal"> last_copy.src_mailbox_name = NULL;<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c: In function ‘mailbox_open_or_create’:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:79:43: error: ‘MAILBOX_OPEN_FAST’ undeclared (first use in this function)<o:p></o:p></p>
<p class="MsoNormal"> box = mailbox_open(&storage, name, NULL, MAILBOX_OPEN_FAST | MAILBOX_OPEN_KEEP_RECENT | MAILBOX_OPEN_NO_INDEX_FILES);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:79:63: error: ‘MAILBOX_OPEN_KEEP_RECENT’ undeclared (first use in this function)<o:p></o:p></p>
<p class="MsoNormal"> box = mailbox_open(&storage, name, NULL, MAILBOX_OPEN_FAST | MAILBOX_OPEN_KEEP_RECENT | MAILBOX_OPEN_NO_INDEX_FILES);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:79:90: error: ‘MAILBOX_OPEN_NO_INDEX_FILES’ undeclared (first use in this function)<o:p></o:p></p>
<p class="MsoNormal"> box = mailbox_open(&storage, name, NULL, MAILBOX_OPEN_FAST | MAILBOX_OPEN_KEEP_RECENT | MAILBOX_OPEN_NO_INDEX_FILES);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:79:2: warning: passing argument 1 of ‘mailbox_open’ from incompatible pointer type [enabled by default]<o:p></o:p></p>
<p class="MsoNormal"> box = mailbox_open(&storage, name, NULL, MAILBOX_OPEN_FAST | MAILBOX_OPEN_KEEP_RECENT | MAILBOX_OPEN_NO_INDEX_FILES);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">In file included from /usr/include/dovecot/mail-storage-private.h:7:0,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.h:5,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.c:2:<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/mail-storage.h:479:5: note: expected ‘struct mailbox *’ but argument is of type ‘struct mail_storage **’<o:p></o:p></p>
<p class="MsoNormal"> int mailbox_open(struct mailbox *box);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:79:2: error: too many arguments to function ‘mailbox_open’<o:p></o:p></p>
<p class="MsoNormal"> box = mailbox_open(&storage, name, NULL, MAILBOX_OPEN_FAST | MAILBOX_OPEN_KEEP_RECENT | MAILBOX_OPEN_NO_INDEX_FILES);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">In file included from /usr/include/dovecot/mail-storage-private.h:7:0,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.h:5,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.c:2:<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/mail-storage.h:479:5: note: declared here<o:p></o:p></p>
<p class="MsoNormal"> int mailbox_open(struct mailbox *box);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:79:6: warning: assignment makes pointer from integer without a cast [enabled by default]<o:p></o:p></p>
<p class="MsoNormal"> box = mailbox_open(&storage, name, NULL, MAILBOX_OPEN_FAST | MAILBOX_OPEN_KEEP_RECENT | MAILBOX_OPEN_NO_INDEX_FILES);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:86:4: warning: implicit declaration of function ‘mail_storage_mailbox_create’ [-Wimplicit-function-declaration]<o:p></o:p></p>
<p class="MsoNormal"> if(mail_storage_mailbox_create(storage, name, FALSE) >= 0)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:89:5: warning: passing argument 1 of ‘mailbox_open’ from incompatible pointer type [enabled by default]<o:p></o:p></p>
<p class="MsoNormal"> box = mailbox_open(&storage, name, NULL, MAILBOX_OPEN_FAST | MAILBOX_OPEN_KEEP_RECENT);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">In file included from /usr/include/dovecot/mail-storage-private.h:7:0,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.h:5,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.c:2:<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/mail-storage.h:479:5: note: expected ‘struct mailbox *’ but argument is of type ‘struct mail_storage **’<o:p></o:p></p>
<p class="MsoNormal"> int mailbox_open(struct mailbox *box);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:89:5: error: too many arguments to function ‘mailbox_open’<o:p></o:p></p>
<p class="MsoNormal"> box = mailbox_open(&storage, name, NULL, MAILBOX_OPEN_FAST | MAILBOX_OPEN_KEEP_RECENT);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">In file included from /usr/include/dovecot/mail-storage-private.h:7:0,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.h:5,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.c:2:<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/mail-storage.h:479:5: note: declared here<o:p></o:p></p>
<p class="MsoNormal"> int mailbox_open(struct mailbox *box);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:89:9: warning: assignment makes pointer from integer without a cast [enabled by default]<o:p></o:p></p>
<p class="MsoNormal"> box = mailbox_open(&storage, name, NULL, MAILBOX_OPEN_FAST | MAILBOX_OPEN_KEEP_RECENT);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c: In function ‘copy_deleted_mail_to_trash’:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:104:52: error: ‘struct mail_storage’ has no member named ‘ns’<o:p></o:p></p>
<p class="MsoNormal"> ns = get_users_inbox_namespace(_mail->box->storage->ns->user);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:127:3: warning: implicit declaration of function ‘mailbox_keywords_free’ [-Wimplicit-function-declaration]<o:p></o:p></p>
<p class="MsoNormal"> mailbox_keywords_free(trash_box, &keywords);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:140:3: warning: passing argument 1 of ‘mailbox_close’ from incompatible pointer type [enabled by default]<o:p></o:p></p>
<p class="MsoNormal"> mailbox_close(&trash_box);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">In file included from /usr/include/dovecot/mail-storage-private.h:7:0,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.h:5,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.c:2:<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/mail-storage.h:483:6: note: expected ‘struct mailbox *’ but argument is of type ‘struct mailbox **’<o:p></o:p></p>
<p class="MsoNormal"> void mailbox_close(struct mailbox *box);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c: In function ‘deleted_to_trash_mail_update_flags’:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:178:53: error: ‘struct mail_storage’ has no member named ‘ns’<o:p></o:p></p>
<p class="MsoNormal"> ns = get_users_inbox_namespace(_mail->box->storage->ns->user);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:181:113: error: ‘struct mail_storage’ has no member named ‘ns’<o:p></o:p></p>
<p class="MsoNormal"> if(new_flags & MAIL_DELETED && !(strcmp(_mail->box->name, trashfolder_name) == 0 && strcmp(_mail->box->storage->ns->prefix, ns->prefix) == 0))<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c: In function ‘deleted_to_trash_copy’:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:229:112: error: ‘struct last_copy_info’ has no member named ‘src_mailbox_name’<o:p></o:p></p>
<p class="MsoNormal"> i_info("from %s to %s, previous action from %s", mail->box->name, save_ctx->transaction->box->name, last_copy.src_mailbox_name);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:230:73: error: ‘struct last_copy_info’ has no member named ‘src_mailbox_name’<o:p></o:p></p>
<p class="MsoNormal"> if(last_copy.transaction_context == save_ctx->transaction && last_copy.src_mailbox_name != NULL && strcmp(last_copy.src_mailbox_name, mail->box->name) == 0)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:230:118: error: ‘struct last_copy_info’ has no member named ‘src_mailbox_name’<o:p></o:p></p>
<p class="MsoNormal"> if(last_copy.transaction_context == save_ctx->transaction && last_copy.src_mailbox_name != NULL && strcmp(last_copy.src_mailbox_name, mail->box->name) == 0)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">In file included from /usr/include/dovecot/module-context.h:4:0,<o:p></o:p></p>
<p class="MsoNormal"> from /usr/include/dovecot/mail-storage-private.h:4,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.h:5,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.c:2:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:232:27: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> array_append(&last_copy.mail_id, &mail->uid, 1);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:152:19: note: in definition of macro ‘array_append’<o:p></o:p></p>
<p class="MsoNormal"> array_append_i(&(array)->arr + ARRAY_TYPE_CHECK(array, data), \<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">In file included from /usr/include/dovecot/lib.h:25:0,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.h:4,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.c:2:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:232:27: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> array_append(&last_copy.mail_id, &mail->uid, 1);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/macros.h:155:26: note: in definition of macro ‘COMPILE_ERROR_IF_TRUE’<o:p></o:p></p>
<p class="MsoNormal"> (sizeof(char[1 - 2 * !!(condition)]) - 1)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:48:2: note: in expansion of macro ‘COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE’<o:p></o:p></p>
<p class="MsoNormal"> COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE( \<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:152:33: note: in expansion of macro ‘ARRAY_TYPE_CHECK’<o:p></o:p></p>
<p class="MsoNormal"> array_append_i(&(array)->arr + ARRAY_TYPE_CHECK(array, data), \<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:232:4: note: in expansion of macro ‘array_append’<o:p></o:p></p>
<p class="MsoNormal"> array_append(&last_copy.mail_id, &mail->uid, 1);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">In file included from /usr/include/dovecot/module-context.h:4:0,<o:p></o:p></p>
<p class="MsoNormal"> from /usr/include/dovecot/mail-storage-private.h:4,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.h:5,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.c:2:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:233:42: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> i_info("nr %i", array_count(&last_copy.mail_id));<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:143:18: note: in definition of macro ‘array_count’<o:p></o:p></p>
<p class="MsoNormal"> array_count_i(&(array)->arr)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:238:29: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> if(array_count(&last_copy.mail_id) > 0)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:143:18: note: in definition of macro ‘array_count’<o:p></o:p></p>
<p class="MsoNormal"> array_count_i(&(array)->arr)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:240:26: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> array_free(&last_copy.mail_id);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:111:17: note: in definition of macro ‘array_free’<o:p></o:p></p>
<p class="MsoNormal"> array_free_i(&(array)->arr)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:241:28: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> i_array_init(&last_copy.mail_id, TRASH_LIST_INITSIZE);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:103:19: note: in definition of macro ‘array_create’<o:p></o:p></p>
<p class="MsoNormal"> array_create_i(&(array)->arr, pool, element_size, init_count)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:38:2: note: in expansion of macro ‘p_array_init’<o:p></o:p></p>
<p class="MsoNormal"> p_array_init(array, default_pool, init_count)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:241:5: note: in expansion of macro ‘i_array_init’<o:p></o:p></p>
<p class="MsoNormal"> i_array_init(&last_copy.mail_id, TRASH_LIST_INITSIZE);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:241:28: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> i_array_init(&last_copy.mail_id, TRASH_LIST_INITSIZE);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:103:38: note: in definition of macro ‘array_create’<o:p></o:p></p>
<p class="MsoNormal"> array_create_i(&(array)->arr, pool, element_size, init_count)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:38:2: note: in expansion of macro ‘p_array_init’<o:p></o:p></p>
<p class="MsoNormal"> p_array_init(array, default_pool, init_count)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:241:5: note: in expansion of macro ‘i_array_init’<o:p></o:p></p>
<p class="MsoNormal"> i_array_init(&last_copy.mail_id, TRASH_LIST_INITSIZE);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:246:28: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> array_append(&last_copy.mail_id, &mail->uid, 1);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:152:19: note: in definition of macro ‘array_append’<o:p></o:p></p>
<p class="MsoNormal"> array_append_i(&(array)->arr + ARRAY_TYPE_CHECK(array, data), \<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">In file included from /usr/include/dovecot/lib.h:25:0,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.h:4,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.c:2:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:246:28: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> array_append(&last_copy.mail_id, &mail->uid, 1);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/macros.h:155:26: note: in definition of macro ‘COMPILE_ERROR_IF_TRUE’<o:p></o:p></p>
<p class="MsoNormal"> (sizeof(char[1 - 2 * !!(condition)]) - 1)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:48:2: note: in expansion of macro ‘COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE’<o:p></o:p></p>
<p class="MsoNormal"> COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE( \<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:152:33: note: in expansion of macro ‘ARRAY_TYPE_CHECK’<o:p></o:p></p>
<p class="MsoNormal"> array_append_i(&(array)->arr + ARRAY_TYPE_CHECK(array, data), \<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:246:5: note: in expansion of macro ‘array_append’<o:p></o:p></p>
<p class="MsoNormal"> array_append(&last_copy.mail_id, &mail->uid, 1);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:247:14: error: ‘struct last_copy_info’ has no member named ‘src_mailbox_name’<o:p></o:p></p>
<p class="MsoNormal"> last_copy.src_mailbox_name = i_strdup(mail->box->name);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c: In function ‘deleted_to_trash_transaction_commit’:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:267:2: warning: passing argument 2 of ‘lbox->super.transaction_commit’ from incompatible pointer type [enabled by default]<o:p></o:p></p>
<p class="MsoNormal"> int ret = lbox->super.transaction_commit(t, uid_validity_r, first_saved_uid_r, last_saved_uid_r);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:267:2: note: expected ‘struct mail_transaction_commit_changes *’ but argument is of type ‘uint32_t *’<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:267:2: error: too many arguments to function ‘lbox->super.transaction_commit’<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c: At top level:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:284:107: warning: ‘enum mailbox_open_flags’ declared inside parameter list [enabled by default]<o:p></o:p></p>
<p class="MsoNormal"> deleted_to_trash_mailbox_open(struct mail_storage *storage, const char *name, struct istream *input, enum mailbox_open_flags flags)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:284:107: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:284:126: error: parameter 4 (‘flags’) has incomplete type<o:p></o:p></p>
<p class="MsoNormal"> deleted_to_trash_mailbox_open(struct mail_storage *storage, const char *name, struct istream *input, enum mailbox_open_flags flags)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c: In function ‘deleted_to_trash_mailbox_open’:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:290:23: error: ‘struct mail_storage_vfuncs’ has no member named ‘mailbox_open’<o:p></o:p></p>
<p class="MsoNormal"> box = lstorage->super.mailbox_open(storage, name, input, flags);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:298:29: warning: assignment from incompatible pointer type [enabled by default]<o:p></o:p></p>
<p class="MsoNormal"> box->v.transaction_commit = deleted_to_trash_transaction_commit;<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c: In function ‘deleted_to_trash_mail_storage_created’:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:327:12: error: ‘struct mail_storage_vfuncs’ has no member named ‘mailbox_open’<o:p></o:p></p>
<p class="MsoNormal"> storage->v.mailbox_open = deleted_to_trash_mailbox_open;<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c: In function ‘deleted_to_trash_plugin_init’:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:364:28: error: lvalue required as left operand of assignment<o:p></o:p></p>
<p class="MsoNormal"> hook_mail_storage_created = deleted_to_trash_mail_storage_created;<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:367:28: error: lvalue required as left operand of assignment<o:p></o:p></p>
<p class="MsoNormal"> hook_mailbox_list_created = deleted_to_trash_mailbox_list_created;<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">In file included from /usr/include/dovecot/module-context.h:4:0,<o:p></o:p></p>
<p class="MsoNormal"> from /usr/include/dovecot/mail-storage-private.h:4,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.h:5,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.c:2:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:370:25: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> i_array_init(&last_copy.mail_id, TRASH_LIST_INITSIZE);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:103:19: note: in definition of macro ‘array_create’<o:p></o:p></p>
<p class="MsoNormal"> array_create_i(&(array)->arr, pool, element_size, init_count)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:38:2: note: in expansion of macro ‘p_array_init’<o:p></o:p></p>
<p class="MsoNormal"> p_array_init(array, default_pool, init_count)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:370:2: note: in expansion of macro ‘i_array_init’<o:p></o:p></p>
<p class="MsoNormal"> i_array_init(&last_copy.mail_id, TRASH_LIST_INITSIZE);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:370:25: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> i_array_init(&last_copy.mail_id, TRASH_LIST_INITSIZE);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:103:38: note: in definition of macro ‘array_create’<o:p></o:p></p>
<p class="MsoNormal"> array_create_i(&(array)->arr, pool, element_size, init_count)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:38:2: note: in expansion of macro ‘p_array_init’<o:p></o:p></p>
<p class="MsoNormal"> p_array_init(array, default_pool, init_count)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:370:2: note: in expansion of macro ‘i_array_init’<o:p></o:p></p>
<p class="MsoNormal"> i_array_init(&last_copy.mail_id, TRASH_LIST_INITSIZE);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:371:11: error: ‘struct last_copy_info’ has no member named ‘src_mailbox_name’<o:p></o:p></p>
<p class="MsoNormal"> last_copy.src_mailbox_name = NULL;<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c: In function ‘deleted_to_trash_plugin_deinit’:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:377:28: error: lvalue required as left operand of assignment<o:p></o:p></p>
<p class="MsoNormal"> hook_mail_storage_created = deleted_to_trash_next_hook_mail_storage_created;<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:378:28: error: lvalue required as left operand of assignment<o:p></o:p></p>
<p class="MsoNormal"> hook_mailbox_list_created = deleted_to_trash_next_hook_mailbox_list_created;<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:380:14: error: ‘struct last_copy_info’ has no member named ‘src_mailbox_name’<o:p></o:p></p>
<p class="MsoNormal"> if(last_copy.src_mailbox_name != NULL)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">In file included from /usr/include/dovecot/lib.h:29:0,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.h:4,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.c:2:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:382:19: error: ‘struct last_copy_info’ has no member named ‘src_mailbox_name’<o:p></o:p></p>
<p class="MsoNormal"> i_free(last_copy.src_mailbox_name);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/mempool.h:89:33: note: in definition of macro ‘p_free’<o:p></o:p></p>
<p class="MsoNormal"> (pool)->v->free(pool, mem); \<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:382:3: note: in expansion of macro ‘i_free’<o:p></o:p></p>
<p class="MsoNormal"> i_free(last_copy.src_mailbox_name);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:382:19: error: ‘struct last_copy_info’ has no member named ‘src_mailbox_name’<o:p></o:p></p>
<p class="MsoNormal"> i_free(last_copy.src_mailbox_name);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/mempool.h:90:12: note: in definition of macro ‘p_free’<o:p></o:p></p>
<p class="MsoNormal"> (mem) = NULL; \<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:382:3: note: in expansion of macro ‘i_free’<o:p></o:p></p>
<p class="MsoNormal"> i_free(last_copy.src_mailbox_name);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">In file included from /usr/include/dovecot/module-context.h:4:0,<o:p></o:p></p>
<p class="MsoNormal"> from /usr/include/dovecot/mail-storage-private.h:4,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.h:5,<o:p></o:p></p>
<p class="MsoNormal"> from deleted-to-trash-plugin.c:2:<o:p></o:p></p>
<p class="MsoNormal">deleted-to-trash-plugin.c:384:23: error: ‘struct last_copy_info’ has no member named ‘mail_id’<o:p></o:p></p>
<p class="MsoNormal"> array_free(&last_copy.mail_id);<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">/usr/include/dovecot/array.h:111:17: note: in definition of macro ‘array_free’<o:p></o:p></p>
<p class="MsoNormal"> array_free_i(&(array)->arr)<o:p></o:p></p>
<p class="MsoNormal"> ^<o:p></o:p></p>
<p class="MsoNormal">make: *** [lib_deleted_to_trash_plugin.so] Fehler 1<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="DE-AT">----------------------------------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT">Anfangs dachte ich dass mit den include-Verzeichnissen etwas nicht stimmt.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT">Ich habe zwar nur Einträge in<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT">/usr/include/dovecot <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT">jedoch keine Verzeichnis der folgenden:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT"> </span>-I/usr/include/dovecot/src \<o:p></o:p></p>
<p class="MsoNormal"> -I/usr/include/dovecot/src/lib \<o:p></o:p></p>
<p class="MsoNormal"> -I/usr/include/dovecot/src/lib-storage \<o:p></o:p></p>
<p class="MsoNormal"> -I/usr/include/dovecot/src/lib-mail \<o:p></o:p></p>
<p class="MsoNormal"> -I/usr/include/dovecot/src/lib-imap \<o:p></o:p></p>
<p class="MsoNormal"> -I/usr/include/dovecot/src/lib-index<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="DE-AT">Hat jemand einen Tip was ich hier noch angeben muss?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-AT"><o:p> </o:p></span></p>
</div>
</body>
</html>