Vesta: Unlimited quota error with Exim and v-rebuild-mail-domains

Created on 18 Jun 2015  Â·  11Comments  Â·  Source: serghey-rodin/vesta

When "v-rebuild-mail-domains $USER" is run on a clean Debian/Exim VestaCP installation the quota value in /home/$USER/conf/mail/$DOMAIN/passwd gets malformed.

Error (/var/log/exim4/paniclog): Malformed value "unlimitedM"

To fix this i added

if [ "$QUOTA" = 'unlimited' ]; then
        QUOTA=0
fi

to rebuild_mail_domain_conf() in /usr/local/vesta/func/rebuild.sh (line 518+)

Can you confirm this issue? Thanks!

All 11 comments

+1 for this issue. This issue prevents local mail delivery after executing v-rebuild-mail-domains.

+1

Big issue when moving clients between servers (backing up and restoring). Had me very stumped!

+1

Ran into that issue after restoring a backup

I have this some issue:

R=localuser T=local_delivery defer (-1): Malformed value "unlimitedM" (expansion of "${extract{6}{:}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/passwd}}}}M")

How to fix this?

LE: I fixed this editing

/home/$USER/conf/mail/$DOMAIN/passwd

and replaced "unlimited" from end of line with 0 (zero)

Had the same issue.

Fix: https://github.com/serghey-rodin/vesta/issues/391

Hope that helps.

Am 17.09.2015 um 22:36 schrieb Alberto [email protected]:

I have this some issue:

R=localuser T=local_delivery defer (-1): Malformed value "unlimitedM" (expansion of "${extract{6}{:}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/passwd}}}}M")
How to fix this?

—
Reply to this email directly or view it on GitHub.

Confirmed that changing "unlimited" to "0" in the passwd file fixed this problem for me also.

Hi,

Has this been fixed for the new release?

Thanks for all the work Serghey! Appreciate it.

Rhys

Also confirming that changing from "unlimited" to "0" fixes the problem.
Also, you can edit the mail account from VestaCP and click again the save button (with unlimited set). This works too.

This bug was fixed in latest 0.9.8-15 release. Please feel to upgrade guys!

I was on the latest and have this bug changed to 0 waiting to see if it clears after mail rebuild on that user.

Mike

same here. latest version at 16.
I get that message under /var/log/exim/main.log
R=localuser T=local_delivery defer (-1): Malformed value "unlimitedM" (expansion of "${extract{6}{:}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/passwd}}}}M")

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Prince-M picture Prince-M  Â·  4Comments

BukinPK picture BukinPK  Â·  5Comments

patricmutwiri picture patricmutwiri  Â·  8Comments

robindirksen1 picture robindirksen1  Â·  6Comments

SteenSchutt picture SteenSchutt  Â·  7Comments