Prevent local delivery for unix accounts

2017-09-14 Thread Msd
Hello, Is it possible to prevent local delivery for unix accounts below 1000 (system accounts)? I have read http://www.postfix.org/LOCAL_RECIPIENT_README.html and http://www.postfix.org/postconf.5.html#local_recipient_maps without success. My problem is that spammers trie to deliver mails

Re: Prevent local delivery for unix accounts

2017-09-14 Thread Benny Pedersen
Msd skrev den 2017-09-14 17:52: Is it possible to prevent local delivery for unix accounts below 1000 (system accounts)? yes, remove non desired system accounts from local_recipient_maps, or remove public domains from mydestination, if you still want some public domains to recive mail to

Re: Prevent local delivery for unix accounts

2017-09-14 Thread Matthew McGehrin
:/dev/null -- Matthew Msd wrote: Hello, Is it possible to prevent local delivery for unix accounts below 1000 (system accounts)? I have read http://www.postfix.org/LOCAL_RECIPIENT_README.html and http://www.postfix.org/postconf.5.html#local_recipient_maps without success.

Re: Prevent local delivery for unix accounts

2017-09-14 Thread Msd
Le 14/09/2017 à 18:08, Benny Pedersen a écrit : > remove non desired system accounts from local_recipient_maps My local_recipient_maps has the default value : "proxy:unix:passwd.byname $alias_maps". http://www.postfix.org/postconf.5.html#local_recipient_maps And I don't realy want to create a

Re: Prevent local delivery for unix accounts

2017-09-14 Thread Ralph Seichter
On 14.09.2017 18:59, Msd wrote: > I don't realy want to create a "normal user" whitelist or a "system > user" blacklist because the list will probably change if I install a > new software or I create a new user. Well, that's the nature of things, given that you wrote you don't want to accept mail

Re: Prevent local delivery for unix accounts

2017-09-14 Thread Benny Pedersen
Matthew McGehrin skrev den 2017-09-14 18:57: Just have your /etc/aliases default to /dev/null for system accounts. this is completely incorrect way of solving it MAILER-DAEMON: /dev/null postmaster: /dev/null hostmaster: /dev/null www:/dev/null nobody: /dev/null i

Re: Prevent local delivery for unix accounts

2017-09-14 Thread Benny Pedersen
Msd skrev den 2017-09-14 18:59: remove non desired system accounts from local_recipient_maps My local_recipient_maps has the default value : "proxy:unix:passwd.byname $alias_maps". http://www.postfix.org/postconf.5.html#local_recipient_maps this line accept all system users, and all alias, if

Re: Prevent local delivery for unix accounts

2017-09-14 Thread Phil Stracchino
On 09/14/17 11:52, Msd wrote: > Hello, > > Is it possible to prevent local delivery for unix accounts below 1000 > (system accounts)? > > I have read http://www.postfix.org/LOCAL_RECIPIENT_README.html and > http://www.postfix.org/postconf.5.html#local_recipient_maps wit

Re: Prevent local delivery for unix accounts

2017-09-15 Thread Phil Stracchino
On 09/14/17 22:06, Phil Stracchino wrote: > On 09/14/17 11:52, Msd wrote: >> Hello, >> >> Is it possible to prevent local delivery for unix accounts below 1000 >> (system accounts)? >> >> I have read http://www.postfix.org/LOCAL_RECIPIENT_README.html and &g