Forum Moderators: mack

Message Too Old, No Replies

Squirrel mail and empty spaces

Spaces being inserted in squirrel mail messages = problem! How to fix?

         

adriayna

6:20 pm on Aug 14, 2007 (gmt 0)

10+ Year Member



Not sure if this is the right place to post this, but I'm a new web developer so I suppose it works :). I've been encountering a weird error with our Squirrel mail installation that I can't pin down a solution to. I've checked the online Squirrel mail documentation and did a google search but haven't found much yet.

I'm running Red Hat Linux 4 Enterprise with an Apache web server. I've got an instillation of Squirrelmail on the server. Every so often (right now, about once every few weeks), one webmail account will get an SQL error when trying to access their inbox via Squirrelmail. It turns out that in the mail file itself )(/var/spool/mail/userX) an extra return space is present in the file. I delete the space, and then the inbox functions normally.

Here is an example:

----

From user@location.com Fri Aug 10 07:14:22 2007
Return-Path: <user@location.com>
...
----

And what it should look like:

---
From user@location.com Fri Aug 10 07:14:22 2007
Return-Path: <user@location.com>
...
---

Unfortunatley, at this point I have yet to figure out what causes this nor why it only occasionally happens. We have various users accessing the account from various places in the area (sometimes they check the mail from home, sometimes from campus, etc).

So...does anyone have any idea why this space is occuring? I've attempted to figure out if there is a systematic reason for it, and so far, I've come up with nothing. Luckily, the problem requires about 5 minutes to fix, but it is getting annyoing.

Any help/suggestions are appriciated. Thanks!

-Dana

dreamcatcher

7:51 am on Aug 16, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Dana,

Welcome to WebmasterWorld. :)

Did you try the Squirrelmail website for help?

dc

adriayna

12:58 pm on Aug 24, 2007 (gmt 0)

10+ Year Member



Yes, and they had NO clue :). Thanks anyways...this seems to be stumping everyone I talk to!

jatar_k

1:01 pm on Aug 24, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld adriayna,

are there any common attributes to the emails that come with this spacing?

are they coming from a form?

possibly it is an error in whatever is creating the emails as opposed to an error with squirrelmail.

it could be an encoding issue

just guessing, try profiling the messages and see if that provides any extra information