Hi ZHI wei.

> Hi ZHI wei.
>>
>> > I'm doing some development work using Squirrelmail
>> in
>> > linux, and thus I wished to set up a system where
>> I
>> > can send an email to myself without going thru any
>> > server outside and read the mail using
>> squirrelmail.
>>
>> I have my MTA (SendMail) and IMAP (UW-IMAP) on the
>> same server, and I have
>> no problems mailing myself. Let's say I'm using the
>> account 'dummy'. When
>> I mail '[EMAIL PROTECTED]', '[EMAIL PROTECTED]' or even
>> 'dummy' alone, all
>> mails end up in my account. No server but my own is
>> involved in this.
>>
>> You say that you can't get the command 'mail' to
>> work either. That makes
>> me think that SquirrelMail isn't what's causing your
>> problems, but
>> something else, although I'm not a mail specialist.
>> What MTA are you
>> using? Is it on your own server or somewhere else?
>> Maybe a support list
>> for your MTA can provide better help.
>>
>> Sincerly,
>> Fredrik.

> Previously, I used the default MTA Sendmail->Postfix
> in Mandrake 9.2 installation. But now I've install
> qmail as my MTA.
> I've remove my Courier-IMAP and used the default IMAP
> in Mandrake 9.2, that is I check on imap and imaps to
> start when requested in the control center.
>
> $ telnet 127.0.0.1 143
> Trying 127.0.0.1...
> Connected to localhost (127.0.0.1).
> Escape character is '^]'.
> * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN]
> localhost IMAP4rev1 2003.338mdk at Wed, 3 Mar 2004
> 15:53:58 -0500 (EST)

I'm sorry, but I have no experience with Qmail. If the default IMAP of
Mandrake is UW-IMAP I have some experience, but I think Qmail is the key
to your ordeal.

> These are my folders in my SM:
>  INBOX
>  INBOX.Drafts
>  INBOX.Sent
>  INBOX.Trash
>  Drafts
>  Sent
>  Trash
>
> Now, when I compose a mail in SM and sent, the mail is
> sent to my INBOX.SENT but there is no mail in INBOX.

Storing a copy of a outgoing mail in INBOX.SENT is done by SquirrelMail,
and that seem to work. The issue of not receiving the mail to INBOX is
most likely related to Qmail.

> When I tried to move the mail to INBOX, I got the
> error:
> ERROR : Could not complete request.
> Query: COPY 1 "INBOX"
> Reason Given: COPY failed: Can't open append mailbox:
> Permission denied

Check the file and folder permissions for the file where incoming mails
are stored.

> When I clicked on Drafts, Sent and Trash these 3
> folders, I got these error:
> ERROR : Could not complete request.
> Query: SELECT "Drafts"
> Reason Given: SELECT failed: Can't open mailbox
> Drafts: no such mailbox

I think that SquirrelMail set up the folders I needed during the
installation and the first login.

> Btw, where is my INBOX, I dont seem to define it
> anywhere in the SM config.php

For UW-IMAP installed using apt-get on a Debian installation without
virtual users, the INBOX is "/var/mail/[username]" (or "~/mbox").

I'm sorry, but I'm not a very experienced user. On my own system,
"~/.mailboxlist" contains a list with the subscribed folders, but there's
also IMAP settings which I don't know much about. Maybe someone else on
the list might help you.

> Do you mind if you tell me how you set up the whole
> thing from scratch from a fresh install of Mandrake or
> other Linux? eg what software to install first and
> what settings/config to set up.

All I did was to untar the SquirrelMail 1.4.2 package in a folder which
the webserver could access. To begin with I made all of it world wide
accessible (chmod -R 777 *) and used "config/conf.pl" options 1, 2 and 4
accordingly. Then I started playing with file permissions, trying to
secure things as much as possible, i.e. removing the possiblity for others
but myself to write files and run scripts. When I found out that all users
preferences was easily accessible and readable by anyone, I moved and
renamed the data folder, and changed "config/conf.pl" option 4.2
accordingly.

Read more about installation in the file "INSTALLATION" and the directory
"doc/", and at
<http://www.squirrelmail.org/wiki/en_US/InstallingSquirrelMail>.

> I'm really lost since I'm new to linux.
>
> I really hope if you could help me figured out what's
> wrong. Thanks in advance.

Sorry that I couldn't help you more.

Sincerly,
Fredrik.

PS. I took the liberty to post your mail to the list, since other might
benefit by this discussion or help you more than I can. F.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to