# HG changeset patch # User meillo@marmaro.de # Date 1234042987 -3600 # Node ID 40c2c6810f382b7525a53c21272634cf25626156 # Parent 13e630c5a44db440df7f8bb5cefbf411442cec78 added a list of various stuff, just to store it diff -r 13e630c5a44d -r 40c2c6810f38 docs/stuff.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/stuff.txt Sat Feb 07 22:43:07 2009 +0100 @@ -0,0 +1,141 @@ +www.sendmail.org/~ca/email/mel/Links.html +lwn.net/Articles/110100 +lwn.net/Articles/208831 +popcon.debian.org +www.oreillynet.com/lpt/a/6849 +cr.yp.to/surveys/smtpsoftware6.txt +fanf.livejournal.com/74647.html +fanf.livejournal.com/71215.html + + + +www.pcworld.com/article/135680/study_finds_spams_achilles_heel.html +mailchannels.com + + + + +nion: call graph howto + + + + +% spamanteil aller email +www.absolit.de/eMail-Marketing/74-aller-E-Mails-Spam.html +www.clickz.com/stats/sectors/software/article.php/3384421 +www.clickz.com/stats/sectors/email/article.php/2447341 +internetweek.com/e-business/showArticle.jhtml?articleID=21100199 +www.newsfactor.com/story.xhtml?story_id=30294 + + +spam und viren bekämpfen +------------------------ +p.18 was tun mit erkannter email? +p.21 eingehende und ausgehende email +p.23 kapitel03 +p.47 exim ACLs +p.69 sendmail milter +p.101 SA einbindung in exim (content scanning) +p-116 DNSBL +p.119 dyndns (aufnahme in blacklists) +p.126 blacklists in MTA einbinden +p.139 greylists in MTA einbinden +p.170 clamav in MTA einbinden +p.179 amavis +p.192 amavis: arten unerwünschter emails + +das postfix buch +---------------- +p.12 SMTP kommandos +p-18 mail headers +p.45 modulares postfix +p.79 DNS für mails +p.104 dyndns und mails +p.134 open relays +p.156 teergruben +p.157 sicher relayen +p.161 smtp-auth +p.235 mail backup +p.299 amavis +p.322 TLS +p.329 Postfix und TLS/stunnel + +postfix (dent) +-------------- +p.6 postfix sec +p.43 relay control +p.57 tables +p.151 ch12: sasl +p.164 ch13: tls + + +postfix tables +-------------- +access (smtpd): access on sender, reciptient, hostname +canonical (cleanup): general aliases for sender and recipients +virtual (cleanup): local and remote reciptient aliases +relocated (qmgr): bounces with name of new address +transport (trivial-rewrite): specifies transport way for domains +aliases (local): local recipient aliases +.forward (local): aliases for the own user + + +transport table: +domain1.de uucp:host1 +test.de smtp:mail.test.de:10025 +example.com qmtp: + + + + + + +reasons for qmail (from dave sill's book): +- security + 1) programs and files are not addresses, so don't treat them as addresses + 2) do as little as possible in setuid programs + 3) do as little as possible as root + 4) move separate functions into mutually untrusting programs + 5) don't parse + 6) keep it simple, stupid + 7) write bug-free code +- performance +- reliability +- simplicity + 1) clean design + 2) frugal feature set + 3) efficient coding + + +test messages: +- local user to local user +- local user to nonexistent local address +- local user to valid remote address +- local user to local postmaster +- invalid local user to invalid local user +- SMTP server test +- remote user to local user +- remote user to invalid local user +- MUA test +- remote to postmaster + + + +http://www.summersault.com/chris/techno/qmail/qmail-antispam.html + +qmail: badmailfrom (hardcoded list) + + + + + +qmail-inject: +- ensures rfc822 compliant message + - address qualification -> localpart@localhost.localdomain + - recipients: creates header fields from command line + - stripps all Bcc: and Resent-Bcc: headers + - if no To: or Cc: add: ``Cc: recipient list not shown: ;'' + - adds if not provided: From: (invokin user), Date: (current date GMT), Message-Id: (timestamp.pid.qmail@qualifiedhostname) + - adds commas between addresses if missing (``bob alice'' -> ``bob, alice'') + - removes Return-Path and Content-Length +