> You could try something like this:
>
> deny
> authenticated = *
> !senders = $authenticated_id
> message = Aliases not allowed
>
> However, a problem with Outlook is that when it receives a
> "deny", instead of reporting the error message from the MTA
> it just tries to send the email again from any other accounts
> it can find, until it succeeds in sending the email. If
> anyone knows how to stop it doing that, I'd appreciate
> hearing the solution.
>
Just realized that if you put the test in the MAIL_FROM ACL, rather than
RCPT, Outlook reports the error properly and gives up.
- Mark