Re: can't get vlogin plugin to use username as default From address

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

 



On 6/26/06, Paul Lesniewski <paul@xxxxxxxxxxxxxxxx> wrote:
> On 6/26/06, Christopher J. Hinkle <chinkle@xxxxxxxxxxx> wrote:
> > > On 6/26/06, Christopher J. Hinkle <chinkle@xxxxxxxxxxx> wrote:
> > > > > > > please don't turn on $smHostIsDomainThatUserLoggedInWith
> > > > > >
> > > > > > I changed that setting to 0, but it didn't seem to make a
> > difference.
> > > > >
> > > > > Well, I don't know.  It's really hard to debug from here.  :)  Make
> > > > > use of
> > > > the
> > > > > debug flag and start with the defaults and work from there.
> > > > >  Change a config and hit F5.  There is no reason this won't work.
> > > >
> > > > Sorry, Paul... I thought my meaning was clear by the rest of my post.
> > > >
> > > > The way you went on to describe the way vlogin works, I think that
> > > > it's working correctly (regardless of the setting above, in my case).
> > > > It's finding the username and logging into the proper account.  My
> > > > problem was that I was expecting it to do something it's apparently
> > > > not designed to do, and that is to set the user's .prefs file to say
> > > > that the user should be emailing with a From address of his or her
> > > > login name instead of the username on the machine.
> > >
> > > No, as you explained it (correct me if I'm wrong), the username
> > translation
> > > is working, and the target username is "domainless" (just a username, no
> > > "@domain.tld").  Thus the outgoing FROM header is suffering from having
> > > incorrectly constructed the full email by appending your default domain to
> > that
> > > username.  This is NOT a prefs setting (although if the user has an email
> > pref,
> > > that will override this).
> > >
> > > If you want to fix this without having to require that the email pref be
> > set up,
> > > then you merely need to get vlogin working (and again, there is no reason
> > why it
> > > won't do this for you).
> >
> > The issue that I thought vlogin would not be able to correct is that the
> > username is not necessarily the start of the email address.  For example, my
> > email address has "chinkle" as the recipient name, but my actual username on
> > the box is "chinkle3."  So, yes, the target username is "domainless," but
> > not only do we have the issue of SM appending the wrong domain name onto the
> > username, but that the actual username is being used instead of what was
> > used to login (e.g. myemail@xxxxxxxxxxxx should be used, but
> > username@xxxxxxxxxxxx is what shows up in the From header).
> >
> > How do we do that without having to set up the prefs?
>
> You don't really.  I didn't see that in your earlier explanation, so
> you either have to use one of those other plugins or we would have to
> agree on some (slippery-slope) rules that vlogin could use to possibly
> remember what the user logged in with.  I don't have much time for
> making patches to vlogin right now, so you might look at those other
> plugins first.

I have no idea where you ended up with this, or if this would even
help, but I have a modified version of vlogin that includes an option
that sets the user's outgoing email address to whatever they used to
originally log in (the unmolested username they actually typed in).
If anyone wants a test drive, email offlist.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
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