Installing & Configuring DoveCot for RHEL of CentOS

| 0 Comments | 0 TrackBacks

The following is the script I use to install and configure DoveCot on RHEL of CentOS. In summary, the script is doing the following:

  1. Installing DoveCot
  2. Setup the dovecot.conf configuration file
  3. Enabling dovecot to start upon bootup
  4. Startup dovecot



yum install dovecot -y

cp /etc/dovecot.conf /etc/dovecot.conf.orig
cat > /etc/dovecot.conf << EOF
protocols = imap imaps

protocol imap {
}

protocol lda {
postmaster_address = postmaster@domain.com
}

auth default {
mechanisms = plain
passdb pam {
}
userdb passwd {
}
user = root
}

dict {
}


plugin {
}
EOF

chkconfig dovecot on
service dovecot restart

Once the script is completed, you can go ahead and use your mail client to connect to your server. The configuration file used here is for a IMAP(s) mail server.

No TrackBacks

TrackBack URL: http://baldwinsung.com/cgi-bin/mt-tb.cgi/133

Leave a comment

Recent Entries

Minimal Post Configuration for CentOS
service yum-updatesd stop chkconfig yum-updatesd off service avahi-daemon stop chkconfig avahi-daemon off service bluetooth stop chkconfig bluetooth off service…
15 Central Park West
The Real Deal details the buyers of the wonderful apartments at 15 CPW. http://therealdeal.com/newyork/articles/a-unit-by-unit-look-at-15-cpw http://s3.amazonaws.com/trd_three/images/17726/CPWBinder.pdf…
AJAX Toolkits
Prototype http://prototypejs.org Scriptaculous http://script.aculo.us Dojo http://dojotoolkit.org YUI http://developer.yahoo.com Ext http://extjs.com Sarissa http://sarissa.sf.net Mochikit http://mochikit.com jQuery http://jquery.com MooTools http://mootools.net GWT…