Re: [exim] Force valid sender domain from php

Top Page
Delete this message
Reply to this message
Author: Matthew Byng-Maddick
Date:  
To: exim-users
Subject: Re: [exim] Force valid sender domain from php
On Sat, Jul 08, 2006 at 09:24:09AM +0200, Renaud Allard wrote:
> Of course, with something like that it should work:
>
> acl_check_rcpt:
>
>         accept
>         hosts           = :
>         endpass
>         message         = Sending mails from $sender_address_domain is
> not permitted
>         sender_domains  = +local_domains

>
>         accept
>         authenticated   = *
>         endpass
>         message         = Sending mails from $sender_address_domain is
> not permitted
>         sender_domains  = +local_domains


You'll probably want to do it in the acl referenced by acl_not_smtp, too.

Cheers

MBM

-- 
Matthew Byng-Maddick          <mbm@???>           http://colondot.net/
                      (Please use this address to reply)