最初コミット
This commit is contained in:
36
dma-freebsd.md
Normal file
36
dma-freebsd.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# DMA
|
||||
## /etc/dma/auth.conf
|
||||
```
|
||||
server@076.ne.jp|mail.076.ne.jp:(パスワード)
|
||||
```
|
||||
|
||||
```sh
|
||||
$ chown mailnull auth.conf
|
||||
```
|
||||
|
||||
--------------------------
|
||||
|
||||
## /etc/dma/dma.conf
|
||||
```
|
||||
SMARTHOST mail.076.ne.jp
|
||||
PORT 587
|
||||
ALIASES /etc/dma/aliases
|
||||
AUTH /etc/dma/auth.conf
|
||||
SECURETRANSFER
|
||||
STARTTLS
|
||||
MASQUERADE server@076.ne.jp
|
||||
```
|
||||
|
||||
--------------------------
|
||||
|
||||
```sh
|
||||
$ cp /etc/mail/aliases /etc/dma/aliases
|
||||
$ echo "root: server@076.ne.jp" >> /etc/dma/aliases
|
||||
```
|
||||
|
||||
## /etc/mail/mailer.conf
|
||||
```
|
||||
sendmail /usr/libexec/dma
|
||||
mailq /usr/libexec/dma
|
||||
newaliases /usr/libexec/dma
|
||||
```
|
||||
Reference in New Issue
Block a user