GithubHelp home page GithubHelp logo

amigus / cyrus-imap-server Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 15 KB

A container-based build of Cyrus IMAP with supporting LDAP and Postfix

License: MIT License

Shell 94.81% Makefile 5.19%

cyrus-imap-server's Introduction

Cyrus IMAP + OpenLDAP + Postfix server

A Cyrus IMAP server based on OpenSUSE Leap that uses OpenLDAP for authentication and Postfix for SMTP.

The scripts use buildah to create the container images. The containers are deployed via podman using Kubernetes pod YAML.

The Cyrus IMAP server is built from sources. The ./configure invocation is in cyrus-build.sh.

./configure \
--prefix=/usr \
--libexecdir=/usr/lib/cyrus-imapd \
--enable-autocreate \
--enable-idled \
--with-ldap \
--with-sqlite \
--without-snmp

Everything depends on base.sh. ldap.sh and postfix.sh have no other dependencies. cyrus-build.sh depends on base-build.sh. cyrus.sh copies the cyrus-imapd installation from cyrus-build.

The configuration is not present, however, the configuration files and directories are itemized in the YAML. ๐Ÿ˜‰

Create the images

sh base.sh
sh base-build.sh
sh cyrus-build.sh
sh cyrus.sh
sh ldap.sh
sh postfix.sh

Create the configuration

Me: ๐Ÿคท

You: ๐Ÿค”โ˜๏ธ๐Ÿง‘โ€๐Ÿ’ป

Run the pod

podman kube play pod.yaml

Verify functioning

podman pod top email

Note the Cyrus IMAP and Postfix master processes and OpenLDAP slapd:

USER        PID         PPID        %CPU        ELAPSED           TTY         TIME        COMMAND
0           1           0           0.000       16m57.033261829s  ?           0s          /catatonit -P
root        1           0           0.000       16m57.034799388s  ?           0s          /usr/lib/postfix/bin//master -i
postfix     76          1           0.000       16m56.035001403s  ?           0s          pickup -l -t unix -u
postfix     77          1           0.000       16m56.035087065s  ?           0s          qmgr -l -t unix -u
postfix     80          1           0.000       15m2.035153747s   ?           0s          tlsmgr -l -t unix -u
ldap        1           0           0.000       16m57.038722838s  ?           0s          /usr/sbin/slapd -d 8 -h ldap:/// ldaps:/// -g ldap -u ldap
cyrus       1           0           0.000       16m57.040285888s  ?           0s          /usr/lib/cyrus-imapd/master -D
cyrus       8           1           0.000       16m57.040405861s  ?           0s          imapd
cyrus       9           1           0.000       16m57.040455312s  ?           0s          imapd -s
cyrus       10          1           0.000       16m57.040500084s  ?           0s          idled
cyrus       11          1           0.000       16m57.040558185s  ?           0s          imapd
cyrus       12          1           0.000       16m57.040619397s  ?           0s          imapd -s
cyrus       14          1           0.000       2m48.040665748s   ?           0s          imapd -s

cyrus-imap-server's People

Contributors

amigus avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.