Sending system mail to remote mail server using dma
johnl at iecc.com
Fri Jul 10 02:32:19 UTC 2020
In article <afa76bcc-3be1-4e71-8de5-f88917ed1845 at yggdrasil.evilham.com> you write:
>>> I'd like to setup my machines to send the local system mail to
>>> the mail server (things like the weekly repots to root, cron
>>> output, etc), which means setting up submission on these
>>> machines. I don't even know where to start on this.
>I'd use dma, it's simple to automate and configure and is in base
Definitely. I've sent it up on all of my FreeBSD VPS to redirect the mail
to my submision server. Works great, takes only a few minutes to set up.
>man 8 dma should get you started and there is also
>/usr/share/examples/dma/mailer.conf which tells you how to setup
>mailer.conf (see man 5 mailer.conf).
Right. You edit /etc/dma/dma.conf to uncomment and edit these lines:
and in auth.conf put something like this:
that logs in as "remote" with password "swordfish"
John Levine, johnl at taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly
More information about the freebsd-questions