Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
servidores:mail:mail_system_debian_wheezy [2012/09/05 20:02] fmolinuevo [Horde Groupware Webmail] |
servidores:mail:mail_system_debian_wheezy [2014/01/10 22:59] (actual) fmolinuevo [SSL/TLS] |
||
---|---|---|---|
Línea 1: | Línea 1: | ||
- | ====== Installing a Mail System on Debian Wheezy with Postfix, Cyrus and Amavisd-new plus Horde ====== | + | ====== Installing a Mail System on Debian Wheezy with Postfix, Cyrus and Amavisd-new plus Horde 4 ====== |
- | //Adaptado por Félix Molinuevo, [[fmsi>|FMSI Sistemas de Informática]]// | + | //Adaptado por Félix Molinuevo, [[fmsi>|FMSI Sistemas de Informática]]// **:::** //Actualizado: **20131031**// |
===== Introduction ===== | ===== Introduction ===== | ||
Línea 22: | Línea 22: | ||
* [[http://asg.web.cmu.edu/cyrus/imapd/|Cyrus-IMAP]] (IMAP and SIEVE server) | * [[http://asg.web.cmu.edu/cyrus/imapd/|Cyrus-IMAP]] (IMAP and SIEVE server) | ||
* [[http://httpd.apache.org|Apache]] (For webmail) | * [[http://httpd.apache.org|Apache]] (For webmail) | ||
- | * [[http://www.squirrelmail.org|SquirrelMail]] (Webmail system) | + | * [[http://www.horde.org/apps/groupware|Horde]] (Webmail and Groupware) |
- | * Plugins for SquirrelMail: [[http://email.uoa.gr/projects/squirrelmail/avelsieve.php|AvelSIEVE]] (SIEVE script creator for Squirrelmail) | + | |
===== Installation ===== | ===== Installation ===== | ||
Línea 95: | Línea 95: | ||
mount /var/spool/postfix/var/run/cyrus | mount /var/spool/postfix/var/run/cyrus | ||
</code> | </code> | ||
+ | |||
+ | **Because now in Wheezy /var/run is a soft link to /run, and this directory is a tmpfs, you must add these two lines to /etc/rc.local for mounting those directories at boot time** (more info in https://wiki.debian.org/ReleaseGoals/RunDirectory). | ||
The same location is now accessable outside the chroot at /var/run/saslauthd and inside the chroot at /var/spool/postfix/var/run/saslauthd (which postfix sees as /var/run/saslauthd). This avoids editing the saslauthd init script, messing with dpkg, and creating symbolic links. The only visible side effect is an extra listing from the ''df'' command which doesn't know that the bind mount isn't an actual separate disk. | The same location is now accessable outside the chroot at /var/run/saslauthd and inside the chroot at /var/spool/postfix/var/run/saslauthd (which postfix sees as /var/run/saslauthd). This avoids editing the saslauthd init script, messing with dpkg, and creating symbolic links. The only visible side effect is an extra listing from the ''df'' command which doesn't know that the bind mount isn't an actual separate disk. | ||
Línea 184: | Línea 186: | ||
./CA.pl -newca</code> | ./CA.pl -newca</code> | ||
- | Answer the questions as they come with reasonable information. The value for CN (Common Name) should be the hostname of the server that the certificates will be used on. | + | Answer the questions as they come with reasonable information. **The value for CN (Common Name) should be the hostname of the server** that the certificates will be used on. |
Now make the server certificate request. | Now make the server certificate request. | ||
Línea 364: | Línea 366: | ||
duplicatesuppression: no | duplicatesuppression: no | ||
+ | |||
+ | === Mensajes en log "fetching user_deny" === | ||
+ | |||
+ | The new version 2.4 of Cyrus IMAN in Debian Wheezy insert a entry in syslog every time it try to access user_deny.db so log became full of such messages. To avoid filling logs, you can create a file called /etc/rsyslog.d/cyrus-imapd.conf with the following line inside: | ||
+ | |||
+ | if $programname == 'cyrus' and $msg contains_i 'fetching user_deny' then ~ | ||
+ | |||
+ | When it's done, restart rsyslog daemon. | ||
===== Spam and virus fitering ===== | ===== Spam and virus fitering ===== | ||
Línea 509: | Línea 519: | ||
===== Extra Software ===== | ===== Extra Software ===== | ||
- | In addition to basic mail service, it is also possible to provide webmail service using the SquirrelMail package, spam filtering with SpamAssassin, and server-side mail filtering with SIEVE. | + | In addition to basic mail service, it is also possible to provide webmail service using the Horde Groupware Webmail, spam filtering with SpamAssassin, and virus filtering with ClamAV. |
- | ==== Webmail ==== | + | ==== Apache ==== |
//Note: these steps could vary from some server to another. For example, you could configure Apache using [[https://doc.fmsistemas.com/servidores:apache:apache_dynamicvhosts|dynamic virtual hosts]]// | //Note: these steps could vary from some server to another. For example, you could configure Apache using [[https://doc.fmsistemas.com/servidores:apache:apache_dynamicvhosts|dynamic virtual hosts]]// |