Nefunguje maildrop

Marian Cavojsky cavojsky na soria-grey.sk
Středa Březen 5 07:26:12 CET 2003


On Wed, Mar 05, 2003 at 01:00:18AM +0100, Petr Švorčík wrote:
> "Peter Mann" <Peter.Mann na tuke.sk> píše v diskusním příspěvku
> news:20030303053405.GA15700 na dot.tuke.sk...
> > On Sat, Mar 01, 2003 at 03:48:16PM +0100, Petr Švorčík wrote:
> > > Zkousel jsem pouzit maildrop k postfixu a fetchmailu a nedari se. Pokud
> > > vytvorim soubor ~/.mailfilter s jakymkoliv obsahem (treba jen s
> komentari),
> > > tak maildrop po spusteni hlasi:
> > >
> > > maildrop: Cannot have world/group permissions on the filter file - for
> your
> > > own good.
> > >
> > > Zkousel jsem bezvysledne menit prava i vlastvika a skupinu souboru.
> >
> > ake su tam prava? ja mam 600
> 
> Prava ~/.mailfilter mam 644 pro sebe i roota. Prava adresaru ~/Maildir jsou
> 700 (ani 777 nepomohlo).
> 
> > > Ve fronte postfixu je jeste jeden typ hlasek zrejme pro roota:
> > > Invalid home directory permissions - world writable.
> >
> > napiste presne pre koho
> 
> Tady je vypis jedne zpravy ve fronte postfixu:
> 
> -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
> 3EEE94F9CE     2150 Mon Mar  3 17:11:25  root na localhost.localdomain
> (temporary failure. Command output: /usr/bin/maildrop: Invalid home
> directory permissions - world writable. )
>                                          postfix na localhost.localdomain
>                                          root na localhost.localdomain

V man maildrop sa pise:
maildrop  also terminates with EX_TEMPFAIL if the user's home directory
has world write permissions.

maildrop immediately terminates with EX_TEMPFAIL if the filename is not
owned  by  the  user, or if it has any group or world permissions. This
includes read permissions.  The permissions  on $HOME/.mailfilter  may
only include read and write privileges to the user.

When  using  the special embedded mode (see below) maildrop immediately
terminates with the exit code set to EX_TEMPFAIL if $HOME/.mailfilters
is  not owned by the user, or if it has any group or world permissions.

Ake mate prava na $HOME, $HOME/.mailfilter?

-- 
Marian Cavojsky <cavojsky @ soria-grey.sk>
Spravca siete, Soria & Grey s.r.o, reklamna agentura



Další informace o konferenci Linux