Don’t forget to allow ‘postmaster’ too as required by the RFC 5321 [1]
"Any system that includes an SMTP server supporting mail relaying or delivery MUST support the reserved mailbox "postmaster" as a case- insensitive local name. " [1]https://tools.ietf.org/html/rfc5321#section-4.5.1 :) -- Merlin Hartley IT Systems Engineer MRC Mitochondrial Biology Unit Cambridge, CB2 0XY United Kingdom > On 17 Feb 2016, at 20:47, <[email protected]> > <[email protected]> wrote: > > Hi all, > > > 1. I want to allow emails from external to internal with a dest > [email protected]<mailto:[email protected]> and > [email protected]<mailto:[email protected]> ONLY. > > 2. I want to allow host listed in relay_from_hosts to use this server to > relay any emails internaly or externaly. > > My smarthost routes : http://pastebin.com/kaMZWDaA > > The first smarthost route work perfectly. > > The second work perfectly too but it allows anyone to use this relay host if > he sends an email with [email protected]<mailto:[email protected]> as > destination adress. > Anyone can give me a clue how tobuild a good acl for that ? > > Thanks you very much for your answer and your time. > > Sébastien > -- > ## List details at https://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/ -- ## List details at https://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/
