[Dovecot] Feature request
Hi,
I am implementig Dovecot as a part of my new e-mail server, which is aimed to be replacement for proprietary software I've been using sofar.
Appreciating all Dovecot rich features, I lack just one. And this is the ability to customize the "quota exceeded, message rejected" message. I know I can set it's default content using quota_exceeded_message parameter, but i would also like to have ability to set:
to whom the message is sent. Some mail systems send copy not only to the sender, but also to the recipient. It makes sense in case rejected message has big size.
it's subject
if the rejected message is being attached ( with or without it's own attachments ) or not
Moreover, I think it would make sense if the "rejected messege" contained information about size of rejected message and current mailbox space usage.
Please, consider this in future development.
with regards and respect to the tremendousness of Dovecot,
--
malloc4k
Am 07.07.2012 16:26, schrieb Malloc Kilobyte:
Appreciating all Dovecot rich features, I lack just one. And this is the ability to customize the "quota exceeded, message rejected" message. I know I can set it's default content using quota_exceeded_message parameter, but i would also like to have ability to set:
to whom the message is sent. Some mail systems send copy not only to the sender, but also to the recipient. It makes sense in case rejected message has big size.
it's subject
if the rejected message is being attached ( with or without it's own attachments ) or not
Moreover, I think it would make sense if the "rejected messege" contained information about size of rejected message and current mailbox space usage.
hmm - dovecot doe snot send any mail so there is not sobject and to whom the message is sen
messages are typically only REJECTED eith status code and status message
the mail itself is based on this jerecht code/message from the delivering MTA
On 07/07/2012 04:35 PM, Reindl Harald wrote:
Am 07.07.2012 16:26, schrieb Malloc Kilobyte:
Appreciating all Dovecot rich features, I lack just one. And this is the ability to customize the "quota exceeded, message rejected" message. I know I can set it's default content using quota_exceeded_message parameter, but i would also like to have ability to set:
to whom the message is sent. Some mail systems send copy not only to the sender, but also to the recipient. It makes sense in case rejected message has big size.
it's subject
if the rejected message is being attached ( with or without it's own attachments ) or not
Moreover, I think it would make sense if the "rejected messege" contained information about size of rejected message and current mailbox space usage.
hmm - dovecot doe snot send any mail so there is not sobject and to whom the message is sen
messages are typically only REJECTED eith status code and status message
the mail itself is based on this jerecht code/message from the delivering MTA
Then the cool feature could be to be able to make the quota plugin call an external script/command which could do whatever the admins wish: Send an email to a backup account, modify a database, set off an alarm, phone the president, slap the user in the face or whatever.
As far as I know that feature could already exist since the idea just popped to me and didn't bother checking the documentation yet. So if it is so, my bad.
Arnaud
-- Arnaud Abélard jabber: arnaud.abelard@univ-nantes.fr / twitter: ArnY Administrateur Système DSI Université de Nantes
On Sat, Jul 7, 2012 at 4:35 PM, Reindl Harald h.reindl@thelounge.netwrote:
Appreciating all Dovecot rich features, I lack just one. And this is the ability to customize the "quota exceeded, message rejected" message. I know I can set it's default content using quota_exceeded_message parameter, but i would also like to have ability to set:
- to whom the message is sent. Some mail systems send copy not only to
Am 07.07.2012 16:26, schrieb Malloc Kilobyte: the
sender, but also to the recipient. It makes sense in case rejected message has big size.
it's subject
if the rejected message is being attached ( with or without it's own attachments ) or not
Moreover, I think it would make sense if the "rejected messege" contained information about size of rejected message and current mailbox space usage.
hmm - dovecot doe snot send any mail so there is not sobject and to whom the message is sen
messages are typically only REJECTED eith status code and status message
the mail itself is based on this jerecht code/message from the delivering MTA
I don't expect Dovecot to handle the delivery. Delivery could be dispatched to MTA, if for example Dovecot let me trigger an outside script in "quota exceeded" situation, passing some information and rejected message. Similar to the way quota warnings are handled.
On 7.7.2012, at 17.26, Malloc Kilobyte wrote:
Appreciating all Dovecot rich features, I lack just one. And this is the ability to customize the "quota exceeded, message rejected" message. I know I can set it's default content using quota_exceeded_message parameter, but i would also like to have ability to set:
- to whom the message is sent. Some mail systems send copy not only to the sender, but also to the recipient. It makes sense in case rejected message has big size.
I've thought about changing the default over-quota handling so that the user would be allowed one final mail to go over quota, as long as the mail is smaller than the user's total quota. And in normal situations user's quota is higher than the max. allowed message size advertised by SMTP server. Then this setting wouldn't be useful.
- it's subject
rejection_subject setting can already change this, although it applies also for Sieve rejects.
Also in a preferred setup the rejection is done by replying failure to SMTP's RCPT TO command, in which case nothing else can be configured besides the one rejection string.
- if the rejected message is being attached ( with or without it's own attachments ) or not
Spam is often sent this way.
Moreover, I think it would make sense if the "rejected messege" contained information about size of rejected message and current mailbox space usage.
Message size could possibly be added, but I think current space usage could be considered a privacy leak.
participants (5)
-
Arnaud Abélard
-
Malloc Kilobyte
-
Reindl Harald
-
Timo Sirainen
-
Wojciech Puchar