Ticket #38667

dovecot-2.2.33.2への対応

Eröffnet am: 2018-10-11 14:43 Letztes Update: 2018-10-11 14:43

Auswertung:
Verantwortlicher:
(Keine)
Typ:
Status:
Offen
Komponente:
(Keine)
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
Keine

Details

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-Verlauf (1/1 Historien)

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

Dateianhangliste

Keine Anhänge

Bearbeiten

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