ako nastavit IMAP?

Dalibor Straka dast na panelnet.cz
Čtvrtek Září 11 10:28:49 CEST 2003


On Mon, Sep 08, 2003 at 06:03:55PM +0200, Petr Balas wrote:
> Marian Belicka wrote:
> 
> > Mam v Mandrake nainstalovany balik imap-2002a-2mdk. Imap server je
> > spusteny no ked nastavim postovy klient aby cital postu z tohto IMAP
> > servra tak mi to vylistuje cely domovsky adresar. Ako nastavim aby mi to
> > vylistovalo vzdy iba obsah ~/mail adresara kde su ulozene ostane
> > priecinky s postou?
> 
> Bohuzel u UW-IMAPu je to nutne nastavit primo v klientovi.
> 
Nedavno tu zaznelo, ze se mailsubdir nastavuje v konfiguracnim souboru 
env-unix.c ;-). 

     Example 1: suppose your mailer delivers mail to file ".mailbox"
in the user's home directory instead of the default UNIX mail spool
directory.  You will want to change routine sysinbox(), changing the
line that reads:
    sprintf (tmp,"%s/%s",MAILSPOOL,myusername ());
to be:
    sprintf (tmp,"%s/.mailbox",myhomedir ());

     Example 2: suppose you want to change c-client's idea of the
user's mailbox directory to be the "mail" subdirectory of the user's
home directory instead of the user's home directory.  You will want to
change variable mailsubdir, changing the line that reads:

static char *mailsubdir = NIL;  /* mail subdirectory name */
 to be:
static char *mailsubdir = "mail";/* mail subdirectory name */


-- Dalibor Straka
PS:Jakze se mailsubdir nastavuje v outlooku, abych nemusel kompilovat?
Prosim pripadne soukrome.


Další informace o konferenci Linux