Sthu Pous a écrit : > Good day. > > Could You please, explain me how it is possible for the users from local net > to > send mail if we have in main.cf: >
always use 'postconf -n' to see the value of parameters. main.cf may contain duplicate definitions or typos. > mynetworks = 127.0.0.0/8 > > ? > you are new to this list, so please accept some friendly advice (this is to help you get the most out of this list): - always provide full details: what happens, what you want, ... and here, prefer clarity over anything else (people may understand terms differently, so try to express your problem in a way as to maximize understanding, "possibly at the expense of anything else" ;-p). - show relevant postfix logs ("normal" logging. only show verbose logging after you've been asked). - show your config (at start, 'postconf -n' output. then if asked, master.cf). while it may be clear for you that "users should not send mail", this is not clear to us. indeed, in almost all setups, - anyone can send mail to your domains - anyone can send mail anywhere using the sendmail command - anyone can do anything using $random software. in short, there is no evidence that your users are using postfix. said otherwise, nothing in your mail tells us that users are posting via postfix. postfix logs are needed. > And moreover, how I can reduce the mail sending only for the users (their IPs > and authorization) so that at the same time the users could get their emails > from outside world? > what do you really mean here? sending mail and receiving mail (in the sense: mail is delivered to their mailbox) and reading mail are three (3) different things. it may be easier for you to specify - who should send mail (under what conditions) - who should receive mail (under which conditions)