Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with accessing mail on SquirrelMail

Status
Not open for further replies.

menace212

Programmer
Jul 11, 2003
144
US
Does anybody have experience with SquirrelMail Web-based email under linux 9.x....


I installed SquirrlMail to for web-access and qmail as the MTA.

My problem is I'm able to login into SquirrelMail but I'm unable to send to different MTA's(yahoo,hotmail, etc...). I'm also unable to receive email..

But the strange part is when I send mail from yahoo, I don't get an error message for failure delivery from yahoo. When I send from Squirrelmail I don't get failure delivery from qmail, but it seems like its going in a blackhole or something...

When I check the qmail scanner logs, I can see the mail being dumped on my Linux box...I can also see the mail in the mbox for the user. But I can't see the received mail in the Inbox under SquirrelMail..


Currently I have ClamAV virus installed and qmail scanner, but I don't think that is affecting my ability to send and receive.I'm in a pretty type spot and I need some assistance..Thank you for time and patiences
 
What protocol (pop3 or imap) do you use?
Is your DNS correct ?
 
protcol imap, yea my DNS is working correctly, because when I go to the users mbox I can see the message....But I can't see the message in the inbox of SquirrelMail..Strange problem huh....I even created maildirmake ~/Maildir under the users account...Still SquirrelMail won't show the message in the inbox section..
 
what kind of authentication are you using?? checkpassword or vpopmail or both? Are you able send email out using telnet? telnet 127.0.0.1 25
helo stan
mail from:<me@domain>
rcpt to:<someone@yahoo.com>
data
subject: test
.
quit

if this works, then there should be nothing wrong with your smtp.

T.k.
 
Something strange here. You say you can see the mbox for the user, however as far as I know qmail uses maildir.
Which is it?
 
It uses maildir now instead of mbox....No authenication being used....I was able to telnet into the 127 address and type the message but it wouldn't let me quit????
 
main.cf configuration should have :

home_mailbox = Maildir/

And should have directory like /home/user1/Maildir after your postfix is up.

You need to configure ./conf.pl on squirrelmail to use courier imap.

Because the default imap from RH was not courier imap.

I used postfix + courier imap and worked well.

Which imap and mailserver (postfix, sendmail, qmail or exim) do you use ?







 
So I can't use Redhats default imap with qmail??? Currently the mailserver is running qmail... So your saying install couier imap and have the conf.pl point towards the couier imap....
 
You can use existing imap from Redhat or courier imap. And I have no idea about qmail configuration+imap+squirrelmail

Squirrelmail will not work without /Maildir.
Because I faced this problem before.
Make sure your apache configuration (httpd.conf and ssl.conf) and ssl cert are correct.
Just use You will see squirrelmail login screen.
 
Hey, ady2k

I get the squirrelmail email client site and login in to a user account, but for some reason when mail is sent to the webmail.xxxx.net domain I won't show up in the inbox and I can't even send mail...

You said you had this problem before, how did you fix it...Was it something in your conf.pl configuration....
 
menace212 (Programmer) Jul 6, 2004
protcol imap, yea my DNS is working correctly, because when I go to the users mbox I can see the message....But I can't see the message in the inbox of SquirrelMail..Strange problem huh....I even created maildirmake ~/Maildir under the users account...Still SquirrelMail won't show the message in the inbox section..

-In my case : postfix will create /Maildir automatically.
If I created /Maildir manually. The squirrelmail didn't get mailbox and came out error message.
And you need to configure squirrelmail from conf.pl

You should see something like the example below here:
Example squirrelmail using courier Imap:
# pwd
/home/support/Maildir
# ls -la
total 40
drwx------ 8 support users 4096 Jun 10 01:27 .
drwx------ 5 support users 4096 Jun 10 01:24 ..
-rw-r--r-- 1 support users 42 Jun 10 01:55 courierimapsubscribed
-rw-r--r-- 1 support users 89 Jun 24 02:05 courierimapuiddb
drwx------ 2 support users 4096 Jun 24 02:05 cur
drwx------ 5 support users 4096 Jun 10 01:27 .Drafts
drwx------ 2 support users 4096 Jun 29 01:14 new
drwx------ 5 support users 4096 Jun 23 23:52 .Sent
drwx------ 2 support users 4096 Jun 29 01:14 tmp
drwx------ 5 support users 4096 Jun 24 02:05 .Trash

SquirrelMail Configuration : Read: config.php (1.2.0)
---------------------------------------------------------
Server Settings
1. Domain : your domain
2. IMAP Server : your imap server
3. IMAP Port : 143
4. Use Sendmail/SMTP : SMTP
6. SMTP Server : your smtp
7. SMTP Port : 25
8. Authenticated SMTP : false
9. POP Before SMTP : false
10. Server : courier
11. Invert Time : false
12. Delimiter : .

-Do you check /var/log/maillog after you got the problem ?
You can find out the problem from maillog.

I used Courier imap. Because I got more detail information about squirrelmail + Courier imap from internet.
 
ok ad...Tell me if I have something missing in my conf.pl and under my Maildir below...

Currently my conf.pl looks like this under server settings:


SquirrelMail Configuration : Read: config.php (1.2.0)
---------------------------------------------------------
Server Settings
1. Domain : domain.net
2. IMAP Server : localhost
3. IMAP Port : 143
4. Use Sendmail/SMTP : SMTP
6. SMTP Server : localhost
7. SMTP Port : 25
8. Authenticated SMTP : false
9. POP Before SMTP : false
10. Server : uw
11. Invert Time : false
12. Delimiter : detect


And under my /home/doug/Maildir, all I have is

drwx------ 2 doug root 4096 Jun 24 02:05 cur
drwx------ 2 doug root 4096 Jun 29 01:14 new
drwx------ 2 doug root 4096 Jun 29 01:14 tmp

Should it be more under this directory and should my conf.pl be configured more than it is???
 
yea and I checked the var/log/maillog and all I get is the following for logging.

jul 5 00:27:58 mail imapd[20674]: imap service init from 127.0.0.1
jul 5 00:27:58 Login user=doug host=localhost.localdomain in [127.0.0.1]


I believe this is what it records when logging into Squirrelmail...
 
- Could you send/receive email using email client (like evolution, etc) with imap protocol ?
I meant you don't use squirrelmail to send/receive email.
 
I starting to squirrelmail isn't the problem...Maybe I should reinstall Qmail...
 
As long as your qmail can work well with imap protocol.
and Check Qmail configuration for Imap.
The squirrelmail should not have any problem.

Good Luck....:)
 
I starting to squirrelmail isn't the problem...Maybe I should reinstall Qmail...
 
Squirrelmail was web interface. The main issue is qmail configuration and Imap.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top