On Sat, May 05, 2018 at 12:31:12PM +0200, Proxy wrote:

> I'm sending postconf -n, postconf -Mf and relevant logs in attachments.

> content_filter = amavis:[127.0.0.1]:10024
> enable_original_recipient = no
> gmail_destination_rate_delay = 1s
> mydestination =
> smtpd_recipient_restrictions =
>   reject_unauth_pipelining,
>   permit_mynetworks,
>   permit_sasl_authenticated,
>   reject_non_fqdn_recipient,
>   reject_unknown_recipient_domain,
>   reject_unauth_destination,
>   permit
> transport_maps = hash:/etc/postfix/transport
> virtual_alias_maps =
>   mysql:/etc/postfix/mysql_virtual_alias_maps.cf,
>   mysql:/etc/postfix/mysql_virtual_alias_domainaliases_maps.cf
> virtual_mailbox_domains =
>  mysql:/etc/postfix/mysql_virtual_domains_maps.cf

The complete first contact logging is:

    May  4 04:02:03 AAAAA postfix/smtpd[15310]: connect
      from unknown[59.178.65.172]
    May  4 04:02:04 AAAAA postfix/smtpd[15310]: B2DF28EE52:
      client=unknown[59.178.65.172]
    May  4 04:02:05 AAAAA postfix/cleanup[15957]: B2DF28EE52:
      message-id=<5ae3346a.1c39fb81.53a1a.a...@mx.google.com>
    May  4 04:02:05 AAAAA postfix/qmgr[29522]: B2DF28EE52:
      from=<ai...@my.domain.com>, size=492, nrcpt=2 (queue active)
    May  4 04:02:05 AAAAA postfix/smtpd[15310]: disconnect
      from unknown[59.178.65.172]
    May  4 04:02:07 AAAAA postfix/smtp[15959]: B2DF28EE52:
      to=<gmail.acco...@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024,
      delay=3, delays=0.68/0/0/2.3, dsn=2.0.0, status=sent
      (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 
4B0BC8EE54)
    May  4 04:02:07 AAAAA postfix/smtp[15959]: B2DF28EE52:
      to=<soluti...@my.domain.com>, relay=127.0.0.1[127.0.0.1]:10024,
      delay=3, delays=0.68/0/0/2.3, dsn=2.0.0, status=sent
      (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 
4B0BC8EE54)
    May  4 04:02:07 AAAAA postfix/qmgr[29522]: B2DF28EE52: removed

I don't see any "orig_to=" in the logs, so it seems that this
address was in the original envelope (unless that's a side-effect
of "enable_original_recipient = no" that I'm not familiar with).

Since you have "reject_unauth_destination", one can only conclude that
"gmail.com" matches either some entry in "$virtual_alias_maps" (since you
don't have an explicit empty setting for virtual_alias_domains) or it
matches some entry in "$virtual_mailbox_domains".

Report the output of:

   $ postmap -q gmail.com $(postconf -hx virtual_alias_domains 
virtual_mailbox_domains)

-- 
        Viktor.

Reply via email to