Re: Re: strange neomail problem (not the old 2775)
"Your Name" <[email protected]>
| Newsgroups | gmane.mail.neomail.general |
|---|---|
| Message-ID | <[email protected]> |
hi, i got this suguesstion which was more than appreciated but it turns
out i have already applied the patch and these lines were still the
same. any other ideas?
-grover
> Go to line 193 in your /www/cgi-bin/neomail.pl and replace the my
> $folder directive with this one.
>
> my $folder;
> my @validfolders;
> if ($user) {
> my $isvalid = 0;
> @validfolders = @{&getfolders()};
> if (param("folder")) {
> my $basketcase = param("folder"); # CHANGED LINE
> foreach my $checkfolder (@validfolders) {
> if ($basketcase eq $checkfolder) { # CHANGED LINE
> $folder = $checkfolder; # ADDED LINE
> $isvalid = 1;
> last;
> }
> }
> ($folder = 'INBOX') unless ( $isvalid );
> } else {
> $folder = "INBOX";
> }
> }
>
>
> > This is a multi-part message in MIME format.
> >
> >
> > I just installed neomail and everything works just fine until i try
> to access messages moved into any folder besides the INBOX. the
> problem arises when i try to view a message and it prints out the
> oldest email body and the beginning of anothers. heres an example of
> when i clicked on the link of a message dated 5/9/2003 22:35:43 -0700:
> >
> > -----------------------------------------------------
> >
> > Date: 5/9/2003 22:35:43 -0700
> > From: [email protected]
> > To: [email protected]
> > Subject: contact form All headers
> > On 2003-05-09 at 22:35:36,
> > The following information was submitted:
> > >From Host: 64.171.50.27
> > name = grover
> > website =
> > e-mail =
> > comments = klsajdflkajsfdkljlk
> > dsfg
> > ds
> > gf
> > dsgf
> > sdf
> >
> > >From [email protected]
> >
> > --------------------------------------------------------
> > as you can see, its printing out the wrong message and the
beginning
> of another. just as an experiment, i send myself email, copied
> my /var/mail/username file, logged into NeoMail, moved the messages
to
> SAVED and did a diff on the copied file and the SAVED file. it came
up
> with no diffrences. so, i clicked on one of the message links and it
> looked normal. then i went back and clicked on the same message link.
> then i got what you see above. i then ran diff again and it came up
> with this:
> > --------------------------------------------------------
> >
> > [root@gonzo root]# diff /var/neomail/users/grover/SAVED ./grover
> > 1c1
> > < From apachFFrom rom [email protected] Fri May 9 22:35:37 2003
> > ---
> > > From [email protected] Fri May 9 22:35:37 2003
> > 15d14
> > < Status: RRRR
> >
> > --------------------------------------------------------
> > i am truly stumped. anything you could sugguest would be greatly
> appreciated. thanks in advance!!
> >
> > -todd
> >
>
>
>
>
> --
> Don't drink and drive... Smoke and fly!
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com