Re: [Exim] HELP stopping open relay

Top Pagina
Delete this message
Reply to this message
Auteur: Glenn Carver
Datum:  
Aan: Doug Bean
CC: exim-users
Onderwerp: Re: [Exim] HELP stopping open relay
>Hi,
>I've come across this problem of my mail servers being able to deliver
>any email in inverted commas at my domain eg:
>"anyemailaddress@???
>
>Would anyone have any idea on how I can close this open relay.....


Doug,

I have the following ACL set for acl_smtp_rcpt (exim4 only). It would
stop the relay above by spotting the '@' in the local_part,
regardless of the quotes.

deny local_parts = ^.*[@%!/|]
      message     = Invalid characters in local_part of recipient address



Hope this helps.

Glenn

p.s. what a great domainname!

--

Dr. Glenn Carver, Centre for Atmospheric Science, Univ. of Cambridge,
Chemistry Dept., Lensfield Road, Cambridge, CB2 1EW, UK.

mailto:Glenn.Carver@atm.ch.cam.ac.uk  http://www.atm.ch.cam.ac.uk/~glenn/
Phone: +44 (1223) 763827      ** please note new numbers **
Fax:   +44 (1223) 763823