We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
exim: Delivery of messages to users over their quotas
exim: Delivery of messages to users over their quotas
EDIT: At the time of writing this it seemed like a bug but after 24h I got the first warning saying that the message sent was on queue. So it's not a bug. For full story ready on...
Bug description
When a user gets close to their mail quotas [as defined in web interface], the messages that are sent to them [which exceed the quotas] are being discarded without any notice either to the sender or the recipient.
OS and CP Version
Ubuntu 14.04 (x86_64)
VestaCP 0.9.8 (amd64)
Replicate
To replicate the problem:
Bug description
When a user gets close to their mail quotas [as defined in web interface], the messages that are sent to them [which exceed the quotas] are being discarded without any notice either to the sender or the recipient.
OS and CP Version
Ubuntu 14.04 (x86_64)
VestaCP 0.9.8 (amd64)
Replicate
To replicate the problem:
- From the web interface, create new mail user with 1MB quota
- Send one message with a size of 800KB. The message gets through. User gets a warning message about mailbox exceeding a warning threshold
- Send a second message with a size of 200KB. This message never gets through and neither the sender not the recipient ever get notified about this.
Last edited by Felix on Mon May 23, 2016 9:49 am, edited 1 time in total.
Re: [SERIOUS BUG] Messages discarded without notice
Here is some more info about this problem.
It turns out that the message is held on the sender's mail server queue waiting to be delivered when the recipient's mailbox gets more space. Although this is a good thing, meaning that the message is not discarded, it continues to be a problem because the sender will be informed after 24h when they get the first warning from their mail server.
I believe it would be more practical if there was a setting on the recipient's mail server (Vesta) that would fail the delivery of messages to a full mailbox, with the reason Mailbox full. This way the sender would know immediately and would contact the recipient in other ways.
It turns out that the message is held on the sender's mail server queue waiting to be delivered when the recipient's mailbox gets more space. Although this is a good thing, meaning that the message is not discarded, it continues to be a problem because the sender will be informed after 24h when they get the first warning from their mail server.
I believe it would be more practical if there was a setting on the recipient's mail server (Vesta) that would fail the delivery of messages to a full mailbox, with the reason Mailbox full. This way the sender would know immediately and would contact the recipient in other ways.
Re: [SERIOUS BUG] Messages discarded without notice
Hello XoXiLhJ0mn and thanks for the reply.
You're quite right in what you're saying except one thing; the remote server does know why the message is not accepted. Take a look at the following excerpt:
So to my understanding what happens is:
1- Sender mail server connects to recipient mail server and tries to send message
2- Recipient mail server replies that message can't be accepted because mailbox is full. Try again later.
and this goes on and on and on until the recipient frees some space.
Isn't possible to modify exim's configuration (at the recipient side) to hard fail immediately (like the error below) when a mailbox is full?
You're quite right in what you're saying except one thing; the remote server does know why the message is not accepted. Take a look at the following excerpt:
Code: Select all
The address to which the message has not yet been delivered is:
[email protected]
Delay reason: mailbox is full
1- Sender mail server connects to recipient mail server and tries to send message
2- Recipient mail server replies that message can't be accepted because mailbox is full. Try again later.
and this goes on and on and on until the recipient frees some space.
Isn't possible to modify exim's configuration (at the recipient side) to hard fail immediately (like the error below) when a mailbox is full?
Code: Select all
host xxx[x.x.x.x] said: 550 Unrouteable address (in reply to RCPT TO command)
Re: [SERIOUS BUG] Messages discarded without notice
The link you provided has some interesting ways to handle this, thank you. I'll try one sometime and I'll post feedback.
For now I'm changing the subject of this thread because it is false alarm exactly as you pointed out (although at the time of writing and based on the info I had it seemed like a serious bug).
For now I'm changing the subject of this thread because it is false alarm exactly as you pointed out (although at the time of writing and based on the info I had it seemed like a serious bug).
Re: exim: Delivery of messages to users over their quotas
Already did that ;-)XoXiLhJ0mn wrote:Good. You may also report the false alarm in the bug.vesta.com, where you reported.
Re: exim: Delivery of messages to users over their quotas
Correction https://bugs.vestacp.com ;-)XoXiLhJ0mn wrote:Good. You may also report the false alarm in the bug.vesta.com, where you reported.