Re: Can JMAP be proxied in a murder setup?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

Below are my murder setup configuration files. I'd like to get feedback on whether my murder setup is rational. I appreciate your time.

# Mupdate cyrus.conf  -------------------------------------------------------------------

START {
  recover       cmd="ctl_cyrusdb -r"
}
SERVICES {
  mupdate     cmd="mupdate -m" listen="mupdate" prefork=1
}
EVENTS {
  checkpoint    cmd="ctl_cyrusdb -c" period=30
}
# Frontend cyrus.conf  -------------------------------------------------------------------

START {
  recover       cmd="ctl_cyrusdb -r"
}
SERVICES {
  imap          cmd="proxyd" listen="imap" prefork=0
  imaps         cmd="proxyd -s" listen="imaps" prefork=0
  http          cmd="httpd" listen="http" prefork=0
  https         cmd="httpd -s" listen="https" prefork=0
  lmtp          cmd="lmtpproxyd -a" listen="lmtp" prefork=1 maxchild=20
  mupdate     cmd="mupdate" listen="3905" prefork=1
}
EVENTS {
  checkpoint    cmd="ctl_cyrusdb -c" period=30
  delprune      cmd="cyr_expire -E 3" at=0400
  deleteprune   cmd="cyr_expire -E 4 -D 28" at=0430
  expungeprune  cmd="cyr_expire -E 4 -X 28" at=0445
  tlsprune      cmd="tls_prune" at=0400
}

DAEMON {
#  idled         cmd="idled"
}

# Frontend imapd.conf  -------------------------------------------------------------------

admins: cyrus mailspooler

servername: rms01j.example.com
serverlist: rms01i.example.com

mupdate_server: rms01k.example.com
mupdate_username: postman
mupdate_authname: postman
mupdate_password: murder123

proxy_authname: mailspooler
rms01i_password: murdertest

force_sasl_client_mech: PLAIN
allowusermoves: true
configdirectory: /var/lib/imap
proc_path: /run/cyrus/proc
mboxname_lockpath: /run/cyrus/lock

duplicate_db_path: /run/cyrus/deliver.db
ptscache_db_path:  /run/cyrus/ptscache.db
statuscache_db_path: /run/cyrus/statuscache.db
tls_sessions_db_path: /run/cyrus/tls_sessions.db

defaultpartition: default
partition-default: /var/spool/imap/mail
sievedir: /var/spool/sieve
lmtpsocket: /run/cyrus/socket/lmtp
idlesocket: /run/cyrus/socket/idle
notifysocket: /run/cyrus/socket/notify

syslog_prefix: cyrus
httpmodules: caldav carddav jmap
hashimapspool: true
virtdomains: userid
defaultdomain: localhost
popminpoll: 1
allowplaintext: yes

sasl_pwcheck_method: auxprop
sasl_auto_transition: no
sasl_mech_list: PLAIN
sasl_log_level: 4
sasl_auxprop_plugin: sql
sasl_sql_engine: mysql
sasl_sql_hostnames: x.x.x.x:3306
sasl_sql_user: mysql
sasl_sql_passwd: mysql
sasl_sql_database: imap_db
sasl_sql_select:SELECT password FROM imap_users WHERE username = '%u@%r';

# Backend cyrus.conf  -------------------------------------------------------------------

START {
  recover       cmd="ctl_cyrusdb -r"
  mupdatepush   cmd="ctl_mboxlist -m"
}
SERVICES {
  imap          cmd="imapd" listen="imap" prefork=0
  imaps         cmd="imapd -s" listen="imaps" prefork=0
  sieve         cmd="timsieved" listen="sieve" prefork=0
  http          cmd="httpd" listen="http" prefork=0
  https         cmd="httpd -s" listen="https" prefork=0
  lmtpunix      cmd="lmtpd" listen="/run/cyrus/socket/lmtp" prefork=0
}
EVENTS {
  checkpoint    cmd="ctl_cyrusdb -c" period=30
  delprune      cmd="cyr_expire -E 3" at=0400
  deleteprune   cmd="cyr_expire -E 4 -D 28" at=0430
  expungeprune  cmd="cyr_expire -E 4 -X 28" at=0445
  tlsprune      cmd="tls_prune" at=0400
}
DAEMON {
#  idled         cmd="idled"
}

# Backend imapd.conf  -------------------------------------------------------------------

admins: cyrus mailspooler

servername: rms01i.example.com

mupdate_server: rms01k.example.com
mupdate_username: postman
mupdate_authname: postman
mupdate_password: murder123

proxyservers: mailspooler
lmtp_admins: mailspooler

allowusermoves: true

configdirectory: /var/lib/imap

proc_path: /run/cyrus/proc
mboxname_lockpath: /run/cyrus/lock

duplicate_db_path: /run/cyrus/deliver.db
ptscache_db_path:  /run/cyrus/ptscache.db
statuscache_db_path: /run/cyrus/statuscache.db
tls_sessions_db_path: /run/cyrus/tls_sessions.db

defaultpartition: default
partition-default: /var/spool/imap/mail
sievedir: /var/spool/sieve

lmtpsocket: /run/cyrus/socket/lmtp
idlesocket: /run/cyrus/socket/idle
notifysocket: /run/cyrus/socket/notify

syslog_prefix: cyrus
httpmodules: caldav carddav jmap
hashimapspool: true
virtdomains: userid
defaultdomain: localhost
popminpoll: 1

allowplaintext: yes

sasl_pwcheck_method: auxprop
sasl_auto_transition: no
sasl_mech_list: PLAIN
sasl_log_level: 4
sasl_auxprop_plugin: sql
sasl_sql_engine: mysql
sasl_sql_hostnames:x.x.x.x:3306
sasl_sql_user: mysql
sasl_sql_passwd: mysql
sasl_sql_database: imap_db
sasl_sql_select:SELECT password FROM imap_users WHERE username = '%u@%r';

autocreate_inbox_folders: default
altnamespace: true
autocreate_quota: 0
unixhierarchysep: 1

conversations: 1
conversations_db: twoskip


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux