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