If you can see this check that

next section prev section up prev page next page

Email Management

SMTP

SMTP

SMTP

telnet grussell.org 25

Connected to grussell.org (10.10.5.5).
Escape character is '^]'.
220 grussell.org ESMTP Sendmail 8.12.11/8.12.11; Sun, 14 Nov 200819:01:01 GMT
> helo pc236b.napier.ac.uk
250 grussell.org Hello pc236b.napier.ac.uk [10.4.5.6], pleased to meet you
> mail from: g.russell@napier.ac.uk
250 2.1.0 g.russell@napier.ac.uk ... Sender ok
> rcpt to: me@grussell.org
250 2.1.5 me@grussell.org.. Recipient ok
> data
354 Enter mail, end with "." on a line by itself
> From: "Santa"  claws@northpole.com
> To: Gordon Russell <me@grussell.org>
> Date: Tue, 15 Jan 2008 16:02:43 -0500
> Subject: SMTP 

Hello gordon. 
I am Santa 
> . 
250 Ok: queued as 5555 
> QUIT 
221 Bye 

Envelope and Headers

Forged Emails

Email headers

From g.russell@napier.ac.uk Sun Nov 15 11:12:21 2009
Received: from pc236b.napier.ac.uk [10.2.4.5]
	by grussell.org (8.18.11) id PDQ666
	Sun Nov 15 11:12:20 2008 -0000
Received: (gor@localhost)
	by pc236b.napier.ac.uk (8.18.11) id LXY123
	Sun Nov 15 11:12:16 2008 -0000
Date: Sun Nov 15 11:12:15 2008 -0000
From: g.russell@napier.ac.uk
To: me@grussell.org
Message-Id: <20041115111215.LXY123@pc236b.napier.ac.uk>
Subject: Wow

Message body is here. This is the message.

Received

	Received: from pc236b.napier.ac.uk [10.2.4.5]
	by grussell.org (8.18.11) id PDQ666
	Sun Nov 15 11:12:20 2008 -0000
	Received: (gor@localhost)
	by pc236b.napier.ac.uk (8.18.11) id LXY123
	Sun Nov 15 11:12:16 2008 -0000
	Received: from pc236b.napier.ac.uk [10.2.4.5]
	by grussell.org (8.18.11) id PDQ666
	Sun Nov 15 11:12:20 2008 -0000
	Received: (gor@localhost)
	by pc236b.napier.ac.uk (8.18.11) id LXY123
	Sun Nov 15 11:12:16 2008 -0000

Spotting forged emails

MX Records

Linux Email

MUA, MTA, and MDA

MUA

MTA

MDA

Example

Sendmail

sendmail mqueue processing

Aliases

Examples

postmaster : root
me : gor
olduser : /dev/null
automail : | /home/gordon/bin/autoregister.pl
devel : gor, me@grussell.org.uk, a.cumming

Compiling alias changes

.forward

Recursive loops

> cat /home/gordon/.forward gordon andrew

Sendmail configuration

Basic structure of sendmail.mc

What the options are!

Key issues: Masquerade

Relaying

Virtual Hosts - receiving

Virtual Hosts - sending

Access

Possible responses.

Blackhole lists

Spamhatus

Fighting SPAM

SPF for linuxzoo

Actions

Discussion

Discussion

Discussion

Question 1

With respect to email delivery, discuss the difference between a header and an envelope.

Question 2

Question 3


Centos 7 intro: Paths | BasicShell | Search
Linux tutorials: intro1 intro2 wildcard permission pipe vi essential admin net SELinux1 SELinux2 fwall DNS diag Apache1 Apache2 log Mail
Caine 10.0: Essentials | Basic | Search | Acquisition | SysIntro | grep | MBR | GPT | FAT | NTFS | FRMeta | FRTools | Browser | Mock Exam |
CPD: Cygwin | Paths | Files and head/tail | Find and regex | Sort | Log Analysis
Kali: 1a | 1b | 1c | 2 | 3 | 4a | 4b | 5 | 6 | 7a | 8a | 8b | 9 | 10 |
Kali 2020-4: 1a | 1b | 1c | 2 | 3 | 4a | 4b | 5 | 6 | 7 | 8a | 8b | 9 | 10 |
Useful: Quiz | Forums | Privacy Policy | Terms and Conditions

Linuxzoo created by Gordon Russell.
@ Copyright 2004-2023 Edinburgh Napier University