Koozali.org: home of the SME Server

Procmail folders

Tim Hogan

Procmail folders
« on: April 03, 2002, 08:01:14 PM »
Does anyone know how to change the default directory location used by procmail.  All of our workstations use Outlook Express to retrieve and send email.  Our workstations are set up to use IMAP folders.  Using the IMAP folders is very handy since mail is left on the server and can be viewed via Webmail when away from the office.  The problem is that Outlook Express looks to a different location for mail folders than Webmail (IMP).  Folder created in Webmail were not accessible from Outlook Express and vice versa.  I was able to solve this by downloading and running a program from myEZserer.com that set up custom templates for IMP that change the default location for mail folders from $home/mail to $home (which is what Outlook Exress uses - and I haven't found a way to change where it looks).  
 
Now comes the problem with procmail.  Procmail insists on mail folders being located in $home/mail.  I have been looking for some way to tell it to use $home but have not met any success.  Any suggestions would be appreciated.  It would be nice to get Outlook Express, Webmail and Procmail to all get along.

stephen noble

Re: Procmail folders
« Reply #1 on: April 04, 2002, 07:07:22 AM »
/etc/e-smith/templates-user/.procmail/one of the first templates

- MAILDIR=$HOME/Mail
+ MAILDIR=$HOME

who would like this as an option ?

regards
stephen noble

Michael Doerner

Re: Procmail folders
« Reply #2 on: April 04, 2002, 03:20:09 PM »
>>
- MAILDIR=$HOME/Mail
+ MAILDIR=$HOME

who would like this as an option ?
<<

We would definitely like this as an option since we find Outlook Express out there quite a lot  ... and as an IMAP mail client it has actually some features that I still miss in other clients like latest Netscape/Mozilla, especially  "check for new messages in all folders" (which I think is important when you want to use procmail intensively).

If you make this as an option, will you also integrate this into your e-smith-procmail rpm? (That would be great!)

Regards,
Michael Doerner

stephen noble

Re: Procmail folders
« Reply #3 on: April 04, 2002, 07:43:46 PM »
>If you make this as an option, will you also integrate this into
>your e-smith-procmail rpm? (That would be great!)

the e-smith-procmail rpm is obsolete
it's now part of the GPL user-manager bundle
it has logrotation, file locking, user cleanup and has more options filtering options
installable in one rpm

yes the imaproot will be an option later
unless you want to commision it sooner
adding features to dungog-backup is taking up my time now

stephen noble
dungog.net/sme

Tim Hogan

Re: Procmail folders
« Reply #4 on: April 05, 2002, 05:45:55 AM »
Thanks for your help.  I think it would be very worthwhile having this as an option since Outlook Express is so widely used.

Tim Hogan

Shad

Re: Procmail folders
« Reply #5 on: April 06, 2002, 04:41:25 AM »
The other option is to configure your Outlook Express client correctly.

If you go to the IMAP properties page of the account properties and enter Mail/ in root folder path then they are all in the same place.

-Shad

stephen noble

Re: Procmail folders
« Reply #6 on: April 06, 2002, 05:09:36 AM »
>If you go to the IMAP properties page of the account properties
>and enter Mail/ in root folder path then they are all in the same place.

are you sure ? doesn't work for me
and i've been reliably informed won't work

stephen

Terry Brummell

Re: Procmail folders
« Reply #7 on: April 06, 2002, 05:58:31 AM »
Adding Mail/ in the properties works fine for me in Outlook 2000.

just my 2 cents

Michael Doerner

Re: Procmail folders
« Reply #8 on: April 06, 2002, 06:33:36 AM »
>If you go to the IMAP properties page of the account properties
>and enter Mail/ in root folder path then they are all in the same place.

Unfortunately that doesn't work for Outlook Express for me and I tried it from different clients. Outlook (not Express) is different again.

Regards,
Michael Doerner

Tim Hogan

Re: Procmail folders
« Reply #9 on: April 06, 2002, 07:21:18 AM »
I tried changing the setting in Outlook Express to Mail\ before posting the original message.  It did not work for me.

Tim Hogan

stephen noble

Re: Procmail folders
« Reply #10 on: April 07, 2002, 03:54:51 AM »
here is a quick fix for outlook express, more details at

http://www4.tpgi.com.au/users/dungog/sme/howto/procmail.html#imap

Michael Doerner

Re: Procmail folders
« Reply #11 on: April 07, 2002, 04:31:55 AM »
>here is a quick fix for outlook express, more details at

http://www4.tpgi.com.au/users/dungog/sme/howto/procmail.html#imap
<

Stephen,

that's much appreciated ... but you lost me with the naming of the different contributed procmail modules :-(

OK, the e-smith-procmail rpm is obsolete so I replaced/updated it with the (latest?) contrib out of the user manager from Darrell's site where it is called devinfo-mitel-procmail-0.0.3-5.
When I now try to apply your above patch it failes with a dependency to dmc-mitel-procmail ?

What am I doing wrong/missing here? Can you help me please?

Thanks,
Michael

stephen noble

Re: Procmail folders
« Reply #12 on: April 07, 2002, 07:21:56 PM »
>When I now try to apply your above patch it failes with a dependency
> to dmc-mitel- procmail ?

fixed now, dmc very recently changed the rpm name
http://www4.tpgi.com.au/users/dungog/sme/howto/procmail.html#imap

the patch is a single custom template which is reversible by rpm -e ...

stephen

Tim Hogan

Re: Procmail folders
« Reply #13 on: April 08, 2002, 08:25:54 AM »
Thanks for the patch.  I applied it and now have serveral very happy users.

Tim Hogan