Le Thu 5/05/2011, punit jain disait > > Wouldn't it be better to leave permit_mynetworks in place and restrict > > > $mynetworks to 127.0.0.0/8 instead? > > > > maybe, but the OP imho want to smtp auth ALL emails > > > > > All *outgoing emails only, from *all users irrespective of whether they > sending to local or non local domains. > > Is there a way to achieve ?
Possible if server for internal users is not the server which receives email. Then with a permit_sasl_authenticated,reject restriction you get this. But you cannot receive mail from outside on this server. -- Erwan