待辦事項 #38667

dovecot-2.2.33.2への対応

啟用日期: 2018-10-11 14:43 最後更新: 2018-10-11 14:43

回報者:
負責人:
(無)
類型:
狀態:
開啟
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:

細節

diff -p dovecot2-drac/Makefile dovecot2-drac-ubuntu/Makefile *** dovecot2-drac/Makefile 2011-09-09 18:22:57.000000000 +0900 --- dovecot2-drac-ubuntu/Makefile 2018-10-09 09:50:47.608749172 +0900 *************** *** 1,4 **** ! DOVDIR:=../dovecot-2.0.13

LIBS:=-ldrac LDFLAGS:=-L/usr/local/lib

--- 1,4 ---- ! DOVDIR:=../dovecot-2.2.33.2

LIBS:=-ldrac LDFLAGS:=-L/usr/local/lib

diff -p dovecot2-drac/README.j dovecot2-drac-ubuntu/README.j *** dovecot2-drac/README.j 2011-09-09 18:22:57.000000000 +0900 --- dovecot2-drac-ubuntu/README.j 2018-10-09 09:47:21.359529116 +0900 *************** インストール手順 *** 26,31 **** --- 26,34 ----

$ su # cp -pi drac_plugin.so /usr/lib64/dovecot/modules/

+ ubuntu 18 + # cp -pi drac_plugin.so /usr/lib/dovecot/modules/ +

3) dovecot の設定
mail_plugins に drac を追加します。 たとえば、/etc/dovecot/conf.d/10-mail.conf に以下を追加します。

diff -p dovecot2-drac/drac-plugin.c dovecot2-drac-ubuntu/drac-plugin.c *** dovecot2-drac/drac-plugin.c 2011-09-09 18:22:57.000000000 +0900 --- dovecot2-drac-ubuntu/drac-plugin.c 2018-10-09 09:52:53.530449655 +0900 *************** *** 10,16 ****

#include "lib.h"

! #include "network.h"

#include "ioloop.h" #include "mail-user.h" #include "mail-storage-private.h"

--- 10,16 ----

#include "lib.h"

! #include "net.h"

#include "ioloop.h" #include "mail-user.h" #include "mail-storage-private.h"

*************** *** 25,31 ****

/* libdrac function */ int dracauth(char *, unsigned long, char **);

! const char *drac_plugin_version = DOVECOT_VERSION;

static struct timeout *to_drac = NULL; static const char *drachost = NULL; /* dracd host */

--- 25,31 ----

/* libdrac function */ int dracauth(char *, unsigned long, char **);

! const char *drac_plugin_version = DOVECOT_ABI_VERSION;

static struct timeout *to_drac = NULL; static const char *drachost = NULL; /* dracd host */

Ticket History (1/1 Histories)

2018-10-11 14:43 Updated by: masanobu_hagane
  • New Ticket "dovecot-2.2.33.2への対応" created

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入