summaryrefslogtreecommitdiff
path: root/doc/Email.txt
blob: 446f3c30d22bb1ac167009643db9990c30e7cfb6 (plain)
  1. Mail Transport Agents (MTA)
  2. ---------------------------
  3. Postfix is a good choice as allround MTA: Robust, elegant configuration
  4. logic, extreme scalability.
  5. A pool of mail exchange (MX) backup servers is listed in the file
  6. /etc/local-COMMON/postfix/permit_mx_backup_networks
  7. (/etc/local-COMMON/postfix/mx_networks is deprecated!).
  8. The script /etc/local-COMMON/postfix/anti-uce.sh started as an antispam
  9. autoconfig script, but is evolving into a catch-all script for StartTLS,
  10. MX backup pool, (maybe) pop-before-smtp and other tweaks.
  11. Postfix 2.0.1 has just come out, with improved responses when emails are
  12. blocked by RBLs: http://www.rfc-ignorant.org/how_to_domain.php
  13. More about TLS in postfix: http://rr.sans.org/email/TLS.php
  14. Read this about generally encrypting emails between MTAs whenever
  15. possible: http://www.homeport.org/~adam/starttls.html
  16. Mail Delivery Agents (MDA)
  17. --------------------------
  18. Here's a thread on optimally building a flexible auto-responder using
  19. procmail (the post chosen gives the best result, but lacks explanation):
  20. http://www.rosat.mpe-garching.mpg.de/mailing-lists/procmail/1999-09/msg00254.html
  21. The script /usr/local/sbin/userforward adds (or optionally overwrites)
  22. a .forward and forwards email cruft lying in the incoming spool.
  23. The script is deliberately kept free from interactive dialogs to support
  24. remote triggering from an email, sms or similar.
  25. POP/IMAP daemons
  26. ----------------
  27. UW IMAP and POP3 daemons are currently the best/easiest to integrate
  28. with a heterogenous environment.
  29. dovecot just arrived as Debian package is a promising alternative once
  30. mature - it is ekstremely streamlined and delivers to ~/home by default.
  31. Recent Debian packages are compiled with cleartext passwords turned off
  32. by default. We are not quite ready yet for this move, so here's what
  33. needs to be done to circumvent it: Create the file /etc/c-client.cf and
  34. add the following lines:
  35. I accept the risk for IMAP toolkit 4.1.
  36. set disable-plaintext nil
  37. (Remember the final dot in the first line! - even though I think they
  38. have relaxed on that now and don't even need the correct version now).
  39. hile you are at it, consider adding this one as well (but then make
  40. sure that the ~/mail directory then always exists!):
  41. set mail-subdirectory mail
  42. The script /usr/local/sbin/user-init checks (among alot of other stuff)
  43. for the existense of that directory - when enabled in the hint file
  44. /etc/local/users.conf
  45. Mail User Agents (MUA)
  46. ----------------------
  47. /usr/local/bin/xpine and /usr/local/bin/xmutt fires up your favourite
  48. low-tech MUA even in a hi-tech environment :-)
  49. If debugging StartTLS and SASL avoid using Evolution: It leaves a small
  50. daemon running possibly not freeing SASL from memory. Use the command
  51. `lsof | grep sasl` to check if SASL is in use (is there a better way?).
  52. ------------
  53. Here's a brief overview of interaction between mail agents and daemons:
  54. http://lists.samba.org/pipermail/linux/1999-September/003605.html
  55. --
  56. $Id: Email.txt,v 1.4 2003-01-02 00:57:54 jonas Exp $