On Tue, 25 Jun 2002, Robert Lister wrote:
> > The following bit of smtp_rcpt ACL would do the trick, substituting your
> > actual data (possibly with file lookups/etc, as needed) in the correct
> > formats. Note this cant look at the "From:" header, only the envelope
> > sender address..
> >
> >
> > deny senders = yourdomain.com
> > recipients = selected@list_address.com
> > !hosts = your_internal_IP's
> > message = Forged mail not permitted
> >
>
> Is this exim 4? We're on exim 3.34/3.36 right now. (Not quite ready to
> upgrade and make that leap yet, but soon hopefully.)
Ohyeah.. Hrm
Use a smartuser director.
foo:
driver = smartuser
domains = the domain of your list addresses
local_parts = the local part(s) of the list addresses
senders = *@your_domain
condition = (a suitable condition using $sender_host_address and ending up with "no" if its from one of your IP's)
fail_verify
new_address = :fail:
>
> I was after somebody that's done similar with an exim 3.x filter.
>
> (But I will keep this handy for when wI do have exim 4.x)
>
>
> Rob
>
>
>
--