Displaying 6 results from an estimated 6 matches for "mail_storage_get_mailbox_path".
2009 Jan 07
2
Obtaining the chroot-cage directory of the mailstore
Hello,
I'd like to find a function in the sourcecode which enables me to get the chroot-path of the mailstore, so I can concatenate it with the result of mail_storage_get_mailbox_path to get the full path of a mailbox within the filesystem.
Does such a function exist? Who can help me?
Thanks in advance.
Stefan
--
SIEGNETZ.IT GmbH
{ w3o-services }
Schneppenkauten 1a
D-57076 Siegen
Tel.: 0271 68193-0
Fax: 0271 68193-29
Gesch?ftsf?hrer: Oliver Seitz
Handelsregister-Nummer...
2009 Jan 19
1
Coding question again...
Hello again,
I have a coding question again:
I can obtain the path of the current user's mailbox with the function mail_storage_get_mailbox_path(...) - so far so good. But is it possible to get this mailbox path for another user than the logged in one?
Thanks in advance.
Best regards.
Stefan
--
SIEGNETZ.IT GmbH
{ w3o-services }
Schneppenkauten 1a
D-57076 Siegen
Tel.: 0271 68193-0
Fax: 0271 68193-29
Gesch?ftsf?hrer: Oliver Seitz
H...
2006 Nov 08
1
Quota without dovecot LDA
...ctive??
This is my pseudo-patch:
src/plugins/quota/quota-maildir.c
static const char *maildirsize_get_path(struct mail_storage *storage)
{
if (lda_enable) {
return t_strconcat(mail_storage_get_mailbox_control_dir(storage, ""),
}
else {
bool is_file;
return t_strconcat(mail_storage_get_mailbox_path(storage, "", &is_file),
"/"MAILDIRSIZE_FILENAME, NULL);
}
}
dovecot.conf:
lda_enable = no
Ciao
Rick
2007 Oct 27
4
do 1.1b4 assertion failed: (mailbox_list_is_valid_existing_name
...ilbox_list *) 0x603048
__PRETTY_FUNCTION__ = "maildir_list_get_path"
#5 0x000000000048e4e1 in mailbox_list_get_path (list=0x603048, name=0x602900 "#shared/decs/receipts",
type=MAILBOX_LIST_PATH_TYPE_MAILBOX) at mailbox-list.c:265
No locals.
#6 0x000000000048ce69 in mail_storage_get_mailbox_path (storage=0x5fdc48, name=0x602900
"#shared/decs/receipts",
is_file_r=0x7fffffffdc07) at mail-storage.c:389
No locals.
#7 0x0000000800b07720 in acl_backend_vfile_object_init () from
/usr/local/lib/dovecot/imap/lib01_acl_plugin.so
No symbol table info available.
#8 0x0000000800b08708...
2006 Jun 20
1
Group-based filesystem quota
Hello. After using Dovecot for over a year, I have just started
experimenting with the filesystem quotas, and I have a suggestion for
improvement. On my mail server, I use group-based quotas, and would
like to have Dovecot be able to report these quotas.
It should be simple to implement, requiring only changes to the
quota-fs.c file of the quota plugin. Simply changing USRQUOTA to
2006 Aug 21
2
Filesystem Quota Enhancement Patch
...point.mount_path;
mount->type = point.type;
return mount;
}
static bool fs_quota_add_storage(struct quota_root *_root,
struct mail_storage *storage)
{
struct fs_quota_root *root = (struct fs_quota_root *)_root;
struct fs_quota_mountpoint *mount;
const char *dir;
bool is_file;
dir = mail_storage_get_mailbox_path(storage, "", &is_file);
if (getenv("DEBUG") != NULL)
i_info("fs quota add storage dir = %s", dir);
mount = fs_quota_mountpoint_get(dir);
if (root->mount == NULL) {
if (mount == NULL) {
/* Not found */
return TRUE;
}
root->mount = mount;
}...