On Thursday, December 11, 2008 at 19:25 CET,
     mouss <mo...@netoyen.net> wrote:

> smtpd_sender_restrictions =
>       check_sender_access hash:/etc/postfix/mysenders
>       reject_unauth_destination
>       ...
> 
> 
> == mysenders:
> example.com   OK
> 
> Note that this works for the envelope sender, not the From: or
> reply-To: headers.

This method of course assumes that the webmail application submits
messages via SMTP and not sendmail(1). From what the OP has written
so far this is not necessarily the case.

-- 
Magnus Bäck
mag...@dsek.lth.se

Reply via email to