On Sun, Dec 06, 2020 at 12:09:06PM -0500, Wietse Venema wrote:
> Chris Green:
> > I run postfix on my main desktop machine both for sending mail (via my
> > hosting provider 'smarthost') and for receiving mail.
> > 
> > I want to use postfix to provide /usr/bin/sendmail on a laptop and
> > some other machines.  These machines won't be receiving E-Mail.
> > 
> > I've considered the 'send only' programs such as esmtp and msmtp but
> > having to maintain *different* configurations is a downside with these
> > and I'm already (fairly) familiar with postfix.
> > 
> > So, is there an easy way to copy my existing postfix configuration
> > (in /etc/postfix) to other machines?  What actually needs to be
> > different on each machine for it to work?  Does *anything* need to be
> > different?
> 
> Non-MTA machines can have identical configuration. You need a
> relayhost:
> 
>     # [] to disable MX record lookups
>     relayhost = [smtp.example.com] 
> 
> And presumably, SASL configuration:
> 
>     smtp_sasl_password_maps = map with plaintext passwords
>     smtp_tls_security_level = may
>     smtp_sasl_auth_enable = yes
>     smtp_sasl_tls_security_options = noanonymous
> 
> And this will almost never need to be updated.
> 
Excellent, thank you Wietse, I think you have set me on my way.

-- 
Chris Green

Reply via email to