Re: Restricting relaying with Exim
>>
>>
> Ok, I'm either dense, or I've been staring at this too long. If
> I set 'sender_verify = true', how can I set 'sender_reject' so
> that From headers from only outside the local domain are
> rejected? I want to relay 'example.com' email coming out from
> the local network, but prevent email with forged From headers
> containing 'example.com' coming from the Internet and being
> relayed. There are no local accounts on the gateway, everything
> is relayed.
>
i don't know if i've understood your problem correctly but i think
you need to take a look at the qualify_domain, host_accept_relay,
host_lookup options. Put your domain name in qualify_domain, and
your network address in host_accept_relay .. something like
192.168.1.0/24and host_lookup = *
Sharninder Singh
National Institute Of Management Calcutta
Building No. 117
Command Hospital Complex
Alipore
Kolkatta
--------------------------------------------------
"Nostalgia isn't what it used to be"
Reply to: