Re: [SM-USERS] mail problem sent by webmail (mail sender different problem) > On Thu, Feb 21, 2008 at 9:35 AM, - Kone Bakenon - 
> wrote:
>>
>> > Please do not sent HTML emails to this list, thanks.
>>  >
>>  > On Thu, Feb 21, 2008 at 6:55 AM, jaspal singla 
>> wrote:
>>  >>
>>  >>  Hello All,
>>  >>
>>  >>  I have facing a serious problem..I have a qmail-ldap environment
>> with
>>  >> approx 1000 + users.And a  funny but serious problem have occured.
>>  >>  I have taken a eample for the demonstration of problem:
>>  >>
>>  >>  m@example.com
>>  >>  q@example.com
>>  >>  w@example.com
>>  >>
>>  >>  When  m@example.com   sends the mail to ------>>q@example.com then
>> In b
>>  >> mail box he founds that mails have come from w@example.com , where c
>> has
>>  >> not
>>  >> send the mail to b@example.com.  And It happens only with certain
>> users.
>>  >>
>>  >>     For this I have checked the qmail-send logs A nd It shows the
>> same
>>  >> thing
>>  >> that mail generates from w@example.com and deliver to q@example.com
>> .
>>  >> But in
>>  >> sent Items of a has the mail  sent to the q@example.com .
>>  >>
>>  >>  And one thing more I have seen that in preference files of
>>  >> m@example.com
>>  >> which is a.pref in the preference directory of webmail has 1 or more
>>  >> email
>>  >> address. 1 is m@example.com and 2nd is w@example.com .I think due to
>>  >> this
>>  >> reason the problem exist.But Howz this possible some body preference
>>  >> file
>>  >> has some other's email addresses how???
>>  >
>>  > User c used user a's computer to check their webmail before user a
>>  > logged out.  Because user a was still logged in, that person's prefs
>>  > got corrupted/overwritten by user c's once user c logged in on the
>>  > same computer.  The ONLY solution is to make sure users log out
>> before
>>  > sharing the same computer to check their webmail.
>>
>>  Right, the problem can happend when users use the same computer and if
>>  they don't loggout before living their Webmail. But I got the same
>> problem
>>  with users who use different computer. Also only with some accounts.
>
> Not possible.  If you really think it is, you need to come to us with
> some proof and a way to reproduce it.

No more a week, one of users called me and told me about this situation.
User X sent to user Y an email and it comes with user Z preferences.
User Z lives in an other town. Frequently, this kind of problem is made by
user Z preferences.
Most of users when they have this kind of problem, they tell me the same
users address (user Z email address) which is present in their
preferences.
Everything is ok in my squirrelmail except this problem.


>
>>  >>  I have uses retrieveuserdata plugin for retrieving username from
>> ldap.
>>  >>
>>  >>  And The Architecture and version are as:
>>  >>
>>  >>  1) O.S Version: Red Hat Enterprise Linux ES release 4 (Nahant
>> Update 2)
>>  >>  2) qmail+ldap
>>  >>  3) Courier-IMAP
>>  >>  4) squirrelmail-1.4.10a
>>  >>  5) Retrieve user data plugin-0.9
>>  >>
>>  >>  And The entries I Found at a.pref file are:
>>  >>
>>  >>  full_name=a.xyz
>>  >>  full_name=c.xyz
>>  >>  ozsit_oedfnkd=a@example.com
>>  >>  obntd_qlkljvj=z@example.com
>>  >>  identities=2
>>  >>
>>  >>
>>  >>  Please, If any one has clue OR has facing this type of problem then
>>  >> Please,
>>  >> give me the clue.
>>  >>
>
> 
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> 
> 
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: bspsggvwcfmo-bvbmb@lists.sourceforge.net
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>







>From jqqjqddcgd@gmail.com  Sat Apr 26 15:48:51 2008
To: soiofdvxg@perl.org
From: "jqqjqddcgd@gmail.com" 
Subject: Re: processing related elements in an array
Date: Thu, 14 Feb 2008 06:33:51 -0800 (PST)
Message-ID: 
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

I admit, after making my post and taking a break, I had gotten a
little ahead of myself when stating this problem.  Basically, I had
reached a point where I was able to get to @arr3, and couldn't figure
the rest out; the previous stuff I figured out.  I felt I needed to
come up with some background info and perhaps it just made things more
confusing.  More significantly, I also didn't know much of the correct
terminology/what things were called officially...

If you're curious to know the background info (I wanted to make it as
less specific as possible), I have a table in a MySQL database that
contains a list of tailored information about other tables in that
same database.  Certain technicalities had forced me not to use
InnoDB's and thus, I cannot use any foreign keys; the information
within that table of tables is a way for me to automatically make
those connections between tables.  When I mentioned A and C in @arr1,
A is a record that represents another table in that database, C
likewise.  B is also a record in the table, and there are references
to A = B and B = C/they link together...

Thus, if you're attempting to come up with a dynamic select query,
you'll have to come up with some tricky coding to include all the
tables that are given within the statement.  ie, if you specify a
field from one table, and a field from another, you'll have to specify
something like this: SELECT A.field1, C.field1 FROM A, C;

If I specify only A and C, it will return a very long list; basically,
for every record in A, it will return the total # of records in table
C, which means A * C records (a lot if there are just 10+ in each/
either... ) So, because A = B, and B = C, you have to include B in
your statement, like so: SELECT A.field1, C.field1 FROM A, B, C WHERE
A.fieldX = B.fieldY AND B.fieldZ = C.fieldX.  The part after WHERE is
a way of 'JOIN'ing the tables...

If I want to specify just A, and just C, pass them to a perl sub,
based on the ties of A = B, and B = C, I'd like to return A = B = C.

If I have other records in that special table that have references of
A and C, eg, A = D and E = C, I'd like to not include those because
they don't 'share' B; so if I don't account for that, and include all
of the tables that link to others, I'll limit my query even more (eg,
SELECT A.field1, C.field1 FROM A, B, C, D, E WHERE A.fieldX = B.fieldY
AND B.fieldZ = C.fieldX AND A.fieldY = D.fieldX AND C.fieldY =
E.fieldX)  If I don't specify D and E in the FROM, I'll get an
error...

So, basically, I only really need help on the part of 'merging' A = B
and B = C to get only A = B = C, and not A = B = C = D = E (because of
the example I just mentioned).  It sounds so trivial, hence why I
submitted this in this discussion.  But, on the other hand, I don't
know if it's something a bit more technical or if I've made this seem
even more complicated or confusing... :-\\

Oh, and with A = B and B = C, A = D and E = C, they can all be
flipped, eg, D = A...  I don't need to preserve the order of each
'set'...

Really appreciate your help with this!

-Nick


--dhijpgbdpcgmhlhololc--


