Quiz added
This commit is contained in:
parent
0da039d6f6
commit
890d868188
4 changed files with 55 additions and 3 deletions
BIN
src/assets/professor.webp
Normal file
BIN
src/assets/professor.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.5 KiB |
|
|
@ -11,7 +11,9 @@ const { icon } = Astro.props;
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class={`highlight-box content ${icon}`}
|
class={`highlight-box content ${icon}`}
|
||||||
style={icon === "question-mark" ? `--box-icon-url: url('nah');` : ""}
|
style={icon === "question-mark"
|
||||||
|
? `--box-icon-url: url('/src/assets/professor.webp');`
|
||||||
|
: ""}
|
||||||
>
|
>
|
||||||
<section>
|
<section>
|
||||||
<slot />
|
<slot />
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ sidebar:
|
||||||
order: 30
|
order: 30
|
||||||
---
|
---
|
||||||
|
|
||||||
import MultipleChoice from '../../../components/MultipleChoice.astro';
|
|
||||||
import Option from '../../../components/Option.astro';
|
import Option from '../../../components/Option.astro';
|
||||||
import Checklist from '../../../components/Checklist.astro';
|
import Checklist from '../../../components/Checklist.astro';
|
||||||
import Box from '../../../components/Box.astro';
|
import Box from '../../../components/Box.astro';
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,9 @@ sidebar:
|
||||||
---
|
---
|
||||||
|
|
||||||
import { Aside } from "@astrojs/starlight/components";
|
import { Aside } from "@astrojs/starlight/components";
|
||||||
|
import MultipleChoice from '../../../components/MultipleChoice.astro';
|
||||||
|
import Option from '../../../components/Option.astro';
|
||||||
|
import Box from '../../../components/Box.astro';
|
||||||
|
|
||||||
This is the pretty boring but at the same time very important part of the tutorial. Do not skip it. Most problems that
|
This is the pretty boring but at the same time very important part of the tutorial. Do not skip it. Most problems that
|
||||||
readers have with their mail servers are caused by a misunderstanding of the different types of email domains. There is
|
readers have with their mail servers are caused by a misunderstanding of the different types of email domains. There is
|
||||||
|
|
@ -98,7 +101,6 @@ So the left column lists the valid email addresses. And the right column is appa
|
||||||
|
|
||||||
Before checking if a specific email address is valid Postfix first checks if it is responsible for the domain at all. That’s done by this mapping:
|
Before checking if a specific email address is valid Postfix first checks if it is responsible for the domain at all. That’s done by this mapping:
|
||||||
|
|
||||||
|
|
||||||
| Virtualdomain (key) | Whateve (value) |
|
| Virtualdomain (key) | Whateve (value) |
|
||||||
| ------------------- | --------------- |
|
| ------------------- | --------------- |
|
||||||
| example.org | Kittens |
|
| example.org | Kittens |
|
||||||
|
|
@ -145,6 +147,55 @@ So basically this is the way that Postfix handles aliases:
|
||||||
Two email addresses are mandatory for every domain that you host. `postmaster@domain` and `abuse@domain`. These requirements are documented in RFC 521 and RFC 2142. Be sure to add aliases for them. If an email to those addresses would bounce, your domain reputation will suffer.
|
Two email addresses are mandatory for every domain that you host. `postmaster@domain` and `abuse@domain`. These requirements are documented in RFC 521 and RFC 2142. Be sure to add aliases for them. If an email to those addresses would bounce, your domain reputation will suffer.
|
||||||
</Aside>
|
</Aside>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Box icon="question-mark">
|
||||||
|
|
||||||
|
## Test your knowledge
|
||||||
|
|
||||||
|
Can a domain be both a canonical and virtual at the same time?
|
||||||
|
|
||||||
|
<MultipleChoice>
|
||||||
|
<Option>
|
||||||
|
Yes.
|
||||||
|
</Option>
|
||||||
|
<Option isCorrect>
|
||||||
|
No.
|
||||||
|
</Option>
|
||||||
|
</MultipleChoice>
|
||||||
|
|
||||||
|
How many virtual domains can a mail server have?
|
||||||
|
|
||||||
|
<MultipleChoice>
|
||||||
|
<Option>
|
||||||
|
None.
|
||||||
|
</Option>
|
||||||
|
<Option isCorrect>
|
||||||
|
There is no limit.
|
||||||
|
</Option>
|
||||||
|
<Option>
|
||||||
|
As many as there are IP addresses.
|
||||||
|
</Option>
|
||||||
|
</MultipleChoice>
|
||||||
|
|
||||||
|
What is a catch-all address?
|
||||||
|
|
||||||
|
<MultipleChoice>
|
||||||
|
<Option isCorrect>
|
||||||
|
It receives emails for any user in that domain.
|
||||||
|
</Option>
|
||||||
|
<Option>
|
||||||
|
It deletes all incoming email automatically.
|
||||||
|
</Option>
|
||||||
|
<Option>
|
||||||
|
It is just a fancy name for the `postmaster@domain` address.
|
||||||
|
</Option>
|
||||||
|
</MultipleChoice>
|
||||||
|
|
||||||
|
</Box>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Database
|
## Database
|
||||||
|
|
||||||
Did you get the idea of mappings? Two columns in a table? Keys and values? Good. Now how do those mappings work when we want to put the information into an SQL database?
|
Did you get the idea of mappings? Two columns in a table? Keys and values? Good. Now how do those mappings work when we want to put the information into an SQL database?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue