O.Cook@??? rearranged electrons thusly:
> What would be the format to use an lsearch lookup with
> sender_reject_recipients (and sender_reject)?
Try this ... (shamelessly pinched from the FAQ and various posts on exim-users <g>)
sender_verify_reject = true
sender_reject = @@lsearch*;/usr/exim316/blocked.senders
prohibition_message = "${lookup{$prohibition_reason}lsearch {/usr/exim316/reject.messages}{${expand:$value}}}"
host_reject = lsearch; /usr/exim316/blocked.hosts
blocked.senders is of the format
# specific mailboxes in a domain
aol.com SuccessisGreat:Greatsuccess:Success101:Successisgood
# everything from a domain
mailgate.lifeminders.com *
# specific lhs - admin__ is generated by one of the "remail to
# everyone in address book" type virii (calls itself a microsoft y2k patch)
* admin__
reject.messages
sender_reject: Get Lost - No Spammers Allowed Here|Contact postmaster\@oyeindia\.com
host_accept_relay: Host $sender_fullhost not allowed to relay|through $primary_hostname|Contact postmaster\@oyeindia\.com
blocked.hosts - ips / ip blocks
--suresh
--
Suresh Ramasubramanian <--> mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin