[pfx] Re: Postfix not using configured address_verify_sender

Victoriano Giralt via Postfix-users <[email protected]> Wed, 24 Jun 2026 12:05:21 +0200
Newsgroups gmane.mail.postfix.user
Message-ID <[email protected]>
Thanks Viktor!

El 23/6/26 a las 7:32, Viktor Dukhovni via Postfix-users escribió:
> On Thu, Jun 11, 2026 at 05:21:32PM +0200, Victoriano Giralt via Postfix-users wrote:
> 
>> Relevant log line:
>> Jun 11 13:18:46 frontmta postfix/smtpd[1111697]: NOQUEUE:
>>    reject: RCPT from mail.example.net[192.168.0.2]:
>>    550 5.1.1 <[email protected]>:
>>    Recipient address rejected: undeliverable> address:
>>    host backmta.example.com[172.16.3.14] said:
>>    550 5.1.0 <[email protected]>: Sender address rejected:
>>    example.com (in reply to RCPT TO command); from=<[email protected]>
>>    to=<[email protected]> proto=ESMTP helo=<mail.example.net>
> 
> The verification probe sender address is chosen by the "verify" service,
> which uses "address_verify_sender" and "address_verify_sender_ttl" (if
> non-zero) to construct the probe envelope-sender address.
> 
>> [root@frontmta ~]# postconf -n
>> address_verify_sender = [email protected]
> 
> Perhaps you have some master.cf settings that override the above main.cf
> setting (assuming these are from the right Postfix instance).

It was not the case, as seen in the reply that went only to Wietse.

>> masquerade_domains = $mydomain
>> masquerade_exceptions = root, postfix, double-bounce
> 
> The masquerade_domains setting is a form of wildcard rewriting that
> is best avoided.  If necessary, rewrite specific valid addresses to
> alternative valid addresses via a fine-grained canonica_maps table.

I'll suggest the change to the admins.

>> virtual_maps = hash:/etc/postfix/virtual1 hash:/etc/postfix/virtual2
> 
> Best to use "virtual_alias_maps = ..." and to configure any
> "virtual_alias_domains" explicitly in their own setting.

It's most probably some ancient config. I'll suggest the changes 
following your advise.

Thanks again for your time.

-- 
Victoriano Giralt           Retired sysadmin
==================================================================
Note: signature.asc is the electronic signature of present message
A: Yes.
 > Q: Are you sure ?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email ?
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]