· 4.5 Configure Postfix with your own domain. It should work on the QNAP devices with firmware 3.5.x or greater. Install Optware. Zarafa Configuration. · RedHat / CentOS / Fedora; Comment installer Postfix sous RedHat Enterprise 5.5. 4 5 6 7 8. cd / tmp wget ftp //. yum install libdb4-devel 1 0. [CentOS] Yum update frozen; M. Fioretti. about one hour ago, I did a "yum update" on a remote centos 4.3 server. It said: Install. [CentOS] Initial 5.3 install. Djigzo Gateway Installation Guide November 4. 3 Install Djigzo on Red Hat 5/CentOS 5. Install required packages1 $ sudo apt-get install postgresql postfix. I've used the 'upgrade any' option before to migrate a RHEL 4.x to CentOS 5.x and also to. to postfix and other mail packages. install about 5 minutes attention. Email server con postfix, mailscanner, mailwatch, spamassassin, clamav en Centos 5. Juegos y Open Source. Esta vez instalaremos y configuraremos un servidor Centos 5. MTA postfix. Postfix. Admin. Mail. Scanner 4. Mail. Watch 1. 0.
Antivirus clamav 0. My. SQL 5. 0. Esta configuración me funciona en varios servidores y asi la he configurado, en Linux una operación se puede hacer de varias formas, así que si alguien tiene una mejor forma, favor decirme y aprendemos todos, jejeje. Instalamos webminwget - c http: //internap. Instalamos herramientas para modificar y actualizar su zona horaria y fechayum install system- config- date mingetty ethtool- Verificamos que el firewall este desabilitado por el momentoiptables - LChain INPUT (policy ACCEPT)target prot opt source destination. ![]() How To Install And Configure GUI For Amazon EC2 RHEL. Installing and Configuring Zabbix 2.4.5 on Debian 8 and RHEL/CentOS 7. Setup mail server with Postfix. Chain FORWARD (policy ACCEPT)target prot opt source destination. Chain OUTPUT (policy ACCEPT)target prot opt source destination- Desabilitamos SELinux. Modificamos la linea SELINUXSELINUX=disabled- Salvamos los cambios y salimos- Instalamos software que nos hará falta mas tardeyum install fetchmail wget bzip. Instalamos y configuramos My. SQLyum install mysql mysql- devel mysql- serverchkconfig - -levels 2. Verificamos que el mysql este ejecutándose y esperando conexionesnetstat - tap | grep mysqltcp 0 0 *: mysql *: * LISTEN 2. En caso de que no este activo, editamos my. Le colocamos password al usuario root de My. SQL. OJO, usar una verdadera contraseña y su dominio internet realmysqladmin - u root password 1. Mas software necesitadoyum install rpm- build pcre- devel- Instalamos Cyrus para la encriptacion en la autenticacionyum install cyrus- sasl- sql cyrus- sasl- devel- Eliminamos un paquete de Cyrus que no necesitaremosyum remove cyrus- sasl- gssapi- Agregamos el repositorio dag para contar con paquetes que no están en los de centos. Desabilitado para que no se actualice algo que no queremosvi /etc/yum. Dag RPM Repository for Red Hat Enterprise Linuxbaseurl=http: //apt. Descargamos postfix con soporte para mysql. Podemos buscar la ultima version en http: //rpm. RPMS/postfix- 2. 3. Instalamos postgresql debido a dependencia con el rpm de postfixyum install postgresqlrpm - vi postfix- 2. Instalamos libtool por dependencia con courieryum install libtool- ltdl- devel- Creamos un usuario y grupo bajo el cual ejecutara Couriergroupadd vmail - g 1. Agregamos este usuario al file sudoers. Entre columnas damos un TABvisudovmail ALL=(ALL) ALL- Le colocamos password a la cuenta vmailpasswd vmail- Cambiamos a esta cuenta para instalar unos paquetes desde ella. El password que nos pide es el de la cuenta vmail, al tratar de instalar con el sudosu vmailsudo yum install libtool postgresql- devel gdbm- devel pam- devel expect openldap- develsudo yum install gamin- devel openldap- servers- Creamos un árbol de directorios para compilar algunos rpm que necesitaremosmkdir $HOME/rpmmkdir $HOME/rpm/SOURCESmkdir $HOME/rpm/SPECSmkdir $HOME/rpm/BUILDmkdir $HOME/rpm/SRPMSmkdir $HOME/rpm/RPMSmkdir $HOME/rpm/RPMS/i. HOME/rpm" > > $HOME/. Creamos un directorio para las descargasmkdir $HOME/downloads; cd $HOME/downloads- Descargamos los paquetes de Courierwget http: //surfnet. Courier nos permite validar conexiones por postgresql, mysql, LDAP, etc antes que solo /etc/passwd. Pasamos a compilarlosudo rpmbuild - ta courier- authlib- 0. Instalamos los siguientes rpm generadoscd $HOME/rpm/RPMS/i. Colocamos acceso total a los directorios bajo rpm para compilar courier- imap serversudo chmod - R 7. HOME/rpm/RPMS/cd $HOME/downloadsrpmbuild - ta courier- imap- 4. HOME/vmail/rpm/RPMS/i. Compilamos maildrop que nos permitirá filtrar mails entrantes y salientes a los directorios correctoscd $HOME/downloadssudo rpmbuild - ta maildrop- 2. HOME/rpm/RPMS/i. 38. Salimos de la cuenta vmail a root y verificamos que seamos rootexitwhoamiroot- Creamos el file para logs de maildroptouch /var/log/maildroprc. Generamos los certificados usados por Postfix (para SMTPS y TLS), Courier (para IMAPS y POP3. S) y Apache (para HTTPS)mkdir /usr/local/ssl; cd /usr/local/ssl- La llave sera sin password evitando que cuando iniciemos postfix, courier o apache pida el passwordopenssl genrsa - out mail. Generating RSA private key, 1. Generamos la solicitud de certificadoopenssl req - new - key mail. You are about to be asked to enter information that will be incorporatedinto 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) [GB]: COState or Province Name (full name) [Berkshire]: Cundinamarca. Locality Name (eg, city) [Newbury]: Bogota. Organization Name (eg, company) [My Company Ltd]: Cabrera ltda. Organizational Unit Name (eg, section) []: Soporte Sistemas. Common Name (eg, your name or your server's hostname) []: mail. Email Address []: postmaster@yourdomain. Please enter the following 'extra' attributesto be sent with your certificate request. A challenge password []: password. An optional company name []: -El fichero generado es el necesario para que nos creen un certificado real las Certificate Authority como Verisign o Thawte, en nuestro caso, lo firmaremos nosotros mismosopenssl genrsa - des. Generating RSA private key, 1. Enter pass phrase for ca. Verifying - Enter pass phrase for ca. Restringimos sus permisoschmod 6. Generamos un certificado auto firmadoopenssl req - new - x. Enter pass phrase for ca. You are about to be asked to enter information that will be incorporatedinto 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) [GB]: COState or Province Name (full name) [Berkshire]: Cundinamarca. Locality Name (eg, city) [Newbury]: Bogota. Organization Name (eg, company) [My Company Ltd]: Cabrera ltda. Organizational Unit Name (eg, section) []: Sistemas Soporte. Common Name (eg, your name or your server's hostname) []: mail. Email Address []: postmaster@yourdomain. Usamos este CA certificado para firmar nuestro certificadoopenssl x. CA ca. crt - CAkey ca. Signature oksubject=/C=CO/ST=Bogota/L=Cundinamarca/O=Cabrera ltda/OU=Sistemas Soporte/CN=mail. Address=postmaster@yourdomain. Getting CA Private Key. Enter pass phrase for ca. Combinamos el server key y el certificado en un unico fichero. Postfix y Apache pueden manejar 2 ficheros pero Courier necesita solo uno. Asi que crearemos un fichero unico para todo. Crearemos el pem en el formato esperado por Courier (key y cert en un unico fichero)cat mail. Si todo va bien, debe tener algo parecidols - latotal 3. Instalamos y configuramos postfixadmincd /var/www/htmlyum install subversionsvn co https: //postfixadmin. Creamos la db en el server My. SQL segun el INSTALL. TXTmysql - u root - p. CREATE DATABASE postfix; CREATE USER 'postfix'@'localhost' IDENTIFIED BY 'choose_a_password'; GRANT ALL PRIVILEGES ON `postfix` . TO 'postfix'@'localhost'; exit- Configuramos postfixadmincd /var/www/html/postfixadminyum install php- cli php- ldap php- mysql php- gd php php- pear php- pdo php- common php- devel php. Image. Magick libxml. SERVER['PHP_SELF'])){header ("Location: login. CONF['configured'] = true; $CONF['postfix_admin_url'] = 'http: //1. CONF['postfix_admin_path'] = dirname(__FILE__); $CONF['default_language'] = 'en'; $CONF['database_type'] = 'mysqli'; $CONF['database_host'] = '1. Configuration des services web sous Cent. OS. Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy. Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |