

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier Help| From | Sent On | Attachments |
|---|---|---|
| mjsherman | Apr 22, 2005 1:21 pm | |
| Bowie Bailey | Apr 22, 2005 1:26 pm | |
| Bowie Bailey | Apr 22, 2005 1:46 pm | |
| mjsherman | Apr 22, 2005 1:50 pm | |
| Bowie Bailey | Apr 22, 2005 2:07 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [courier-users] Courier Help | Actions... |
|---|---|---|
| From: | mjsherman (mjsh...@chartermi.net) | |
| Date: | Apr 22, 2005 1:50:51 pm | |
| List: | net.sourceforge.lists.courier-users | |
Sorry about the reply. Doesn't seem like it would be a tough mod to make courier-mta use "maildirmake .maildir" instead of whatever it uses for mbox creation... And then have a config option for which method to use... Surprised no ones done that yet... And I assume if it hasn't been done, me offering to look into the source isn't going to do it =P
Bowie Bailey wrote:
From: mjsherman [mailto:mjsh...@chartermi.net]
Bowie Bailey wrote:
From: mjsherman [mailto:mjsh...@chartermi.net]
Sorry for being the new guy, but I didn't see any forums anyplace for this kinda stuff. I'm running Gentoo, learning to setup an email server. I got courier installed and running for the most part (using MySQL auth) SMTP delivers mail to the right locations (virual user boxes), however, it makes .maildir as a file, not a directory... Which causes problems later.
Heres an example: I make dir: /home/mail/domain/user if I mkdir ./.maildir the SMTP fails to deliver however, if I don't create the maildir, courier creates it for me (not a directory), a
file
called .maildir with -rw------- perms.
You need to create the maildir with the maildirmake command.
maildirmake .maildir
Courier will deliver to maildirs if they exist. Otherwise, it will
create
an mbox.
Well theres the problem =P Is there any way to have courier auto-make a maildir instead of mbox?
(seems
like an appropriate feature)
Please keep list replies on the list...
Unfortunately, Courier will not autocreate maildirs.
If you are using Maildrop, you can add a check in the maildroprc or .mailfilter to create the directory if it is not there. Quite a few people don't like this idea since that check has to run for every email delivered. If you've got a high-volume server, these checks can add up to a significant slowdown.
A better idea would be to add a maildir structure to /etc/skel or find some other way to have the maildir automatically created when you add the user.
You can also use a delivery line like this:
to "./.maildir/"
This will not create the directory, but it will cause delivery to fail and keep the messages in the queue rather than creating an mbox. That way, when you notice the mail backing up, you can create the maildir and the messages will be delivered on the next attempt.
Bowie
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________ courier-users mailing list cour...@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users







