SLES 11 SP4
Sponsored Link

Install Cyrus-IMAP2015/12/06

 
Install Cyrus-IMAP to configure POP/IMAP Server. POP uses 110/TCP, IMAP uses 143/TCP.
[1] Install Cyrus-IMAP.
mail:~ #
zypper -n install cyrus-imapd
[2] Configure Cyrus-IMAP.
mail:~ #
vi /etc/imapd.conf
# line 14: add

sasl_mech_list: plain login
# line 17: add

allowplaintext: yes
mail:~ #
/etc/init.d/cyrus start

mail:~ #
chkconfig cyrus on
# set password for cyrus admin

mail:~ #
passwd cyrus

Changing password for cyrus.
New Password:
Reenter New Password:
Password changed.
# connect to cyrus' console

mail:~ #
cyradm --user cyrus localhost

Password:
# create a mailbox for a user (it's "suse" user as an example)

localhost>
cm user.suse

localhost>
cm "user.suse.Sent Items"

localhost>
cm "user.suse.Drafts"

localhost>
cm "user.suse.Deleted Items"

localhost>
cm "user.suse.Junk E-mail"

# set access rights for cyrus admin to suse's mailbox

localhost>
sam user.suse cyrus c

# show settings

localhost>
lm

user.suse (\HasChildren)
user.suse.Deleted Items (\HasNoChildren)
user.suse.Drafts (\HasNoChildren)
user.suse.Junk E-mail (\HasNoChildren)
user.suse.Sent Items (\HasNoChildren)
localhost>
exit
mail:~ #
vi /etc/postfix/main.cf
# line 698: add

mailbox_transport =
cyrus
mail:~ #
/etc/init.d/postfix restart

Matched Content