summaryrefslogtreecommitdiffstats
path: root/e-post/doman.mdwn
blob: e1bb123ff34a7a0d1f9f96f0b06e7635ed66301a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# Egen domän

Vi har bestämt att alla ska få koppla en (1) egen domän på fripost.org. På den får du ett obegränsat mängd alias som kopplas till din inbox.

Detta betyder, att om jag exempelvis äger domänen `skangas.se`, så kan jag koppla den till mitt fripost-konto. På min domän kan jag sedan ha flera olika adresser som går till samma ställe:

    skangas@skangas.se -> stefan@fripost.org
    kontakt@skangas.se -> stefan@fripost.org
    info@skangas.se -> stefan@fripost.org

Detta betyder att man kan nå mig på flera olika adresser, som sedan samlas upp i min inkorg för `stefan@fripost.org`.

Proceduren för att fixa detta involverar just nu en del manuellt arbete men vi jobbar på att göra det enklare.

# Hur gör man?

 1. Skicka ett e-brev till `admin@fripost.org` från ditt fripost-konto med den önskade domänen. Inkludera alla eventuella alias i ett rimligt format, t.ex. en lång lista med en e-postadress per rad. Eller ännu hellre alla på en lång rad. Detta gör att det blir möjligt att skicka e-post från Fripost med de önskade adresserna som avsändare.

 2. Invänta en bekräftelse på att din domän är tillagd på Friposts system.

 3. När bekräftelsen har kommit ska [MX-posterna](http://en.wikipedia.org/wiki/MX_records) (MX records) i DNS-tabellen för domänen uppdateras så att de refererar till Friposts e-post-servrar. I de flesta fall kan göras det hos det ombud där domänen köptes. Detta gör att e-post som skickas till den önskade domänen hamnar hos Fripost.

    Friposts e-post-servrar har de här adresserna:

        mx1.fripost.org
        mx2.fripost.org

    Ett förslag på prioritet för dom olika servrarna är `5`, `10` och `15`.

    Det resulterar i att dom fullständiga MX-posterna ser ut så här som standard (observera punkterna efter server-adresserna):

        Subdomän   Typ   TTL    Data
        @          MX    7200   5 mx1.fripost.org.
        @          MX    7200   10 mx2.fripost.org.
   
    Ombudet där domänen köptes har troligen detaljerade instruktionen för hur just deras tjänst ska konfigureras på sin hemsida. Det kan dröja upp till 48 timmar efter att man har ändrat sina MX-poster innan de propagerats över hela internet.

 4. Till sist måste man ange i webmailen eller sitt e-post-program att den nya adressen ska användas.

    I webmailen görs detta genom att loggan in, gå till `Inställning -> Identiteter`, klicka på `+`-tecknet nere till vänster, skriva i namn och ny adress och klicka spara. Den nya adressen kan sedan väljas som avsändare när man skriver ny e-post.

   I e-post-programmet Thunderbird görs detta genom att ändra inställningar i `Redigera -> Kontoinställningar -> Fripost-kontot`. Under rubriken `Standardidentitet`, ändra fältet `E-postadress` till den nya adressen. Efter det kommer ny e-post skickas med den nya adressen.

Klart!

# Vanliga frågor

## Får jag ha fler än en domän?

Ja, om du vill koppla på fler än en domän, bara skicka ett e-brev till
admin@fripost.org så ska vi se vad vi kan göra. Men tänka på att
administratörerna gör detta på sin fritid :-)

Några medlemmar har valt att donera extra pengar till Fripost som tack
för att administratörerna varit så vänliga och lagt till deras extra
domäner.

## Om man är flera som är medlemmar, kan man få olika adresser från samma domän till olika konton hos er?

Ja, det finns ingenting som hindrar detta. Dock kan vi bara ha max en person som står som ägare till en domän. Alla ändringar av eventuella alias måste göras av domänens ägare.

# Tekniska frågor

## What about the reserved `postmaster@` and `abuse@` addresses?

According to [RFC 822 Section 6.3](https://tools.ietf.org/html/rfc822#section-6.3) and
[RFC 2142 Section 4](https://tools.ietf.org/html/rfc2142#section-4), the
addresses `postmaster@yourdomain.se` and `abuse@yourdomain.se` are both
reserved and required, and *must* be routed to the person(s) responsible
for your domain's mail system i.e. `admin@fripost.org`.  For convenience
we also deliver such messages to the domain owner, but *beware that we
will also receive them*!

On a related note, we encourage domain owners to create aliases for
common roles and services such as `root@`, `hostmaster@`, `webmaster@`,
etc.  See [RFC 2142](https://tools.ietf.org/html/rfc2142) for details.

## I want my domain `example.net` to mirror my other domain `example.org`, but only add addresses under the later.

What you want is to make `example.net` a *domain alias*, and to point it
to `example.org`.  You won't be able to configure `example.org` directly
(you won't be able to create `my-alias@example.net` for instance);
instead any message to say, `whatever@example.net` will be routed to
`whatever@example.org` (hence it'll bounce if the latter doesn't exist).
Just drop us a line at `admin@fripost.org` if you want a domain alias,
and tell us its destination (as with regular aliases the destination
doesn't have to be hosted by Fripost).

## I want to receive messages sent to `anything@example.org`, but I can't create an infinite number of aliases!

No problem, we can add a catch-all address on your domain; it has the
lowest priority, so you can still have regular aliases and point them to
another address (`anything@example.org` will be delivered to the
catch-all address *only* if `anything@example.org` is not an explicity
existing address).  Beware that you may receive a lot of Junk on your
catch-all address, though! (Spammer like to shoot randomly, as it's a
way to discover what are the valid recipients under a given domain.)
Also, please don't forget the reserved addresses `postmaster@` and
`abuse@`, which have a special treatment and will bypass your catchall
address, see above.

## Why are my outgoing emails signed with Fripost's DKIM key?

When you're using our Mail Submission Agent (`smtp.fripost.org`, see our
[wiki page](http://wiki.fripost.org/konfigurera/) on the subject) or our
[webmail](https://mail.fripost.org) to send an email, you might have
noticed a "DKIM-Signature" field in the mail header on the receiver side:

    DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fripost.org; ...; s=20140703; ...

This field was added just before your mail left Fripost's infrastructure.  The
selector and signing domain, respectively given by "s=" and "d=", provide a way
for the receiver to fetch the public part of the key used to sign the message
from the signing domain's DNS zone:

    $ dig +short 20140703._domainkey.fripost.org TXT
    "v=DKIM1\; k=rsa\; t=s\; s=email\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDUIUVYm2WCwrXYd+cEIpKPSaxm5MxqFP3Ie7nAo+ZCLgt+oEPTuGA2dwqXAo04BeJERDKV5AGNusdn0EObjFApQZGtD7ROPrdtSMsQsOC2jDrk/FVIBWjk8NeXXA8eFHBLgB4WhByerrHYvCKO4wR5N6bT+y/QDWl868WM7ejEHwIDAQAB"

See RFCs [6376](https://tools.ietf.org/html/rfc6376) and
[7001](https://tools.ietf.org/html/rfc7001) for references. The 
[Wikipedia page](https://en.wikipedia.org/wiki/Dkim) might be another
good read.

Your email is being signed with fripost.org's key whenever you use our
machines to send it, regardless of the identity you used ("From:" header
or enveloppe sender address), because Fripost is stamping your message
the last time it sees it, just before throwing it in the wild, and can
guaranty its integrity on your behalf.

If you use your own domain for outgoing mail, note however that the
fact that your messages are signed by Fripost's key and not your own
might be emphasized by the receiver's mail client (GMail
[surely does](https://support.google.com/mail/answer/1311182), for
instance).  This doesn't really disclose anything as our domain can be
found in the mail header anyway, but if you prefer to have your own key
drop us a line, we will find something out.