Re: Restrict access relay to single client

2022-12-24 Thread Jim Garrison
On 12/23/22 19:06, raf wrote: On Fri, Dec 23, 2022 at 01:14:26PM -0800, Jim Garrison wrote: [snip] Not relevant to your problem, but the above says that only ipv4 is used but your config includes ipv6 addresses. You might want to delete it (and default to "all"), or remove the ipv6 addresses f

Re: Restrict access relay to single client

2022-12-23 Thread raf
On Fri, Dec 23, 2022 at 01:14:26PM -0800, Jim Garrison wrote: > I have Postfix running inside a private LAN as an outgoing relay via > GMail (no incoming Internet connections). I have two goals > > 1. Relay only to one specific domain > 2. Accept relay from only one specific LAN client > > So

Re: Restrict access relay to single client

2022-12-23 Thread Jim Garrison
On 12/23/22 17:24, Wietse Venema wrote: You should also include "postconf -P" for parameter settings in master.cf. Wietse Not much there... $ postconf -P relay/unix/syslog_name = postfix/$service_name -- Jim Garrison j...@acm.org

Re: Restrict access relay to single client

2022-12-23 Thread Wietse Venema
You should also include "postconf -P" for parameter settings in master.cf. Wietse

Restrict access relay to single client

2022-12-23 Thread Jim Garrison
I have Postfix running inside a private LAN as an outgoing relay via GMail (no incoming Internet connections). I have two goals 1. Relay only to one specific domain 2. Accept relay from only one specific LAN client So I configured the following (complete postconf -n appended below): myhost