On Fri, May 3, 2013 at 3:25 PM, Sergio Mira <shbm...@gmail.com> wrote:
> Hello, > > I started a mail server where I manipulate incoming messages through a > script. > This is 100% working. > > But my "backend" (postfix configuration) is very basic. > > I am now implementing basic security, trying to understand how postfix > works and everything. > > First of all, I am trying to reject messages to users that I have created, > not to root/apache/mysql or something only for the system. > I am trying to ACCEPT. Sorry! > I tried to configure aliases. It works, but does not reject system users. > > Then I tried to configure access file, rejecting messages to > root/apache/mysql. It worked well, but I am not sure about this is the > better way. Even because I dont know if add users to a "unauthorized > users" is better than add "authorized users". > > Is there a way to create a list with authorized users to receive emails > and all the others -- in the /etc/passwd -- dont? > > Thanks! > > -- > > Regards, > || -------------------------------------------- > || Sergio Henrique Bento de Mira > || _ BSc of Computer Science (in progress) > || °v° Federal University Of Lavras (UFLA) > || /(_)\ > || ^ ^ sergiohbm...@computacao.ufla.br > || http://graduacao.dcc.ufla.br/~shbm95 > || --------------------------------------------- > || Linux User #497558 > || "Use Linux and be free." > > -- Regards, || -------------------------------------------- || Sergio Henrique Bento de Mira || _ BSc of Computer Science (in progress) || °v° Federal University Of Lavras (UFLA) || /(_)\ || ^ ^ sergiohbm...@computacao.ufla.br || http://graduacao.dcc.ufla.br/~shbm95 || --------------------------------------------- || Linux User #497558 || "Use Linux and be free."