Emails

email


==============================
MalDet + ClamAV Installation Guide:
==============================

www.tecmint.com/install-linux-malware-detect-lmd-in-rhel-centos-and-fedora/1/

Required Items for email


There are several things you need for sucessful email transmission. This is a list in order of importance, with a short decription.

NameUsage
HostnameYour servers identity - A Subdomain or FQDN
A Record (FQDN)Your server needs the subdomain name pointing at it (FQDN)
PTR Record (Reverse DNS)Your server IP needs the same FQDN assigned to it
MXWhere to send emails for your domain
SPF RecordWho can send emails from your domain?
DKIMProve that an authorised server did the sending/signed the email
DMARCWhat to do when SPF/DKIM pass or fail
BIMIDisplay company logo in supported clients (BETA)


Example for this domain (mcraxford.co.uk):

Server Hostname: server.mcraxford.co.uk

A Record:

server.mcraxford.co.uk. IN A 77.68.4.247

PTR record for 77.68.4.247 - server.mcraxford.co.uk

MX record:
mcraxford.co.uk. IN MX mail.mcraxford.co.uk

SPF Record:
mcraxford.co.uk. in TXT “v=spf1 ip4:77.68.4.247/32 a mx -all”

DKIM Record:
default._domainkey.mcraxford.co.uk. IN TXT “v=DKIM1; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDXMoyTeAhsQbQzcwAKpmYLQT7jfUIe8OIRjL5KhOpIez+Ickbicj1g5K8Mly0+RuxlUjN3+ikQhITICqj4gKVso927ATChkX0iaB0Ik2i1YLlQ/d7WsCfs54t/zVN8KM1LeByUW+3fMDD3iLuXRy9DzPjcXC76O44SvYz6FY8PIQIDAQAB;”

DMARC:
_dmarc.mcraxford.co.uk. IN TXT “v=DMARC1; p=reject; rua=mailto:dmarc@mcraxford.co.uk;”

BIMI:
default._bimi.mcraxford.co.uk IN TXT “v=BIMI1; I=https://mcraxford.co.uk/bimi.svg”

Qmail


==============================
[Qmail] Clear mail queue:
==============================
find /var/qmail/queue/mess -type f -exec rm {} \; find /var/qmail/queue/info -type f -exec rm {} \; find /var/qmail/queue/local -type f -exec rm {} \; find /var/qmail/queue/intd -type f -exec rm {} \; find /var/qmail/queue/todo -type f -exec rm {} \; find /var/qmail/queue/remote -type f -exec rm {} \;