Install dovecot
-->
Install :
# apt-get install dovecot-postfix
Create SSL/TLS certificate for secure connections :
# cd /etc/ssl/
# mkdir -p dovecot
# cd /etc/ssl/dovecot/
# openssl req -new -x509 -nodes -out cert.pem -keyout key.pem -days 365
Generating a 1024 bit RSA private key
………………..++++++
………++++++
writing new private key to ‘key.pem’
—–
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter ‘.’, the field will be left blank.
—–
Country Name (2 letter code) [AU]:ID
State or Province Name (full name) [Some-State]:SumSel
Locality Name (eg, city) []:Palembang
Organization Name (eg, company) [Internet Widgits Pty Ltd]:DigitalFusi
Organizational Unit Name (eg, section) []:DigitalFusi
Common Name (eg, YOUR name) []:DigitalFusi
Email Address []:alamster@gmail.com
#
(Edit BOLD data with your own)
Edit /etc/dovecot/dovecot.conf file:
Find and edit the RED text.
protocols = imap imaps pop3 pop3s
disable_plaintext_auth = no
ssl_disable = no
ssl_cert_file = /etc/ssl/dovecot/cert.pem
ssl_key_file = /etc/ssl/dovecot/key.pem
login_greeting = DigitalFusi Mail Server Ready.
mail_location = maildir:/usr/local/virtual/%d/%n
first_valid_uid = 109
last_valid_uid = 109
first_valid_gid = 117
last_valid_gid = 117
protocol imap {
mail_plugins = quota imap_quota
}
protocol pop3 {
mail_plugins = quota
}
protocol lda {
postmaster_address = postmaster@digitalfusi.com
}
auth default {
mechanisms = plain login
# passdb pam {# args = session=yes dovecot
# }
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
# userdb passwd {
# }
userdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
socket listen {
client {
path = /var/spool/postfix/private/dovecot-auth
mode = 0660
user = postfix
group = postfix
}
}
}
Tips :
Find uid and guid of postfix:
# cat /etc/passwd | grep postfix
postfix:x:109:117::/var/spool/postfix:/bin/false
Turn On auth for debugging purpose.
Uncomment these lines :
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
Edit /etc/dovecot/dovecot-sql.conf file:
You can either copy this file or edit your own file to match.
# echo ‘ ‘ > /etc/dovecot/dovecot-sql.conf
driver = mysql
connect = host=localhost dbname=postfix user=postfix password=postfixjaunty
default_pass_scheme = MD5
password_query = SELECT password FROM mailbox WHERE username = ‘%u’
user_query = SELECT maildir, 109 AS uid, 117 AS gid, CONCAT(‘maildir:storage=’, FLOOR( quota / 1024 ) ) AS quota FROM mailbox WHERE username = ‘%u’ AND active = ‘1‘
Restart dovecot :
# /etc/init.d/dovecot restart
Remember : 109 and 117 depend on previous step.
- Install dovecot on Ubuntu
- ubuntu installation dovecot
- x ubuntu how to install dovecot
- installing dovecot on ubuntu
- ubuntu installing dovecot-postfix
- instalando dovecot
- installing dovecot
- dovecot quota ubuntu
- install dovecot in ubuntu server
- Mail Server Ubuntu dengan postfix dan dovecot
- apt-get install dovecot-postfix
- dovecot on ubuntu
- dovecot ssl ubuntu
- ubuntu mail_location = maildir:/var/virtual/%d/%n
- email quota ubuntu
- ubuntu server quota install
- private/dovecot-auth
- maildir mail server ubuntu
- dovecot imap quota
- ubuntu server dovecot-postfix
- ubuntu server install postfix dovecot
- installare dovecot in ubuntu jaunty
- ubuntu exim4 dovecot sql
- ubuntu dovecot ssl
- apt-get install dovecot-postfix ubuntu 9 04
- dovecot email address as username
- install dovecot admin
- ubuntu jaunty dovecot postfix
- dovecot-postfix ubuntu problem
- ubuntu dovecot sql
- ubuntu server install Dovecot
- ubuntu dovecot Maildir
- dovecot quota sql
- dovecot postfix jaunty
- Dovecot On Ubuntu 8 10 step by step
- exim4 dovecot auth
- install dovecot-auth
- dovecot server setup ubuntu 9 04 gmail mta
- dovecot ubuntu download
- ubuntu 9 postfix dovecot
- ubuntu postfix dovecot maildir
- dovecot jaunty howto
- ubuntu exim dovecot driver
- dovecot jaunty
- ubuntu dovecot quota
- dovecot arabic mailbox name
- howto install exim dovecot
- install exim dovecot ubuntu
- howto install devcot on jaunty
- jaunty dovecot
- 9 04 apt-get install dovecot-postfix
- mail_location = dovecot ubuntu
- ubuntu 9 04 postfix maildir
- gmail postfix dovecot ubuntu
- jaunty postfix dovecot-sql
- installing dovecot quota
- jaunty dovecot certificate
- ubuntu dovecot-postfix turn key
- how to ubuntu dovecot LDA exim virtual users
- dovecot quota
- ubuntu postfix dovecot auth
- how to installdovecot in ubuntu
- ubuntu 9 apt-get install postfix-dovecot
- postfix/private/dovecot-auth
- ubuntu dovecot atmail
- postfix dovecot maildir howto
- ubuntu dovecot
- ubuntu apt-get install dovecot-postfix
- dovecot-postfix quota
- setup email on dovecot and postfix for dummies
- dovecot ubuntu enable quotas
- gmail to Dovecot
- dovecot ubuntu gmail
- ubuntu jaunty dovecot tls certificates
- postfix quota dovecot mysql ubuntu
- install ssl certificate postfix dovecot jaunty
- /etc/dovecot conf devcot
- dovecot exim ubuntu setup
- how to find the host name of email server in ubuntu9 04?
- dovecot for dummies
- ubuntu jaunty dovecot postfix install
- install dovecot-postfix 8 04
- ubuntu exim dovecot gmail
- freebsd dovecot ssl
- ubuntu dovecot gmail
- ubuntu jaunty imap mail server
- install MTA ubuntu
- exim4 jaunty dovecot howto
- install dovecot on ubuntu
- install exim4 jaunty
- exim dovecot mail server ubuntu 8 04 install
- dovecot download from gmail
- dovecot jaunty maildir
- Exim Dovecot Mysql Ubuntu
- install mta jaunty postfix
- ubuntu9 04 install exim4
- winhows net install-dovecot
- exim4 and dovecot userdb
- Exim ubuntu gmail
- install dovecot jaunty
- devcot setup
- jaunty dovecot virtual mail server
- sudo apt-get install dovecot-postfix
- ubuntu 9 04 postfix dovecot email server
- quota dovecot ubuntu
- exim4 mail server ubuntu 9 04 jaunty
- postfix-dovecot jaunty howto
- dovecot 8 04 atmailopen
- jaunty postfix dovecott setup
- exim dovecot mysql fedora
- jaunty dovecot exim4
- postfix email address as username virtual
- jaunty dovecot tls
- gmail 10 step postfix ubuntu
- ubuntu 9 04 ssl dovecot-postfix conf
- ubuntu dovecot quotas
- spam dovecot-postfix ubuntu jaunty
- mail server exim dovecot storage
- jaunty exim tls key
- turn on quota dovecot
- ubuntu 9 dovecot auth
- dovecot gmail
- install dovecot ubuntu
- dovecot key pem
- what is dovecot
- installing dovecot ubuntu
- dovecot quota passwd
- sudo apt-get install dovecot-postfix howto
- Generate SSL/TLS certificates for Dovecot
- ubuntu jaunty dovecot ssl certificate
- is dovecot bundled with ubuntu