[courier-users] Re: IMAP outbox/sent mail folders

2004-07-30 Thread m
Sam Varshavchik writes: 

Warren Konkel writes: 


 I read somewhere that there's a setting somewhere in
the imap config file that will turn on auto-sending of anything placed
in the Outbox, but will courier then move it to a Sent Items box
when it's done or something?
No.
Although the Outbox is a great feature, you can do a lot yourself using 
cronjobs. It takes some thinking to get it right, but once it works, it 
works great. One can implement an outbox this way that does move the item to 
sent items. 

I use this myself to process the occasionally misidentified spam or ham. By 
placing it in the right folder, a cronjob picks it up, feeds it through 
spamassassin, if spam sends it to spamcop, and files the message in the 
appropriate folder. 

This is very easy to do when one user is involved. When multiple users are 
involved it is actually not that much harder, something like (I have real 
users and virtual domains): 

for d in /home/*/Maildir/.Outbox/cur/ `find /var/vmail \
 -path /var/vmail/*/.Outbox/cur/`
do
 # process outbox
done 

Processing of a mailbox should ofcourse be done in a manner that is 
resilient to multiple invocations of the script, I leave that up to your 
imagination. 

HTH,
M4
--
Courier-mta rocks! 


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMAP outbox/sent mail folders

2004-07-29 Thread Sam Varshavchik
Warren Konkel writes:
What is the proper way to configure an IMAP server's folders?  I'd
like for an IMAP client (such as Outlook) to use Deleted Items,
Drafts, Outbox, and Sent Items as it would normally.  Is this type of
setup possible?
The server doesn't care, the client can use the folders in whatever manner 
it wishes.

 I read somewhere that there's a setting somewhere in
the imap config file that will turn on auto-sending of anything placed
in the Outbox, but will courier then move it to a Sent Items box
when it's done or something?
No.
 I don't quite understand quite how it is
all supposed to work.
There's nothing to understand.  When enabled, any message that's added to 
the designated folder is automatically mailed to all addresses listed in the 
To:, Cc: and Bcc headers.  There's really nothing more to say about it.



pgprgYZGnEcvz.pgp
Description: PGP signature