I try to install dovecot, I do everything on the guide https://support.rackspace.com/how-to/dovecot-installation-and-configuration-on-centos/
After executing the command:
$ sudo yum install dovecot You need to make settings in the file:
/etc/dovecot/dovecot.conf But there is no such folder (dovecot) and, accordingly, the configuration file in the / etc directory. What am I doing wrong? Do I manually create it? The goal is to make this script work:
echo "Установка и конфигурирование Dovecot" yum -y install dovecot cp /etc/dovecot/h0uoixdovecot.conf{,.orig} cat <<'EOF' > /etc/dovecot/dovecot.conf listen = * ssl = no protocols = pop3 imap disable_plaintext_auth = no auth_mechanisms = plain login mail_access_groups = vmail default_login_user = vmail first_valid_uid = 2222 first_valid_gid = 2222 #mail_location = maildir:~/Maildir mail_location = maildir:/var/vmail/%d/%n passdb { driver = passwd-file args = scheme=SHA1 /etc/dovecot/passwd } userdb { driver = static args = uid=2222 gid=2222 home=/var/vmail/%d/%n allow_all_users=yes } service auth { unix_listener auth-client { group = postfix mode = 0660 user = postfix } user = root } service imap-login { process_min_avail = 1 user = vmail } EOF rm /etc/dovecot/passwd touch /etc/dovecot/passwd rm /tmp/vmp mailpass=`echo -e $mps` doveadm pw -p $mailpass -s sha1 | cut -d '}' -f2 > /tmp/vmp there still must be some file in this directory, for example h0uoixdovecot.conf . Why are they not there?