I guess so.... invalid recipients currently get screened out via a
perlscript that's run from my .forward file which consults the file I
referred to. I just wanted someway to be able to check that file
_prior_ to the perlscript executing and sometimes due to carelessness
I have a syntax error in the perlscript that then results in lost
mail. so I have added
if $header_to:,$header_cc: contains "robert@???"
then
# logwrite "saving backup header_from $header_from: header_to
$header_to:"
save $home/Maildir/.INBOX.intray.backup/
endif
pipe "$home/perlscripts/filter.pl -runsa"
finish
On Mar 23, 2008, at 5:51 PM, Graeme Fowler wrote:
> Hi
>
> On Sun, 2008-03-23 at 17:21 -0500, Robert Nicholson wrote:
>> In my setup I have a file that contains the valid users for my domain
>> and any mail to any other user than those should be binned
>> immediately.
>
> That would be great... apart from:
>
>> Can anybody tell me how in my .forward (note I only control .forward)
>
> At the point you're checking the .forward file, the message has been
> accepted (as far as I recall). Rejection at this point for an invalid
> sender is seen as back/outscatter and shouldn't, ideally, be done.
>
> Before going on, why are invalid recipients getting to the delivery
> phase? Do you have some form of catchall delivery system?
>
> Graeme
>
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/