Viktor

Can I ask you a follow up?  I read up on smtpd_recipient_restrictions
and believe I did it right now...  https://bpa.st/UB3Q

I also verified I can do "telnet autoprog.org 25" so can't figure
out why I *still* get access denied when I try to send email to "
c...@autoprog.org".

cs


On Mon, Jan 20, 2025 at 8:55 PM Viktor Dukhovni via Postfix-users <
postfix-users@postfix.org> wrote:

> On Mon, Jan 20, 2025 at 08:50:18PM -0700, Christian Seberino wrote:
>
> > Thanks so much.  I now have this in main.cf instead with permit at the
> > end...
> >
> > smtpd_recipient_restrictions    =
> >         reject_non_fqdn_sender,
> >         reject_non_fqdn_recipient,
> >         reject_unknown_sender_domain,
> >         reject_unknown_recipient_domain,
> >         reject_unauth_pipelining,
> >         permit_sasl_authenticated,
> >         permit
>
> That's not what I suggested, and makes little sense.  Why is
> "permit_sasl_authenticated" at all useful before a blanket "permit"?
> And I don't see a "reject_unauth_destination", although that might be
> covered by "smtpd_relay_restrictions".
>
> > Jan 20 21:47:02 server postfix/smtpd[357169]: fatal: in parameter
> > smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at
> least
> > one working instance of: reject_unauth_destination,
> > defer_unauth_destination, reject, defer, defer_if_permit or
> > check_relay_domains
>
> Well, there you are, you probably don't have a sensible
> "smtpd_relay_restrictions" either.  You need to read and understand the
> documentation, just blindly applying settings you don't understand is
> not a good idea.
>
> --
>     Viktor.
> _______________________________________________
> Postfix-users mailing list -- postfix-users@postfix.org
> To unsubscribe send an email to postfix-users-le...@postfix.org
>
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to