marcinek wrote:ok , here is new lino of acl`s for rw lib :
/var/spool/postfix/lib rwxi
but ....
ug 26 10:49:05 postfix/qmgr[30510]: C928EF2F3: from=<root@intercaffe.metronet.pl>, size=314, nrcpt=1 (queue active)
Aug 26 10:49:05 postfix/smtp[20199]: fatal: unknown service: smtp/tcp
Aug 26 10:49:06 postfix/qmgr[30510]: warning: premature end-of-input from private/smtp socket while reading input attribute name
Aug 26 10:49:06 postfix/qmgr[30510]: warning: private/smtp socket: malformed response
and ..
Here are new errors
Hi Marcinek,
as Brad says:
> ...
> to load, and then fix your ACL for / so that write access is not allowed.
Read it carefully ;-)
It may be helpfull if you post your complete ACL file.
Anyway, this looks like your ACL for postfix is not able to view /etc/services, therefore you get the error of unknown service smtp/tcp.
You should have a rule for / like this:
/ {
...
/etc r
...
}
Even if you don't want this for all, set /etc ro to your postfix ACL.
Also, if you get messages like "grsec: attempt to load writable library ..."
this means, it should _NOT_ have write (w) access to the libraries it uses!
Also +CAP_ALL is not needed. You maybe only want +CAP_NET_BIND_SERVICE.
I am pretty sure the ACL learning stuff will tell you the right things.
ciao, Marc