I am a little uncertain as to the nature of your error. You have
specified in the vlogin config not to use host names when logging in
(although it sounds to me like you need to), but the error message
suggests that it *did* use the host name to log in.... Also, the
$virtualDomains array is empty - you want the same settings for all your
domains - even org_name?
I suggest at a minimum these changes:
$dontUseHostName = 0;
$smHostIsDomainThatUserLoggedInWith = 0;
The actual error does not appear to be a vlogin problem, however. Check
not only the permissions on that file, but the containing directory
(/var/lib/squirrelmail/prefs).
> I host multiple domains but provide a single webmail interface rather
than a
> sperate one per user domain. I am using virtual logins with Courier
so the
> users login as [EMAIL PROTECTED] to the email system. domain.name
is not
> necessarily the same as my own domain where I host the webmail.
>
> Now I install SquirrelMail 1.2.9 and downloaded the vlogin-2.4 plugin.
> The non-comment contents of the plugin's config.php are:
> <?php
> global $notPartOfDomainName, $numberOfDotSections,
> $checkByExcludeList, $at, $dot, $dontUseHostName,
> $smHostIsDomainThatUserLoggedInWith, $virtualDomains,
> $virtualDomainDataDir;
> $virtualDomains = array(
> );
> $numberOfDotSections = 2;
> $checkByExcludeList = true;
> $notPartOfDomainName = array('www'
> ,'mail'
> ,'email'
> ,'webmail');
> $at = '@';
> $dot = '.';
> $dontUseHostName = 1;
> $smHostIsDomainThatUserLoggedInWith = 1;
> $virtualDomainDataDir = '';
> ?>
>
> Now when I log into SM with a username of [EMAIL PROTECTED] this is
what I
> get:
> Preference file, [EMAIL PROTECTED],
could
> not be opened. Contact your system administrator to resolve this
issue.
>
> Looking in /var/lib/squirrelmail/prefs I can see the
[EMAIL PROTECTED]
> file containing a copy of the default_pref and owned by apache.apache
>
> Can anyone shed some light as to what I am doing wrong please?
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users