Re: [EXIM] Sender verify problems

Góra strony
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Dla: John Henders
CC: exim-users
Temat: Re: [EXIM] Sender verify problems
On Sun, 11 Jan 1998, John Henders wrote:

> I'm having problems overriding sender_verify with sender_verify_except_hosts.
> I've got a box that needs to accept mail from users who may not
> necessarily be in the password file, but legitamately can use the box
> name as the return address. I put the box's name in
> sender_verify_except_hosts, but exim still insists on looking for the
> user locally and rejects the mail. Is sender_verify_except_hosts broken
> in this regard?


sender_verify_except_hosts specifies those *remote* hosts for which
no checking of incoming senders is done on messages they send to the
local host. It does not specify domains. If you want to specify a domain
for which no verification is done, you can't do it directly, but you can
easily fudge it by (since this is a local domain) inserting as your
first director something like:

allow_any_verify:
driver = smartuser
domains = domains:for:which:you:want:to:do:this
verify_only
verify_sender

However, if it is easy enough to maintain a list of those local parts
which are not in your passwd file but which are permitted, it would be
more secure to verify them explicitly, using an aliasfile director.

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***