티스토리 뷰
#wget http://www.dovecot.org/releases/2.0/dovecot-2.0.16.tar.gz #tar zxf dovecot-2.0.16.tar.gz #cd dovecot-2.0.16 #./configure –with-vpopmail (본인은 qmail + vpopmail 조합을 사용중) #make #make install |
#useradd -d / -s /sbin/nologin dovecot #useradd -d /null -s /sbin/nologin dovenull |
#touch /var/log/dovecot/dovecot.log #chgrp vchkpw /var/log/dovecot/dovecot.log #chmod 660 /var/log/dovecot/dovecot.log |
log_path = /var/log/dovecot/dovecot.log plugin { } |
#cp -r /var/tmp/dovecot-2.0.16/doc/example-config/* /usr/local/etc/dovecot/ |
protocols = imap #본인은 imap만을 사용listen = *, :: login_greeting = Dovecot ready. |
#vi /usr/local/etc/dovecot/conf.d/10-auth.conf
disable_plaintext_auth = no auth_mechanisms = plain #!include auth-system.conf.ext (주석처리) .. .. !include auth-vpopmail.conf.ext (vpopmail 사용시) |
mail_location = maildir:%h/Maildir mail_uid = 213 mail_privileged_group = 497 first_valid_uid = 213 first_valid_gid = 497 |
# vi /usr/local/etc/dovecot/conf.d/10-master.conf
default_login_user = vpopmail default_internal_user = vpopmail service imap-login { } service pop3-login { inet_listener pop3 { # port = 110 } inet_listener pop3s { # port = 995 # ssl = yes } } service lmtp { unix_listener lmtp { #mode = 0666 } # Create inet listener only if you can’t use the above UNIX socket service imap { # Max. number of IMAP processes (connections) service pop3 { service auth { # Postfix smtp-auth # Auth process is run as this user. service auth-worker { # Auth worker process is run as root by default, so that it can access # /etc/shadow. If this isn’t necessary, the user should be changed to # $default_internal_user. user = $default_internal_user } service dict { |
ssl = no ssl_cert = </etc/ssl/certs/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem |
passdb { driver = vpopmail # [cache_key=] [webmail=] userdb { # [quota_template=] – %q expands to Maildir++ quota |
# telnet [your-IP] 143 Trying [your-IP]… Connected to [your-IP]. Escape character is ‘^]’. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot ready. a login test@yourdomain.net [PASSWORD] a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA] Logged in a select inbox * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted. * 0 EXISTS * 0 RECENT * OK [UIDVALIDITY 1287576448] UIDs valid * OK [UIDNEXT 1] Predicted next UID * OK [HIGHESTMODSEQ 1] Highest a OK [READ-WRITE] Select completed. a list “” * * LIST (\HasNoChildren) “.” “INBOX” a OK List completed. a logout * BYE Logging out a OK Logout completed. Connection closed by foreign host. |
'서버 > 리눅스 이야기' 카테고리의 다른 글
vi 공백 지우기 (0) | 2017.01.06 |
---|---|
linux 메모리 슬롯확인 (0) | 2016.11.16 |
vpopmail dovecot qmail 연동 (0) | 2016.10.28 |
SSD health check (0) | 2016.08.30 |
mysql 5.7 사용자 계정 (0) | 2016.08.24 |
1819 : Your password does not satisfy the current policy requirements (0) | 2016.08.24 |
- Total
- 12,372
- Today
- 0
- Yesterday
- 0
- k8s dashboard
- kubespray
- kubernetes dashboard
- kubernetes Monitoring
- snatch
- mysql5.7
- Kubernetes
- dashboard 권한
- ssd health check
- ssd linux check
- Dice Game
- kubespray install
- smartmontools
- 18point3
- bar muscle up
- crossfit open 18.2
- kubernetes HA
- kubernetes install
- 크로스핏 천하
- 크로스핏
- prometheus install
- kubernetes install - kubespray
- zmfhtmvlt
- squat clean
- crossfit
- Cressfit
- kubernetes 1.10.0 dashboard
- k8s prometheus
- kubernetes-dashboard
- Thruster