Table of Contents

Mail Administration

See also:

DNS

see also: DNS

SPF

Allow server in A record, allow server in MX record, disallow all others.

v=spf1 +a +mx -all

DKIM

DMARC

example

put into TXT record _dmarc.example.com:

v=DMARC1; p=none; rua=mailto:postmaster@example.com; ruf=mailto:postmaster@example.com;

Tools

https://dmarcian.com/dmarc-tools/

Servers

Postfix (MTA)

echo mail queue mailq
read mail postcat -q MESSAGE_ID
delete delayed mails postsuper -d ALL deferred
delete queue postsuper -d ALL

more information: Postfix Queue Management

exim4 (MTA)

echo mail queue exim -bp
mailq
delete frozen mails exiqgrep -iz|xargs exim -Mrm

Dovecot (LDA)

Postmaster

Spam detection

Office 365 / Outlook.com / Hotmail

Office Blacklist: https://sender.office.com/

Outlook.com anti-spam mechanisms: https://sendersupport.olc.protection.outlook.com/pm/services.aspx

SNDS: https://sendersupport.olc.protection.outlook.com/snds/index.aspx

If you send through an SMTP Smart Relay through Office 365, you might need to include the IP address you're sending from (not only the Microsoft servers, but your own SMTP server) in the SPF records.

Test

Online tools