Skip to content

Latest commit

 

History

History
172 lines (115 loc) · 3.96 KB

README.md

File metadata and controls

172 lines (115 loc) · 3.96 KB

Outlook 2013

  • Root: "Inbox"
  • to recognize standard folder names delete .pst/.ost file after account setup
  • (Outlook 2007) empty folder subscription, see: mail/courier-outlook-subscribe-bug.sh

Open winmail.dat

https://github.com/Yeraze/ytnef

See: repo/ytnef.deb

MIME: application/ms-tnef

Set up Google Apps mailing

https://toolbox.googleapps.com/apps/checkmx/

Mail account migration

see: mail/imapsync OVH ImapCopy OfflineIMAP

Send all messages in an mbox file to an email address

see: mail/mbox_send2.py

Email sending and receiving

  • SSL?
  • headers: From, from name, To, Reply-to, Return-path, SMTP "MAIL FROM:"

Courier catchall address

http://www.courier-mta.org/makehosteddomains.html http://www.courier-mta.org/dot-courier.html

echo "|pipe/command" > /var/mail/domain.net/user/.courier-foo-default

IMAP PLAIN authentication

D0 CAPABILITY D1 AUTHENTICATE PLAIN echo -en "\0USERNAME\0PASSWORD" | base64 D2 LOGOUT

Online email tests

Email forwarding (srs)

https://couriersrs.com/ https://github.com/szepeviktor/couriersrs see: http://szepeviktor.github.io/ Create users SRS0 and SRS1.

echo "|/usr/bin/couriersrs --reverse" > /etc/courier/aliasdir/.courier-SRS0-default
echo "|/usr/bin/couriersrs --reverse" > /etc/courier/aliasdir/.courier-SRS1-default

Spamassassin test and DKIM test

spamassassin --test-mode -D < msg.eml
# For specific tests see: man spamassassin-run
spamassassin --test-mode -D dkim < msg-signed.eml
opendkim -vvv -t msg-signed.eml

Sender ID (From:)

SPF (HELO, MAIL FROM:)

  • setup
  • check
  • monitor host -t TXT <domain>

DKIM

ADSP

An optional extension to the DKIM E-mail authentication scheme.

Domain Keys

?

SenderID

?

DMARC

Specs: https://datatracker.ietf.org/doc/draft-kucherawy-dmarc-base/?include_text=1

Headers

  • List-Unsubscribe:
  • Precedence: bulk
  • Return-Path:, Reply-to:, From:, To:, Subject:
  • SMTP "MAIL FORM: from@addre.ss"

Bulk mail

Musts
  • link to online version (newsletter archive)
  • who (name and email address) is subscribed
  • sender's contact details (postal address, phone number)
  • unsubscribe link
  • HTML and plain payload
  • Precedence: bulk header
  • https://support.google.com/mail/answer/81126
Elements
  • From: "Firstname from Company"
  • From address SPF: include:servers.mcsv.net
  • Subject: ...)
  • Short preview line on top of the message
  • Main hader line
  • Subheader line
  • Section: image + title + description + call2action https://litmus.com/subscribe

White lists

Kitchen sink

  • echo > /etc/courier/aliasdir/.courier-kitchensink
  • alias: any.address@any-domain.net: kitchensink@localhost

Scan Class C network

for I in $(seq 1 255); do host -t A 1.2.3.${I}; done

Email tests

Email templates