Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Des Dougan on February 03, 2003, 01:16:37 AM
-
I've just installed Stephen Noble's procmail filter add-in. I noticed that it has created a Mail directory, with sub-folders below this. However, my 5.1.2 server is using Maildir, with folders at the same level. Has there been a change in email organization on the server, and can I configure procmail to use the existing folder set-up?
Thanks,
Des Dougan
-
AFAIK
~/Maildir is your inbox
~/MAIL/folders are your imap folders
since 5.6 imap has worked perfectly
before that you tended to make imap folders all over the place
ymmv
stephen noble
dungog.net/sme
-
Stephen,
Thanks for your reply. My folders are all at the same level as Maildir, perhaps because they were set up by rules from the Windows client (Eudora in my case). If I wanted to retain this configuration, would that be where your root patch would be used, or does it have a different purpose?
Regards,
Des
-
/etc/e-smith/web/functions/userpanel-procmail
The last line of the BEGIN section. I'm no expert on the workings of it, but that fixed it for me on 5.5... This makes the dropdown folder box work, and puts them in the home folder. I do have the imap-root-patch installed, and I may have tweaked the templates to get the variables pointing at the right place (been a while since I did that part).
BEGIN
{
# Clear PATH and related environment variables so that calls to
# external programs do not cause results to be tainted. See
# "perlsec" manual page for details.
$ENV {'PATH'} = '/bin:/usr/bin';
$ENV {'SHELL'} = '/bin/bash';
delete @ENV {qw(IFS CDPATH ENV BASH_ENV)};
$courier = -x "/usr/lib/courier-imap/bin/imapd";
# $MaildirPath = $courier ? "Maildir" : "Mail";
$MaildirPath = $courier ? "Maildir" : "";
}
-
Bill,
Thanks. I will take a look at it.
Des