Put in remaining pages and wiki contents.
[ikiwiki.git] / docs / howtos / HowTo_dma_gmail.mdwn
1 ## Using dma for sending mails via GMail SMTP \r
2 ### About \r
3 This HOWTO helps you to set up dma for sending mails via gmail accounts. It's useful if you do not want to run -- and especially setup -- sendmail, postfix or other big MTA. So it's ideal for home use.\r
4 \r
5 Sending mails via gmail reduces the risk that your mail lands in some spam mailbox.\r
6 \r
7 ### Why these? \r
8 \r
9 The DragonFly Mail Agent (dma) is a small Mail Transport Agent (MTA), designed for home and office use. On a DragonFly system why should you use anything else?\r
10 \r
11 [Mutt](http://www.mutt.org) is a small but very powerful text-based mail client for Unix operating systems. I haven't found any better until now.\r
12 \r
13 ### Install \r
14 dma: part of the base DragonFly system, so you already have it.\r
15 \r
16 [Mutt](http://www.mutt.org): You can install it from the pkgsrc tree (mail/mutt or mail/mutt-devel) or you can use prebuilt binaries.\r
17 \r
18 ### Setup \r
19 #### dma \r
20 /etc/dma/auth.conf\r
21     \r
22     gmail_user@gmail.com|smtp.gmail.com:PaSsWorD\r
23 \r
24 \r
25 /etc/dma/dma.conf\r
26     \r
27     SMARTHOST smtp.gmail.com\r
28     PORT 587\r
29     SECURETRANSFER\r
30     STARTTLS\r
31     INSECURE\r
32 \r
33 \r
34 #### mutt \r
35 ~/.muttrc\r
36     \r
37     set sendmail="/usr/libexec/dma"\r
38 \r
39 ----\r
40 CategoryHowTo\r