Jim Lang writes:

> Subject: Re: [courier-users] maildrop 2.04 vs 2.5.0 and Maildir problem
> From: Sam Varshavchik <[email protected]>
>

> maildrop never creates maildirs. In order for maildrop to deliver to a
> maildir, it must exist already. If you do not create a maildir,
> maildrop will create an mbox file.

The maildirs are there, they are created with a file called maildirmake,
which is from courier

You wrote, I believe:

# On the new box, instead of mail being delivered to the user in Maildir
# format, it is all being deposited in a Mbox file
# called Maildir in the 'home' directory.   This has to be some simple
# misconfiguration but I sure can't figure out what do
# do.

If the $HOME/Maildir exists as a maildir, it's not possible to create a file also named $HOME/Maildir. Either the maildir is there, or it's not there. If it's not there, maildrop creates an mbox file. If it's there, maildrop will deliver to it.

Perhaps what you're asking is that new accounts that you're creating do not get created with a $HOME/Maildir, so when maildrop starts to get mail for it, it gets created as an mbox files. On most Linux distributions – don't know if this is also true for Debian – /etc/skel is a template that gets copied when creating a new account. Courier's rpm package installs a /etc/skel/Maildir, and all new accounts get it created automatically.

> If you had a customized/patched version of maildrop that did something
> else, you'll have to retrace your steps and rebuild your custom
> version of maildrop.


It is the debian package version, the other, working box, also used the
debian package for that distribution... so all I did was type   'apt-get
install courier-maildrop'  ... so I guess I have to track down the
authors of that package and talk to them?

Or, look at the entire package. See if there are any READMEs in there, or other form of documentation that explains how maildrop is configured, by default.

I am just trying to get maildrop to deliver mail.   Do you have any
advice for how I can do that?  Should I install it from source instead
so that I can customize it in the way you say I need to do? Should I
just use a different MDA?

You should try researching your maildrop package first. If you can figure out how it's set up, without wasting a lot of time, you may find this to be the path of least resistance.

Next, you can always try building maildrop yourself. You may find it somewhat overwhelming. It's not the easiest package to build. More specifically, the actual build part is very easy, but there are a lot of things to configure, and it may not be easy to figure out what needs to be set, and how, for best interoperability results for your distribution.

You can always use a different MDA, but if you're trying, as I understand from your first message, to run maildrop's mail filtering recipes, I don't know of anything else that can read and process maildrop's mailfilters. If you switch to a different MDA, you'll have to redo everything you've done for your mailfilters, with your new MDA.



Thanks for your response.
Jim

>
> > Maildrop also doesn't seem to know to 'use' the Maildir format, instead
> > it's thinking Maildir is the mailbox even though I
> > have home_mailbox = Maildir/ in my postfix config file..
>
> maildrop doesn't know anything what you put in a postfix configuration
> file.
>
> You always must precreate a maildir, before maildrop can deliver to it.
>
>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Attachment: pgpC3TIj1y3aZ.pgp
Description: PGP signature

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to