Re: multilogin plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Don't reply off-list, thanks.

> Thnaks a lot for the quick reply really do appreciate
>
> > On 12/17/06, simon@xxxxxxxxxxx <simon@xxxxxxxxxxx> wrote:
> >>
> >> Dear All,
> >>
> >> I have been using the multilogin plugin for quite sometime on Linux
> >> server
> >> A ( Domain A ) to log in with squirrel mail to Linux server B ( Domain B
> >> )and recently i had to format /usr n /var partitions and reinstalled
> >> linux
> >> on server B
> >>
> >> now when i try to log in by selectin the B server it gives me the
> >> following error .
> >> Error opening ../data/default_pref
> >> Could not create initial preference file!
> >> /var/data/ should be writable by user nobody
> >>
> >> the permission of /var/data directory is nobody nobody with write
> >> permisons
> >> now if i create the same directory on server A that is /var/data with
> >> the
> >> right right permissions i get no error it works fine but the mail
> >> received
> >> is the username@domain A . not as username@domain B as mentioned in
> >> plugin
> >> since the data directories are shared
> >
> > Your settings below say they are not shared.  So which is it?
> >
> >> and also the .pref n .abook files r created on server A
> >>
> >>
> >> squireel mail version 1.4.4
> >> multilogin plugin version 2.3.2-1.2 Paul Lesneiwski <paul@xxxxxxxxxxxxx>
> >> my config.php
> >>
> >> $IMAPSelections = array(
> >>
> >>       'KMUN' => array(
> >>           'imapServerAddress' => 'xx.xx.xx.1',
> >>           'imapPort'          => '143',
> >>         'data_dir'          => '/var/www/html/squirrelmail-1.4.4/data',
> >>       ),
> >>
> >>       'BALADIA' => array(
> >>           'imapServerAddress' => 'xx.xx.xx.2',
> >>           'imapPort'          => '143',
> >>           'org_title'         => 'MAIL SERVER',
> >>         'data_dir'          => '/var/data',
> >
> > What format are your IMAP usernames in?  If they are the same as
> > fully-formatted email addresses, ie., keiko@xxxxxxxxxxx, then I
> > suggest that you only need one data directory, and remove the data_dir
> > setting completely.  If you really need separate data directories for
> > each server login, then show the permissions AND ownership of both of
> > the above directories (note that both of them are being accessed on
> > the server where SquirrelMail is installed).
>
> i do need separate data directories.
> here below are the permisons for both directories.
> SQ mail is running on server
>
> 'xx.xx.xx.1'
>
> the the pluggin is used to log in server

What does this mean?  No one uses the plugin to log in to the other
server?  If so, why do you need this plugin?

> 'xx.xx.xx.2'
>
>
> permisons for  xx.xx.xx.1 which is the server where SQ mail is running
> that is '/var/www/html/squirrelmail-1.4.4/data'
>
> drwxr-xr-x    2 nobody   48          12288 Dec 18 14:10 data
>
> and for xx.xx.xx.2 the server of other domain
> that is '/var/data'
>
> drwxr-xr-x    2 nobody   nobody       4096 Dec 17 08:40 data
>
> Now when i try to use username and password n try to select the differnt
> domain or server it gives me the error message
>
> Error opening ../data/default_pref
> >> Could not create initial preference file!
> >> /var/data/ should be writable by user nobody
>
>
> now if i create /var/data directory on the server where squirrel mail is
> running ( that  is xx.xx.xx.1 )  and give nobody nobody permissions than i
> can log in perfect

I already said in my last email that the data directories being
accessed will all be on the server that SM is installed on.  SM will
NOT access ANYTHING on the other server's file system unless you do
something like use an NFS mount or other solution outside of SM's
control.  So this is working correctly.

> but the sent email has the domain name of the server
> where squirel mail is running n not of the actual domain

That's got nothing to do with where the data directory is, it is
caused because you did not put 'domain' settings in your multilogin
configuration.

> also the .abook n .pref files get created on the server where squirrel
> mail is running that is xx.xx.xx.1 and not on xx.xx.xx.2 .

See above.



> appreciate your help
>
> thnks and reagrds
>
>
> Simon
>
>
>
> >
> > Also compare the directory permissions and ownership against the
> > following FAQ pages and maybe you can solve your own problem:
> >
> > http://www.squirrelmail.org/wiki/DataPermission
> > http://www.squirrelmail.org/wiki/QuickAndDirty
> >

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux