==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this link:
http://bugs.contribs.org/show_bug.cgi?id=8023
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
Unnilennium <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |CONFIRMED
CC| |[email protected]
Ever confirmed|0 |1
--- Comment #3 from Unnilennium <[email protected]> ---
admin account is not at the same path than others, and this mislead any
modification from mailsorting.
on my side I just edit manually a .procmailrc in /home/e-smith
however to update the contribs I think of two thing to be chnaged:
# db accounts show admin
admin=system
FirstName=Local
LastName=Administrator
Lockable=no
PasswordSet=yes
Removable=no
Shell=/sbin/e-smith/console
VPNClientAccess=no
so in /etc/e-smith/events/actions/mailsorting-update-user
should be modified
"Account $userName is not a user account; update mailsorting failed.\n"
unless ($user && $user->prop('type') eq "user");
to
"Account $userName is not a user account; update mailsorting failed.\n"
unless ($user && ($user->prop('type') eq "user" || $user eq 'admin' )
);
and latter :
esmith::templates::processTemplate (
{
MORE_DATA =>
{
USERNAME => $userName ,
},
TEMPLATE_PATH => "/$dotfile",
TEMPLATE_EXPAND_QUEUE =>
[
"/etc/e-smith/templates-user-custom",
"/etc/e-smith/templates-user",
],
OUTPUT_PREFIX =>
"/home/e-smith/files/users/$userName",
UID => $userName,
GID => $userName,
PERMS => 0600,
} );
should become
my $pathtohome = ($userName eq 'admin')?
"/home/e-smith/$userName":"/home/e-smith/files/users/$userName";
esmith::templates::processTemplate (
{
MORE_DATA =>
{
USERNAME => $userName ,
},
TEMPLATE_PATH => "/$dotfile",
TEMPLATE_EXPAND_QUEUE =>
[
"/etc/e-smith/templates-user-custom",
"/etc/e-smith/templates-user",
],
OUTPUT_PREFIX => $pathtohome,
UID => $userName,
GID => $userName,
PERMS => 0600,
} );
--
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/