On 14.09.2019 3:05, Edgar Pettijohn wrote:
On Sat, Sep 14, 2019 at 12:32:22AM +0200, Thomas Schweikle wrote:
Hi!

Trying to set up opensmtpd as a simple single mta relaying all mail to a
smarthost. But ...

Config:
listen on localhost
table aliases db:/etc/aliases.db
table secrets db:/etc/smtpd.secrets.db
expire 4h

Add:

accept for local alias <aliases> deliver to mbox
accept from local for any relay via smtps+auth://gm...@smtp.gmail.com:465 auth
<secrets>

Hello! You may also look into forward-only if you want them to be forwarded to external addresses:

accept from local for local alias <aliases> forward-only

Good luck,
Reio

Reply via email to