On 6/18/06, Christopher J. Hinkle <chinkle@xxxxxxxxxxx> wrote: > I see... I didn't realize that's how vlogin worked. I tried going to the > virtual domain URL and logging in as myemail@xxxxxxxxxxxxxxxxxx This time > when I sent a message I got the From address to be > myusername@xxxxxxxxxxxxxxxxxxxx so we're almost there. :) So I would think that setting the 'domain' in the virtual_domains array would do the job. If the actual usernames are in the form "username" (and not "username@xxxxxxxxxx"), SM should be just appending the default domain to outgoing messages. If that is what your situation is (depends what's in your virtual map I suppose), but it isn't working, that could be because you need to use the multilogin part of things. BTW, I see no reason why the compatibility plugin would break SELinux policies...? Also, please turn off $useSessionBased if you have not applied the multilogin patch and don't have that plugin in place too. - paul > Should I be looking at a different plugin for this functionality? I know > there's the virtusertable plugin that I could use just to have that login > part... but what about the autoconfiguring of the From address? > > chris. > > -----Original Message----- > From: squirrelmail-users-bounces@xxxxxxxxxxxxxxxxxxxxx > [mailto:squirrelmail-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Tomas > Kuliavas > Sent: Sunday 18 June 2006 13:13 > To: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx > Subject: Re: can't get vlogin plugin to use username as default > >From address > > >> > I know I can go into Options and Personal Information and > >> set my From > >> > address there, but I don't want to have to do that for every user > >> > across 30 domains. What am I missing? > >> > >> I don't understand why do you need vlogin plugin for that. > >> > >> SquirrelMail is hosted under one URL, vlogin is designed to work with > >> multiple URLs. > >> > >> If users don't have email address set in user prefs, username is used > >> in > >> From: header. If username looks like email address, address in From: > >> header is not suffixed with default domain. > >> > >> If you use SquirrelMail with vlogin plugin under one URL and want to > >> provide custom settings for domain accounts, you should take a look > >> at vlogin user level configuration options. > > > > Hi Tomas... thanks for the response. If I take the vlogin plugin out, > > the users aren't able to login using their email address... they have > > to login using their actual username on the server (which may have > > nothing to do with their email address), so if there's a way to > > accomplish that without vlogin, then great. :) > > > > Right now, though, with vlogin installed they're able to login as > > myemail@xxxxxxxxxxxxxxxxx, but their From address is their actual > > username plus the host name (which could be like > > usr123049@xxxxxxxxxxxx), and they wouldn't be able to receive email at > that address. > > missed the part about used virtual mapping table. > > I think, plugin does not save name used for login. Theoretically it can be > fixed, if plugin saves login name used for login and sets it as email > address after login is verified. > > > -- > Tomas -- 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