Re: [nottingham] Re: your mail

From: Matthew Sackman (matthew@sackman.co.uk)
Date: Sun 20 Jan 2002 - 08:40:13 GMT


On Sun, Jan 20, 2002 at 01:23:21AM +0000, Guangyue Liu wrote:
> Hi guys,
>
> Thanks for all the useful replies.
>
> Erm... but I don't really have the maildirmake command anywhere in my
> system. Apparently it comes with qmail or courier-imap (is it?) So I am
> thinking to put them on once the exams are finished. But in the mean
> time I'll try to find out if i can compile maildirmake seperately (its
> gonna be quite a task for me!) and get the IMAP thing working (yes Jon,
> I want IMAP with it).
>
> hmm... good night

It really should be available as a seperate package for you. You can create
maildirs yourself if you want, it's a matthew of creating a directory, and
then within that dir creating dirs called "cur", "new" and "tmp".

Each sub folder must start with a . and sub-sub folders are always built in
the top directory: eg within ~/Mail you'd have .linux as a dir and also
.linux.notts_lug which would appear as a sub folder. Each of these would be
dirs with their own tmp new and cur sub directories (actually within the
directory).

HTH,

Matthew

>
> Guy
>
>
>
>
>
> Matthew Sackman wrote:
>
> > On Fri, Jan 18, 2002 at 04:57:46PM +0000, Jon Masters wrote:
> >
> >> On Fri, 18 Jan 2002 gxl00u@Cs.Nott.AC.UK wrote:
> >>
> >>> I am having a problem with configuring Postfix.
> >>
> >> Maildir format is what you're after yes, did you want IMAP with that?
> >>
> >> As for config options, 'fraid I'm not a postfix expert (I handle exim and
> >> sendmail atm) however I'll take a look if nobody else comes up with the
> >> answer.
> >
> >
> > I've used postfix for a while now on a few machines. I used to use maildirs
> > with courier-imap but switched to uw-imapd and mbox format a few months ago
> > because the maildir was just too slow over imap (large folders with 2000+
> > messages). It would be interesting to see if the recent optimisations for
> > ext3 for small but numerous files have improved things...
> >
> > Anyway, postfix will use procmail by default, which will happily deliver to
> > maildirs. Therefore, you first need to create your maildir (using the
> > maildirmake command) and then manually create subfolders - note to read the
> > man page on this because making sub folders is not as simple as you think -
> > it's not a matter of cd into the mail dir and then a new maildirmake command
> > - IIRC, you do maildirmake -f mail.subfolder (but check the man page).
> >
> > Postfix also seems to like maildrop which is much the same as procmail but
> > slightly easier syntax. You need to include in your ~/.forward the line:
> >
> > "| maildrop -d matthew "
> >
> > (including the quotes and replace matthew with username). Then set up
> > ~/.mailfilter as per man page and you're in business - it's happy delivering
> > to maildirs as well as mbox.
> >
> > I'm not really sure why postfix likes maildrop - it's just a requirement in
> > the dependancies in debian. I wouldn't have thought that it would be if it
> > was just an optional replacement for procmail...
> >
> > If things don't work then keep checking the queue (mailq) as maildrop gives
> > useful diagnosis info there as to why the email can't be delivered. It normally
> > boils down to an error in ~/.mailfilter or a permissions error. Note that
> > mailq -f works to try to redeliver the queue, but many other sendmail-esq
> > varients are not implemented.
> >
> > HTH,
> >
> > Matthew
> >
>
> --------------------------------------------------------------------
> http://www.lug.org.uk http://www.linuxportal.co.uk
> http://www.linuxjob.co.uk http://www.linuxshop.co.uk
> --------------------------------------------------------------------
>

-- 

Matthew Sackman Nottingham England

BOFH Excuse Board: Incorrectly configured static routes on the corerouters. -------------------------------------------------------------------- http://www.lug.org.uk http://www.linuxportal.co.uk http://www.linuxjob.co.uk http://www.linuxshop.co.uk --------------------------------------------------------------------



This archive was generated by hypermail 2.1.3 : Sun 20 Jan 2002 - 08:40:40 GMT