On Thu, Jan 11, 2024 at 02:08:28PM +0100, natan via Postfix-users wrote: > I need a mapping every single email to the same one in pcre for > sender_login_maps.cf for > > reject_sender_login_mismatch > ... > smtpd_sender_login_maps = pcre:/etc/postfix/sender_login_maps.cf > ... > > Yes, I can use an existing map - I have such a map for outgoing e-mails > But I need a thisĀ "wildcard" for my MX that only works for incoming mail > something like .*@.* -> *.@.* > > I just don't want stupid bots to try to play...
It is not clear to me what question, if any, you're asking. With Postfix >= 3.7, a PCRE identity mapping requires no additional table files: smtpd_sender_login_maps = pcre:{{/(.*)/ $${1}}} with earlier releases the requisite file consists of: /(.*)/ ${1} -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org