Alexandre Ellert:
> Hello,
>
> I often use sender_bcc_maps to audit suspicious account and it works great.
> Today, I need to have a look at email sent by null sender <>
>
> Here is my relevant configuration :
>
> # grep sender_bcc_maps /etc/postfix/main.cf
> sender_bcc_maps = regexp:/etc/postfix/sender_bcc_maps
>
> # cat /etc/postfix/sender_bcc_maps
> # This one usually works fine
> #/^[email protected] <mailto:[email protected]>$/
> [email protected]
> /^$/ [email protected]
> /<>/ audit@example.
> <mailto:[email protected]>org
Postfix does not make queries with empty strings because some
software can't handle it. You can't use /^$/ patterns for any
Postfix lookup table.
As documented, sender_bcc_maps does not map null query keys to <>.
You can't use <> patterns in sender_bcc_maps.
Use check_sender_access instead. As documented, it maps null query
keys to <>.
Wietse