Olga_Mataev
New Pleskian
I'm running Plesk 11.0.9 Update #62, using postfix as my mail service
Here is the problem: postfix does not execute the other commands in the .qmail file if the deliverquota command fails. If my .qmail file looks like this:
| true
| /usr/bin/deliverquota ./Maildir
&some@mail.com
Postfix will try to run deliverquota, which returns "mail quota exceeded", at which point the postfix does not go any further. I want postfix to forward the e-mail to some@mail.com regardless of what deliverquote returns. I have so far worked around this by manually changing the .qmail file to look like this:
| true
&some@mail.com
| /usr/bin/deliverquota ./Maildir
The behavior is now correct. However, I don't want to manually change all the .qmail files, and I also don't want to risk this being changed again next time Plesk re-builds the files, for example after an update.
By the way, the reason that I have the mailboxes in the first place is because Plesk doesn't allow me to create an SMTP account without creating a mailbox. Most of my users use gmail to receive mail, but want to use my server to send the mail. If I disable the mailbox on Plesk and leave only forwarding, the SMTP is disabled.
Has anybody run into this before and found a way to resolve it?
Here is the problem: postfix does not execute the other commands in the .qmail file if the deliverquota command fails. If my .qmail file looks like this:
| true
| /usr/bin/deliverquota ./Maildir
&some@mail.com
Postfix will try to run deliverquota, which returns "mail quota exceeded", at which point the postfix does not go any further. I want postfix to forward the e-mail to some@mail.com regardless of what deliverquote returns. I have so far worked around this by manually changing the .qmail file to look like this:
| true
&some@mail.com
| /usr/bin/deliverquota ./Maildir
The behavior is now correct. However, I don't want to manually change all the .qmail files, and I also don't want to risk this being changed again next time Plesk re-builds the files, for example after an update.
By the way, the reason that I have the mailboxes in the first place is because Plesk doesn't allow me to create an SMTP account without creating a mailbox. Most of my users use gmail to receive mail, but want to use my server to send the mail. If I disable the mailbox on Plesk and leave only forwarding, the SMTP is disabled.
Has anybody run into this before and found a way to resolve it?