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