Hi, the easy way: 1. backup your main.cf !!
if your local subnet is 192.168.0.1-254 then set mynetworks = 127.0.0.0/8, [::1]/128, 192.168.0.0/24 and smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination in your main.cf and reload or restart postfix This will allow hosts defined in mynetworks (localhost and your local subnet as above) to send anywhere, while everything else is rejected. Dňa 07.04.2014 19:48 Novák Attila wrote / napísal(a): > I'm using Postfix MTA. > Postfix receives mail from the ASSP on localhost. > >> Hey, >> >> it can be done in your MTA config. Which MTA are you using? >> >> >> Dňa 07.04.2014 18:59 Novak Attila wrote / napísal(a): >>> Hi everyone >>> >>> Our users using smtp authentication to send mail. >>> At times, passwords are released due to infected machines to the >>> Internet. >>> These passwords from external networks to send spam server >>> through. How to configure the following: >>> Allow authentication to send mail only internal network. >>> External networks can not be sent, even if you write the correct >>> authentication. >>> Sorry for my bad english. >>> >>> Thanks, >>> Attila >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> Put Bad Developers to Shame >>> Dominate Development with Jenkins Continuous Integration >>> Continuously Automate Build, Test & Deployment >>> Start a new project now. Try Jenkins in the cloud. >>> http://p.sf.net/sfu/13600_Cloudbees >>> _______________________________________________ >>> Assp-user mailing list >>> Assp-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/assp-user > ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Assp-user mailing list Assp-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-user