Re: [courier-users] Need to POP for only SOME of the IMAP mail? Any ideas?

2003-03-06 Thread Brian Candler
On Wed, Mar 05, 2003 at 03:22:10PM -0800, Mitch (WebCob) wrote:
 I apologize for the repost, but I didn't see any reply... not sure if my
 questions are too easy, too hard, or not getting out ;-) Thanks.

You cannot pop from anything other than INBOX. Probably the easiest solution
is to set up a second mailbox and forward whichever messages you want to be
poppable into that.


 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Mitch
 (WebCob)
 Sent: Tuesday, March 04, 2003 10:27 PM
 To: [EMAIL PROTECTED]
 Subject: [courier-users] Need to POP for only SOME of the IMAP mail? Any
 ideas?
 
 
 Ideally, I want to be able to configure a user to POP some of their mail...
 First I thought of creating a special folder, and moving the special
 messages there... but how could I set the pop3d to read from a folder - not
 the main inbox?!?!?
 
 I can run a special authd and pop3d if that would help... I am currently
 using the MySQL authd module.
 
 Most of the mail client work is done through IMAP, but for various reasons
 some filtered messages (maildrop) would be preferentially pulled by POP,
 leaving other mail untouched... I'm looking for a simple solution - ideally,
 same username and password, but alter the server config to pull from
 Maildir/popmessages or something similar.
 
 Anyone have any ideas?
 
 Thanks in advance.
 
 m/
 
 
 
 ---
 This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
 for complex code. Debugging C/C++ programs can leave you feeling lost and
 disoriented. TotalView can help you find your way. Available on major UNIX
 and Linux platforms. Try it free. www.etnus.com
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
 
 


---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] Need to POP for only SOME of the IMAP mail? Any ideas?

2003-03-06 Thread Mitch \(WebCob\)
Perhaps I could run a second pop3 daemon customized to pull from a specific
folder?

Would this be a big change? (Adding '/pop3' to the folder path)

Can anyone suggest where I start looking in the code?

thanks

m/

-Original Message-
From: Brian Candler [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 3:47 AM
To: Mitch (WebCob)
Cc: [EMAIL PROTECTED]
Subject: Re: [courier-users] Need to POP for only SOME of the IMAP mail?
Any ideas?


On Wed, Mar 05, 2003 at 03:22:10PM -0800, Mitch (WebCob) wrote:
 I apologize for the repost, but I didn't see any reply... not sure if my
 questions are too easy, too hard, or not getting out ;-) Thanks.

You cannot pop from anything other than INBOX. Probably the easiest solution
is to set up a second mailbox and forward whichever messages you want to be
poppable into that.



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Mitch
 (WebCob)
 Sent: Tuesday, March 04, 2003 10:27 PM
 To: [EMAIL PROTECTED]
 Subject: [courier-users] Need to POP for only SOME of the IMAP mail? Any
 ideas?


 Ideally, I want to be able to configure a user to POP some of their
mail...
 First I thought of creating a special folder, and moving the special
 messages there... but how could I set the pop3d to read from a folder -
not
 the main inbox?!?!?

 I can run a special authd and pop3d if that would help... I am currently
 using the MySQL authd module.

 Most of the mail client work is done through IMAP, but for various reasons
 some filtered messages (maildrop) would be preferentially pulled by POP,
 leaving other mail untouched... I'm looking for a simple solution -
ideally,
 same username and password, but alter the server config to pull from
 Maildir/popmessages or something similar.

 Anyone have any ideas?

 Thanks in advance.

 m/



 ---
 This SF.net email is sponsored by: Etnus, makers of TotalView, The
debugger
 for complex code. Debugging C/C++ programs can leave you feeling lost and
 disoriented. TotalView can help you find your way. Available on major UNIX
 and Linux platforms. Try it free. www.etnus.com
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users





---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] Need to POP for only SOME of the IMAP mail? Any ideas?

2003-03-06 Thread Mitch \(WebCob\)
Yeah  - but that wouldn't be simple either - because the authentication DB
has to return the correct values for IMAP access.

I figured that in the API for maildir message access there would probably be
a function that retrieved messages or opened a folder which would probably
take Maildir  Folder as parameters. Assuming that pop3d might use such an
API call, then it would simply be a matter of replacing 'INBOX' with
'INBOX/subfolder' or something to that effect.

Thought that if any developers or hackers hung out here they might have a
few pointers on the subject (Sam where art thou?).

Thanks.

m/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brian
Candler
Sent: Thursday, March 06, 2003 11:42 AM
To: Mitch (WebCob)
Cc: [EMAIL PROTECTED]
Subject: Re: [courier-users] Need to POP for only SOME of the IMAP mail?
Any ideas?


On Thu, Mar 06, 2003 at 09:04:10AM -0800, Mitch (WebCob) wrote:
 Perhaps I could run a second pop3 daemon customized to pull from a
specific
 folder?

 Would this be a big change? (Adding '/pop3' to the folder path)

It's not that simple, because a folder is not in itself a Maildir. In
particular, this would break quotas.

If it were that simple, you could just return the appropriate path to the
Maildir from your authentication database.

Regards,

Brian.


 Can anyone suggest where I start looking in the code?

 thanks

 m/

 -Original Message-
 From: Brian Candler [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 06, 2003 3:47 AM
 To: Mitch (WebCob)
 Cc: [EMAIL PROTECTED]
 Subject: Re: [courier-users] Need to POP for only SOME of the IMAP mail?
 Any ideas?


 On Wed, Mar 05, 2003 at 03:22:10PM -0800, Mitch (WebCob) wrote:
  I apologize for the repost, but I didn't see any reply... not sure if my
  questions are too easy, too hard, or not getting out ;-) Thanks.

 You cannot pop from anything other than INBOX. Probably the easiest
solution
 is to set up a second mailbox and forward whichever messages you want to
be
 poppable into that.


 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Mitch
  (WebCob)
  Sent: Tuesday, March 04, 2003 10:27 PM
  To: [EMAIL PROTECTED]
  Subject: [courier-users] Need to POP for only SOME of the IMAP mail? Any
  ideas?
 
 
  Ideally, I want to be able to configure a user to POP some of their
 mail...
  First I thought of creating a special folder, and moving the special
  messages there... but how could I set the pop3d to read from a folder -
 not
  the main inbox?!?!?
 
  I can run a special authd and pop3d if that would help... I am
currently
  using the MySQL authd module.
 
  Most of the mail client work is done through IMAP, but for various
reasons
  some filtered messages (maildrop) would be preferentially pulled by POP,
  leaving other mail untouched... I'm looking for a simple solution -
 ideally,
  same username and password, but alter the server config to pull from
  Maildir/popmessages or something similar.
 
  Anyone have any ideas?
 
  Thanks in advance.
 
  m/
 
 
 
  ---
  This SF.net email is sponsored by: Etnus, makers of TotalView, The
 debugger
  for complex code. Debugging C/C++ programs can leave you feeling lost
and
  disoriented. TotalView can help you find your way. Available on major
UNIX
  and Linux platforms. Try it free. www.etnus.com
  ___
  courier-users mailing list
  [EMAIL PROTECTED]
  Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
 
 




---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Need to POP for only SOME of the IMAP mail?Any ideas?

2003-03-06 Thread Kurt Bigler
on 3/6/03 11:41 AM, Brian Candler [EMAIL PROTECTED] wrote:

 On Thu, Mar 06, 2003 at 09:04:10AM -0800, Mitch (WebCob) wrote:
 Perhaps I could run a second pop3 daemon customized to pull from a specific
 folder?
 
 Would this be a big change? (Adding '/pop3' to the folder path)
 
 It's not that simple, because a folder is not in itself a Maildir. In
 particular, this would break quotas.

Quotas aside, is it strictly impossible for Maildirs to be nested?  I've
wondered the same thing for similar reasons - wanted to create a spam
subfolder that could be accessed via a separate pop account, possibly by
using a hyphenated suffix on the main account.

Potential IMAP access would also be desirable and I have to admit I
currently know nothing about how IMAP handles subfolders in relation to the
Maildir structure - because I have not installed IMAP yet (which is one of
the reasons I am lurking here).

But I figured off-hand that a Maildir could be directly inside another
Maildir (not inside of cur or new) without breaking anything much.

Isn't it just a question of whether the admin tools used to create/maintain
the overall directory structure of the Maildirs can handle it?  (Not that
that isn't a big requirement - but it might then just be a matter of working
out the details.)  And then of course, whatever IMAP issues I may be unaware
of.

-Kurt Bigler

 
 If it were that simple, you could just return the appropriate path to the
 Maildir from your authentication database.
 
 Regards,
 
 Brian.
 
 
 Can anyone suggest where I start looking in the code?
 
 thanks
 
 m/
 
 -Original Message-
 From: Brian Candler [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 06, 2003 3:47 AM
 To: Mitch (WebCob)
 Cc: [EMAIL PROTECTED]
 Subject: Re: [courier-users] Need to POP for only SOME of the IMAP mail?
 Any ideas?
 
 
 On Wed, Mar 05, 2003 at 03:22:10PM -0800, Mitch (WebCob) wrote:
 I apologize for the repost, but I didn't see any reply... not sure if my
 questions are too easy, too hard, or not getting out ;-) Thanks.
 
 You cannot pop from anything other than INBOX. Probably the easiest solution
 is to set up a second mailbox and forward whichever messages you want to be
 poppable into that.
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Mitch
 (WebCob)
 Sent: Tuesday, March 04, 2003 10:27 PM
 To: [EMAIL PROTECTED]
 Subject: [courier-users] Need to POP for only SOME of the IMAP mail? Any
 ideas?
 
 
 Ideally, I want to be able to configure a user to POP some of their
 mail...
 First I thought of creating a special folder, and moving the special
 messages there... but how could I set the pop3d to read from a folder -
 not
 the main inbox?!?!?
 
 I can run a special authd and pop3d if that would help... I am currently
 using the MySQL authd module.
 
 Most of the mail client work is done through IMAP, but for various reasons
 some filtered messages (maildrop) would be preferentially pulled by POP,
 leaving other mail untouched... I'm looking for a simple solution -
 ideally,
 same username and password, but alter the server config to pull from
 Maildir/popmessages or something similar.
 
 Anyone have any ideas?
 
 Thanks in advance.
 
 m/
 
 
 
 ---
 This SF.net email is sponsored by: Etnus, makers of TotalView, The
 debugger
 for complex code. Debugging C/C++ programs can leave you feeling lost and
 disoriented. TotalView can help you find your way. Available on major UNIX
 and Linux platforms. Try it free. www.etnus.com
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
 
 
 
 
 
 
 ---
 This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
 for complex code. Debugging C/C++ programs can leave you feeling lost and
 disoriented. TotalView can help you find your way. Available on major UNIX
 and Linux platforms. Try it free. www.etnus.com
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
 



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] Need to POP for only SOME of the IMAP mail? Any ideas?

2003-03-06 Thread Keith Mastin

 Yeah  - but that wouldn't be simple either - because the authentication
 DB has to return the correct values for IMAP access.

 I figured that in the API for maildir message access there would
 probably be a function that retrieved messages or opened a folder which
 would probably take Maildir  Folder as parameters. Assuming that pop3d
 might use such an API call, then it would simply be a matter of
 replacing 'INBOX' with 'INBOX/subfolder' or something to that effect.

 Thought that if any developers or hackers hung out here they might have
 a few pointers on the subject (Sam where art thou?).

 Thanks.

That might not be neccessary with a little imagination. Set up procmail to
deliver the mail to subfolders of INBOX, leaving only the mail to download
via pop3 in the INBOX. Then login and download away with pop3


-- 
Keith Mastin
BeechTree Information Technology Services Inc.
Toronto, Canada
(416)696-6070




---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] Need to POP for only SOME of the IMAP mail?Any ideas?

2003-03-06 Thread Mitch \(WebCob\)
Hacking the pop server prooved effective for me... not that I'm endorsing it
or claiming it's problem free yet. Pretty simple though if you look at the
code. Which I should have waded through before asking I guess **insert
sheepish grin here**

I now have a second pop3d, running on an alternate port, that uses a
specific subfolder as it's source. If I got REALLY adventurous I might try
removing this folder from the visible list of IMAP folders, but I'll save
that for another day.

thanks.

m/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kurt
Bigler
Sent: Thursday, March 06, 2003 1:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [courier-users] Need to POP for only SOME of the IMAP
mail?Any ideas?


on 3/6/03 11:41 AM, Brian Candler [EMAIL PROTECTED] wrote:

 On Thu, Mar 06, 2003 at 09:04:10AM -0800, Mitch (WebCob) wrote:
 Perhaps I could run a second pop3 daemon customized to pull from a
specific
 folder?

 Would this be a big change? (Adding '/pop3' to the folder path)

 It's not that simple, because a folder is not in itself a Maildir. In
 particular, this would break quotas.

Quotas aside, is it strictly impossible for Maildirs to be nested?  I've
wondered the same thing for similar reasons - wanted to create a spam
subfolder that could be accessed via a separate pop account, possibly by
using a hyphenated suffix on the main account.

Potential IMAP access would also be desirable and I have to admit I
currently know nothing about how IMAP handles subfolders in relation to the
Maildir structure - because I have not installed IMAP yet (which is one of
the reasons I am lurking here).

But I figured off-hand that a Maildir could be directly inside another
Maildir (not inside of cur or new) without breaking anything much.

Isn't it just a question of whether the admin tools used to create/maintain
the overall directory structure of the Maildirs can handle it?  (Not that
that isn't a big requirement - but it might then just be a matter of working
out the details.)  And then of course, whatever IMAP issues I may be unaware
of.

-Kurt Bigler


 If it were that simple, you could just return the appropriate path to the
 Maildir from your authentication database.

 Regards,

 Brian.


 Can anyone suggest where I start looking in the code?

 thanks

 m/

 -Original Message-
 From: Brian Candler [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 06, 2003 3:47 AM
 To: Mitch (WebCob)
 Cc: [EMAIL PROTECTED]
 Subject: Re: [courier-users] Need to POP for only SOME of the IMAP mail?
 Any ideas?


 On Wed, Mar 05, 2003 at 03:22:10PM -0800, Mitch (WebCob) wrote:
 I apologize for the repost, but I didn't see any reply... not sure if my
 questions are too easy, too hard, or not getting out ;-) Thanks.

 You cannot pop from anything other than INBOX. Probably the easiest
solution
 is to set up a second mailbox and forward whichever messages you want to
be
 poppable into that.



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Mitch
 (WebCob)
 Sent: Tuesday, March 04, 2003 10:27 PM
 To: [EMAIL PROTECTED]
 Subject: [courier-users] Need to POP for only SOME of the IMAP mail? Any
 ideas?


 Ideally, I want to be able to configure a user to POP some of their
 mail...
 First I thought of creating a special folder, and moving the special
 messages there... but how could I set the pop3d to read from a folder -
 not
 the main inbox?!?!?

 I can run a special authd and pop3d if that would help... I am
currently
 using the MySQL authd module.

 Most of the mail client work is done through IMAP, but for various
reasons
 some filtered messages (maildrop) would be preferentially pulled by POP,
 leaving other mail untouched... I'm looking for a simple solution -
 ideally,
 same username and password, but alter the server config to pull from
 Maildir/popmessages or something similar.

 Anyone have any ideas?

 Thanks in advance.

 m/



 ---
 This SF.net email is sponsored by: Etnus, makers of TotalView, The
 debugger
 for complex code. Debugging C/C++ programs can leave you feeling lost
and
 disoriented. TotalView can help you find your way. Available on major
UNIX
 and Linux platforms. Try it free. www.etnus.com
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users






 ---
 This SF.net email is sponsored by: Etnus, makers of TotalView, The
debugger
 for complex code. Debugging C/C++ programs can leave you feeling lost and
 disoriented. TotalView can help you find your way. Available on major UNIX
 and Linux platforms. Try it free. www.etnus.com
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users





RE: [courier-users] Need to POP for only SOME of the IMAP mail? Any ideas?

2003-03-05 Thread Mitch \(WebCob\)
I apologize for the repost, but I didn't see any reply... not sure if my
questions are too easy, too hard, or not getting out ;-) Thanks.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mitch
(WebCob)
Sent: Tuesday, March 04, 2003 10:27 PM
To: [EMAIL PROTECTED]
Subject: [courier-users] Need to POP for only SOME of the IMAP mail? Any
ideas?


Ideally, I want to be able to configure a user to POP some of their mail...
First I thought of creating a special folder, and moving the special
messages there... but how could I set the pop3d to read from a folder - not
the main inbox?!?!?

I can run a special authd and pop3d if that would help... I am currently
using the MySQL authd module.

Most of the mail client work is done through IMAP, but for various reasons
some filtered messages (maildrop) would be preferentially pulled by POP,
leaving other mail untouched... I'm looking for a simple solution - ideally,
same username and password, but alter the server config to pull from
Maildir/popmessages or something similar.

Anyone have any ideas?

Thanks in advance.

m/



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Need to POP for only SOME of the IMAP mail? Any ideas?

2003-03-04 Thread Mitch \(WebCob\)
Ideally, I want to be able to configure a user to POP some of their mail...
First I thought of creating a special folder, and moving the special
messages there... but how could I set the pop3d to read from a folder - not
the main inbox?!?!?

I can run a special authd and pop3d if that would help... I am currently
using the MySQL authd module.

Most of the mail client work is done through IMAP, but for various reasons
some filtered messages (maildrop) would be preferentially pulled by POP,
leaving other mail untouched... I'm looking for a simple solution - ideally,
same username and password, but alter the server config to pull from
Maildir/popmessages or something similar.

Anyone have any ideas?

Thanks in advance.

m/



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users