Re: Postfix restriction

2021-02-13 Thread Dan
Thank you, this solves the issue Have a nice evening __ Am 13.02.21, 22:12 schrieb "Viktor Dukhovni" : On Sat, Feb 13, 2021 at 09:56:52PM +0100, Dan wrote: > It looks like that postfix don't know to handle other users. No, rather you have a syntax error in your main.cf file.

Re: Postfix restriction

2021-02-13 Thread Dan
Okay how to solve this? Here the logs attached. It looks like that postfix don't know to handle other users. If I send from allowed domains which I entered in the protected_destinations it works. If I send a mail from gmail: Feb 13 21:44:06 CGSG postfix/smtpd[8296]: Anonymous TLS connection est

Postfix restriction

2021-02-13 Thread Dan
Dear all, I like to restrict some internal mailboxes so that only a list of domains can send mails to this mailbox. Users should be able to get outside mails normally. I’ve found this on postfix.org: /etc/postfix/main.cf:     smtpd_recipient_restrictions =     ...     check_recipient_

Re: Postfix restriction

2021-02-13 Thread Viktor Dukhovni
On Sat, Feb 13, 2021 at 09:56:52PM +0100, Dan wrote: > It looks like that postfix don't know to handle other users. No, rather you have a syntax error in your main.cf file. > Okay how to solve this? Fix the syntax error. > Here the logs attached. > If I send a mail from gmail: > > Feb 13 21

Re: Postfix restriction

2021-02-13 Thread Viktor Dukhovni
On Sat, Feb 13, 2021 at 08:49:56PM +0100, Dan wrote: > /etc/postfix/main.cf: >     smtpd_recipient_restrictions = >     ... >     check_recipient_access hash:/etc/postfix/protected_destinations >     ...the usual stuff... > >     smtpd_restriction_classes = insiders_only >     inside

Re: File-format for Included Files for main.cf Options

2021-02-13 Thread Dominic Raferd
On 12/02/2021 18:35, Chris Green wrote: On Fri, Feb 12, 2021 at 01:08:07PM -0500, Viktor Dukhovni wrote: On Fri, Feb 12, 2021 at 11:14:24AM +, Dominic Raferd wrote: On 12/01/2021 01:21, Viktor Dukhovni wrote: On Tue, Jan 12, 2021 at 01:00:26AM +, JL (Postfix Readers A/c) wrote: Ca