[linux] postfix & mysql & prava /var/spool/mail/NOVY_USER

Peter Mann Peter.Mann na tuke.sk
Pátek Leden 11 07:07:33 CET 2002


On Tue, Jan 08, 2002 at 04:53:03PM +0100, Vasko Miroslav wrote:
> podarilo sa nam rozbehat kombinaciu postfix + virtual + mysql
> nepouzivame ale mapy uid a gid
> 
> da sa povedat postfixu, nech pri vytvarani noveho suboru
> /var/spool/mail/NOVY_USER
> pouzil nejake rozumne prava a nie 0600 a uid:gid 535:mail ?

aj ked si myslim, ze postfix dorucuje rozumne,
mozno pomoze default_privs v konfiguracii postfixu

pozri si este: man 8 local a sekciu MAIL DELIVERY

Mailbox delivery can be delegated to an external command
specified with the  mailbox_command  configuration  parameter.
The  command  executes  with  the privileges of the recipient
user (exception: in case of delivery as root, the command
executes with the privileges of default_privs).

pripadne skus nastavit home_mailbox=Maildir/ a dorucovat postu do
domacich adresarov do maildir formatu

> tym padom sa nam tam nedostane qpopper :(

a co nastavenie qpopper-a?

-- 

5o   Peter.Mann at tuke.sk
     KLFMANiK ICQ 12491471
         PM2185-RIPE




Další informace o konferenci linux