lør, 15.05.2004 kl. 01.20 skrev Michael McNeil:
I'm using Courier-IMAP with Postfix-2.0.16 for virtual mail. I'm also
using maildrop with LDAP support compiled in. I've patched Postfix
with the VDA quota patch that will bounce messages back to the sender
if the recipients mailbox is over quota. This portion works
flawlessly, however, it only notifies the sender not the recipient. I
need to be able to notify my IMAP users when they have reached 90% of
their quota. It is my understanding, after reading the man pages,
that both maildrop and deliverquota can do this. The problem I'm
having is that even after putting quotawarnmsg in /etc, /etc/mail,
/usr/libexec/courier-imap/etc, the IMAP user NEVER receives the
warning message. I've tried playing around with the mailbox_command
parameter in Postfix, but still no luck. I really need to get this
going to complete a long overdue project. If anyone can help, PLEASE
PLEASE do.
Postfix 2.1, ldap-aware maildrop 1.6.3, Courier 3.0.1, Openldap 2.2.11.
All you want works fine for me.
I don't have that VDA patch. quotawarnmsg is in
/usr/lib/courier-imap/etc/. It's maildrop that should and does give the
recipient the quota warning message, not the VDA patch. Incidentally,
the recipient first gets *warnings*, long before his mailbox is full and
mail starts getting bounced. If maildrop doesn't accept the mail,
Postfix will automatically bounce the mail back to the sender, so that
way you achieve what you want. You obviously have to set quotas in the
user's LDAP record - use couriermailaccount for that.
Recompile Postfix without that VDA patch.
--Tonni
--
We make out of the quarrel with others rhetoric
but out of the quarrel with ourselves, poetry.
mail: billy - at - billy.demon.nl
http://www.billy.demon.nl