On Monday 09 October 2006 10:47, William Deedes took the opportunity to say:
> Now, I've recently started getting a huge number of spams to arbitrary
> numeric addresses at 'mydomain.com'. I'd like to bounce these from exim,
> rather than getting them sent on to local users. Can I put the regex in
> my virtusertable? ie. something like:
>
> [EMAIL PROTECTED]    local-account-a
> [EMAIL PROTECTED]    local-account-b
> [EMAIL PROTECTED] error:nouser
> @anotherdomain.com  local-account-c

Read about wildlsearch and nwildlsearch in section 9.3 of the specification. 
It should allow you to say, for example (with nwildlsearch):

[EMAIL PROTECTED] :fail:No such user

*However*, you should really prefer only accepting specifically valid 
addresses, rather than accepting everything and trying to block out the spam 
attacks of the day.

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

Attachment: pgp0wWK1M6WqZ.pgp
Description: PGP signature

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to