>
> Sending
> selected config lines and mangled debug log lines in an atrociously
> misformatted HTML message is not it.
>
My request is perfectly formatted on chrome. I suppose that some "special
formatting" features such as Italic that I used to differentiate the log
from the rest of the text is not supported by the recipient mail system, so
I'll keep that in mind to avoid any kind of gibberish with this list.

The document you reference clearly states: "Please do not send your main.cf
file, or 1000+ lines of postconf command output".
Since my knowledge of postfix is limited, I thought that going straight to
the point would be enough.
However, I realize that some configuration settings might be missing here:
There is no smtp proxy, but some content filtering; l hope this time no
related setting is missing:
        content_filter = smtp-amavis:[127.0.0.1]:10024
        milter_default_action = accept
        milter_protocol = 6
        non_smtpd_milters = inet:localhost:8891
        smtpd_data_restrictions = reject_unauth_pipelining
        smtpd_helo_restrictions = permit_mynetworks,
reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname,
reject_unknown_helo_hostname
        smtpd_milters = inet:localhost:8891
        smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, permit_auth_destination
        smtpd_reject_unlisted_recipient = yes
        smtpd_relay_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject
        smtpd_sender_login_maps = hash:/etc/postfix/smtpd_sender_login_maps
        smtpd_sender_restrictions = reject_unknown_sender_domain

Log:
        >>> START Recipient address RESTRICTIONS <<<
        generic_checks: name=permit_mynetworks
        permit_mynetworks: mail-il1-f173.google.com 209.85.166.173
        match_hostname: mynetworks: mail-il1-f173.google.com ~? D.D.D.D/D
        match_hostaddr: mynetworks: 209.85.166.173 ~? D.D.D.D/D
        match_hostname: mynetworks: mail-il1-f173.google.com ~? D.D.D.D/D
        match_hostaddr: mynetworks: 209.85.166.173 ~? D.D.D.D/D
        match_list_match: mail-il1-f173.google.com: no match
        match_list_match: 209.85.166.173: no match
        generic_checks: name=permit_mynetworks status=0
        generic_checks: name=permit_sasl_authenticated
        generic_checks: name=permit_sasl_authenticated status=0
        generic_checks: name=permit_auth_destination
        permit_auth_destination: recipi...@example.org
        ctable_locate: move existing entry key
sen...@gmail.com?recipi...@example.org
        smtpd_acl_permit: checking smtpd_log_access_permit_actions settings
        match_list_match: permit_auth_destination: no match
        smtpd_acl_permit: smtpd_log_access_permit_actions: no match
        generic_checks: name=permit_auth_destination status=1
        >>> END Recipient address RESTRICTIONS <<<
        >>> START Recipient address RESTRICTIONS <<<
        generic_checks: name=permit_mynetworks
        permit_mynetworks: mail-il1-f173.google.com 209.85.166.173
        match_hostname: mynetworks: mail-il1-f173.google.com ~? D.D.D.D/D
        match_hostaddr: mynetworks: 209.85.166.173 ~? D.D.D.D/D
        match_hostname: mynetworks: mail-il1-f173.google.com ~? D.D.D.D/D
        match_hostaddr: mynetworks: 209.85.166.173 ~? D.D.D.D/D
        match_list_match: mail-il1-f173.google.com: no match
        match_list_match: 209.85.166.173: no match
        generic_checks: name=permit_mynetworks status=0
        generic_checks: name=permit_sasl_authenticated
        generic_checks: name=permit_sasl_authenticated status=0
        generic_checks: name=reject
        NOQUEUE: reject: RCPT from mail-il1-f173.google.com[209.85.166.173]:
554 5.7.1 <recipi...@example.org>: Recipient address rejected: Access
denied; from=<sen...@gmail.com> to=<recipi...@example.org> proto=ESMTP
helo=<mail-il1-f173.google.com>
        generic_checks: name=reject status=2
        >>> END Recipient address RESTRICTIONS <<<

On Mon, Oct 21, 2019 at 4:22 PM Bill Cole <
postfixlists-070...@billmail.scconsult.com> wrote:

> On 21 Oct 2019, at 10:08, jean-christophe manciot wrote:
>
> > Hi there,
> > The context is:
> > Ubuntu 19.10
> > postfix 3.4.7-1
> >
> > in /etc/postfix/main.cf
> > smtpd_recipient_restrictions = permit_mynetworks,
> > permit_sasl_authenticated, permit_auth_destination
> >
> > This setting should accept the e-mail sent to my domain from
> > google.com.
>
> Maybe. Other settings could break that. Notably, if you are using the
> "SMTP proxy" filter mechanism, your log will show entires from both the
> pre-filter smtpd and the post-filter smtpd.
>
> >
> > Yet, I get in the log:
> [snip of useless mangled debug logging]
>
> > Unless I'm missing something, this double check does not sound
> > correct.
> > Any suggestion?
>
> See http://www.postfix.org/DEBUG_README.html#mail for information about
> how to document a Postfix problem so that others can help you. Sending
> selected config lines and mangled debug log lines in an atrociously
> misformatted HTML message is not it.
>
>
> --
> Bill Cole
> b...@scconsult.com or billc...@apache.org
> (AKA @grumpybozo and many *@billmail.scconsult.com addresses)
>


-- 
Jean-Christophe

Reply via email to