[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Restricting relaying with Exim



Sharninder wrote:

I'm trying to set up Exim on a firewall so that Internet email
comes in through Exim and then is forwarded to my internal email
server (there is no local delivery on the gateway server).  I've
got everything running where mail flows through both ways, but I
need to block email with a forged From header of my internal
network.

sender_reject
sender_verify

Sharninder Singh
National Institute Of Management Calcutta
Building No. 117
Command Hospital Complex
Alipore
Kolkatta

--------------------------------------------------
"Nostalgia isn't what it used to be"



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.

Thanks,

Ken




Reply to: