On Thu, Feb 26, 2015 at 08:53:43PM -0500, Alex Regan wrote:
> >What does the below report (with the exact address from
> >the unmunged log message):
> >
> > $ sender="[email protected]"
> > $ postmap -q "$sender" hash:/etc/postfix/sender_checks
>
> I had "*@lanyonrs.local OK" in sender_checks and it printed nothing. I
> added the explicit email address and it returns OK.
Nothing in the Postfix documentation promises any special meaning
for "*@domain" keys in indexed tables. If you're going by intuition
and guess-work rather than documentation, you won't get far.
The lookup keys for access tables are documented under:
http://www.postfix.org/access.5.html
To match every address in a domain, just use the domain as the
lookup key:
lanyonrs.local OK
An even better solution is to fix the problem on the sender end,
and use a real sending address.
--
Viktor.