On 7/4/2013 7:44 PM, W T Riker wrote: > On 7/4/2013 8:36 PM, Wietse Venema wrote: >> W T Riker: >>> On 7/4/2013 8:01 PM, Wietse Venema wrote: >>>> gw1500: >>>>> It is not clear from the documentation if this is possible or how to do >>>>> it but I want to make authentication optional but if a user does >>>>> authenticate then I want to permit relaying. Can someone help? >>>> This is how permit_sasl_authenticated works. >>>> >>>> http://www.postfix.org/SASL_README.html#server_sasl_authz >>> Thanks for the reply. I already have that much working. Where I am stuck >>> is permitting relaying from authenticated users regardless of host while >>> prohibiting everything else. >> I answered the question how "to make authentication optional". >> >> Perhaps someone else can figure out what you mean with "permitting >> relaying from authenticated users while prohibiting everything else" >> when only seconds ago you asked how "to make authentication optional". >> >> Wietse >> > Sorry that I was not clear. With this configuration, will any > non-authenticated client still be able to deliver mail to a local > recipient but not be permitted to relay email to non-local recipients? >
That's the usual way for it to work, but we don't really know what you mean by "this configuration". For a definite answer, we would need to see your "postconf -n" settings. -- Noel Jones