bagio_error

[Solved] CPanel failed to expand condition

I’ve a problem with mailbox permission, but the root of case isn’t permission in mailbox directory but the problem caused by configuration files couldn’t read by user. Please┬áthe following error logs:

2012-10-27 11:10:47 H=([127.0.0.1]) 92.239.28.234]:3289 sender verify defer for <[email protected]>: require_files: error for /home/bagio/etc/bagio.co.id: Permission denied
2012-10-27 11:11:19 H=([192.168.5.6]) [122.248.36.18]:3365 sender verify defer for <[email protected]>: require_files: error for /home/bagio/etc/bagio.co.id: Permission denied

and also the following errors:

2012-10-27 11:08:55 failed to expand condition “${if eq {${lookup {$local_part} lsearch {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd}}}{} {false}{${if exists {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/$local_part/.boxtrapperenable} {true} {false}}}}” for virtual_boxtrapper_user router: failed to open /home/bagio/etc/bagio.co.id/passwd for linear search: Permission denied (euid=47 egid=12)
2012-10-27 11:08:55 failed to expand condition “${if eq {${lookup {$local_part} lsearch {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd}}}{} {false}{true}}” for virtual_user router: failed to open /home/bagio/etc/bagio.co.id/passwd for linear search: Permission denied (euid=47 egid=12)
2012-10-27 11:13:33 1TRxlx-0000YV-2N spam acl condition: cannot parse spamd output
2012-10-27 11:17:45 failed to expand condition “${if exists {$home/etc/$domain/quota}{${if > {${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}{0}}}{0}{${if eq {${if exists {$home/mail/$domain/$local_part/maildirsize}{1}{0}}}{0}{${if > {${run {/usr/local/cpanel/bin/eximwrap GETDISKUSED $local_part $domain}}}{${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}{0}}}{true}{false}}}{${perl{checkuserquota}{$domain}{$local_part}{$message_size}{${lookup{$local_part}lsearch{$home/etc/$domain/quota}{$value}}}{$home/mail/$domain/$local_part/maildirsize}}}}}{false}}}{false}}” for virtual_user_maildir_overquota router: failed to open /home/bagio/etc/bagio.co.id/quota for linear search: Permission denied (euid=47 egid=12)
2012-10-27 11:17:45 failed to expand condition “${if eq {${lookup {$local_part} lsearch {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd}}}{} {false}{${if exists {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/$local_part/.boxtrapperenable} {true} {false}}}}” for virtual_boxtrapper_user router: failed to open /home/bagio/etc/bagio.co.id/passwd for linear search: Permission denied (euid=47 egid=12)
2012-10-27 11:17:45 failed to expand condition “${if eq {${lookup {$local_part} lsearch {${extract{5}{:}{${lookup passwd{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}{$value}}}}/etc/$domain/passwd}}}{} {false}{true}}” for virtual_user router: failed to open /home/bagio/etc/bagio.co.id/passwd for linear search: Permission denied (euid=47 egid=12)

Ok, the following step will fix the problem in above:

1. Force to change the ownership of user directory, this step is required when cpanel fixperms script doesn’t work.
# chown -R bagio.bagio /home/bagio

2. Then fix directory permission using /scripts/fixperms
# /scripts/fixperms -a bagio

If the steps in above doesn’t work, please submit a ticket to tickets.cpanel.net or send your root password to me and I’ll try help as I can.
Hope this help.

Leave a Reply

Your email address will not be published. Required fields are marked *


*