>
>
> >>> Is there a safe way to add it to the submission service directly?
> >>
> >> Add an override in the master.cf file for
> >> smtpd_recipient_restrictions
> >> to the 'submission' entry.
> >>
> >
> > What would that look like?
> >
> > submission inet n       -       n       -       -
> > smtpd
> >   -o smtpd_tls_security_level=encrypt
> >   -o smtpd_sasl_auth_enable=yes
> >   -o smtpd_recipient_restrictions={check_policy_service
> > inet:127.0.0.1:10031,permit_sasl_authenticated,reject}
> >   -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
> >   -o milter_macro_daemon_name=ORIGINATING
> >   -o receive_override_options=$submission_overrides
> >   -o syslog_name=postfix/submission
> >   -o sender_dependent_default_transport_maps=
> >   -o sender_canonical_maps=
> >   -o sender_canonical_classes=
> >   -o recipient_canonical_maps=
> >   -o recipient_canonical_classes=
> >   -o smtpd_milters=
> >   -o non_smtpd_milters=
> >   -o milter_default_action=tempfail
>
>
> Looks reasonable. I assume you have good reason for all the other
> overrides.
>
>
It didn't work :-(

Feb 9 18:22:39 darwin postfix/submission/smtpd[2085122]: warning: malformed
map specification: '{check_policy_service
inet:127.0.0.1:10031,permit_sasl_authenticated,reject}'
Feb 9 18:22:39 cipher postfix/submission/smtpd[2085122]: warning: expected
maptype:mapname instead of 'check_policy_service'
Feb 9 18:22:39 darwin postfix/submission/smtpd[2085122]: warning:
check_mail_access: unexpected dictionary: {check_policy_service inet:
127.0.0.1:10031,permit_sasl_authenticated,reject}

Maybe a better idea is something like this?

smtpd_restriction_classes = submission_cbp
submission_cbp =
    check_policy_service inet:127.0.0.1:10031

then add $submission_cbp to master.cf?
   -o
smtpd_recipient_restrictions=submission_cbp,permit_sasl_authenticated,reject
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to