[SM-USERS] Squirrelmail and cyrus. Inbox empty but mail succesfully delivered to ?home/userX/Maildir/new/

2009-11-20 Thread Martin Amarante
Hello, my name is Martin, I was wondering if maybe you could help me solve
this problem.
I am doing a project for school, a mail server and I decided to use cyrus
and squirrelmail.
for authentication i use sasl.
I dont really know much about servers but I think there is something wrong
with my setup.
In order to create a new user i do:

su cyrus
cyradm localhost
>cm user.
>quit
exit
saslpasswd2 -c -u server1 
useradd -d /home/ -m 

and then I am able to login using squirrelmail.
The actual problem is that I can send emails and (supposely) receive them
but they never show on the inbox, If I open the Sent folder they appear
there but never in the inbox, but on the other hand the emails are actually
delivered to /home//Maildir/new/

Its like if squirrelmail doesnt know where to look for the inbox.

If you could help me, Id really appreciate it.

Thank you so much in advance.

Martin
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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

Re: [SM-USERS] Squirrelmail and cyrus. Inbox empty but mail succesfully delivered to ?home/userX/Maildir/new/

2009-11-20 Thread Dave McMurtrie
On Nov 20, 2009, at 4:09 AM, Martin Amarante  wrote:

> Hello, my name is Martin, I was wondering if maybe you could help me  
> solve this problem.
> I am doing a project for school, a mail server and I decided to use  
> cyrus and squirrelmail.
> for authentication i use sasl.
> I dont really know much about servers but I think there is something  
> wrong with my setup.
> In order to create a new user i do:
>
> su cyrus
> cyradm localhost
> >cm user.
> >quit
> exit
> saslpasswd2 -c -u server1 
> useradd -d /home/ -m 
>
> and then I am able to login using squirrelmail.
> The actual problem is that I can send emails and (supposely) receive  
> them but they never show on the inbox, If I open the Sent folder  
> they appear there but never in the inbox, but on the other hand the  
> emails are actually delivered to /home//Maildir/new/
>

You don't appear to have Cyrus delivery configured in your MTA.  Cyrus  
does not store mail in user home directories.

Look in the Cyrus docs for info about setting this up.

Hth,

Dave

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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


Re: [SM-USERS] Squirrelmail and cyrus. Inbox empty but mail succesfully delivered to ?home/userX/Maildir/new/

2009-11-20 Thread Martin Amarante
Hey thanks for the quick response.
I have a setting called home_mailbox = Maildir/
in /etc/postfix/main.cf
Actually before I set that mails were stored in /var/mail/

But now even if I delete that setting in main.cf nothing changes and the
inbox is still empty.
A strange thing is that if i move mails from the Sent folder to the Inbox in
squirrelmail they actually appear in inbox, but not the new emails.

You think what you said is still the problem?

Thank you very much

Martin



On Fri, Nov 20, 2009 at 8:30 PM, Dave McMurtrie wrote:

> On Nov 20, 2009, at 4:09 AM, Martin Amarante  wrote:
>
> > Hello, my name is Martin, I was wondering if maybe you could help me
> > solve this problem.
> > I am doing a project for school, a mail server and I decided to use
> > cyrus and squirrelmail.
> > for authentication i use sasl.
> > I dont really know much about servers but I think there is something
> > wrong with my setup.
> > In order to create a new user i do:
> >
> > su cyrus
> > cyradm localhost
> > >cm user.
> > >quit
> > exit
> > saslpasswd2 -c -u server1 
> > useradd -d /home/ -m 
> >
> > and then I am able to login using squirrelmail.
> > The actual problem is that I can send emails and (supposely) receive
> > them but they never show on the inbox, If I open the Sent folder
> > they appear there but never in the inbox, but on the other hand the
> > emails are actually delivered to /home//Maildir/new/
> >
>
> You don't appear to have Cyrus delivery configured in your MTA.  Cyrus
> does not store mail in user home directories.
>
> Look in the Cyrus docs for info about setting this up.
>
> Hth,
>
> Dave
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> -
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@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
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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

Re: [SM-USERS] Squirrelmail and cyrus. Inbox empty but mail succesfully delivered to ?home/userX/Maildir/new/

2009-11-20 Thread Martin Amarante
Sorry to bother you again.
I did something so maybe you have a better idea of whats wrong.
a created a new user "nico" just the way I detailed in the first mail ( i
can login into squirrelmail just by doing the cyradm steps and the
saslpasswd2... but if I dont add the user to the system I cant send mails.
after I created the user i logged in and send a mail to the same user (
n...@server1.example.com) and right after that I  run :

find / -amin 1 > 21.21

to see what had changed in the last minute
then I run
cat 2121 | grep nico

and this is the output:

/var/spool/imap/user/nico/Sent/1.
/var/spool/imap/user/nico/Sent/cyrus.index
/var/spool/imap/user/nico/Sent/cyrus.header
/var/spool/imap/user/nico/Sent/cyrus.cache
/var/spool/imap/user/nico/Trash/cyrus.index
/var/spool/imap/user/nico/Trash/cyrus.header
/var/spool/imap/user/nico/Trash/cyrus.cache
/var/spool/imap/user/nico/cyrus.index
/var/spool/imap/user/nico/cyrus.header
/var/spool/imap/user/nico/cyrus.cache
/srv/www/htdocs/squirrelmail/data/nico.abook


I hope this helps :) and thanks again
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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

Re: [SM-USERS] Squirrelmail and cyrus. Inbox empty but mail succesfully delivered to ?home/userX/Maildir/new/

2009-11-20 Thread Tomas Kuliavas


Martin Amarante wrote:
> 
> Hello, my name is Martin, I was wondering if maybe you could help me solve
> this problem.
> I am doing a project for school, a mail server and I decided to use cyrus
> and squirrelmail.
> for authentication i use sasl.
> I dont really know much about servers but I think there is something wrong
> with my setup.
> In order to create a new user i do:
> 
> su cyrus
> cyradm localhost
>>cm user.
>>quit
> exit
> saslpasswd2 -c -u server1 
> useradd -d /home/ -m 
> 
> and then I am able to login using squirrelmail.
> The actual problem is that I can send emails and (supposely) receive them
> but they never show on the inbox, If I open the Sent folder they appear
> there but never in the inbox, but on the other hand the emails are
> actually
> delivered to /home//Maildir/new/
> 
> Its like if squirrelmail doesnt know where to look for the inbox.
> 
> If you could help me, Id really appreciate it.
> 

Cyrus does not store emails in user's home. It stores them in
/var/spool/cyrus/

If all arriving emails are stored in user's home, you forgot to set cyrus as
local delivery agent.

-- 
Tomas
-- 
View this message in context: 
http://old.nabble.com/Squirrelmail-and-cyrus.-Inbox-empty-but-mail-succesfully-delivered-to--home-userX-Maildir-new--tp26440351p26441549.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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


Re: [SM-USERS] Squirrelmail and cyrus. Inbox empty but mail succesfully delivered to ?home/userX/Maildir/new/

2009-11-20 Thread Dave McMurtrie
Martin Amarante wrote:
> Hey thanks for the quick response.
> I have a setting called home_mailbox = Maildir/
> in /etc/postfix/main.cf 
> Actually before I set that mails were stored in /var/mail/
> 
> But now even if I delete that setting in main.cf  
> nothing changes and the inbox is still empty.
> A strange thing is that if i move mails from the Sent folder to the 
> Inbox in squirrelmail they actually appear in inbox, but not the new emails.
> 
> You think what you said is still the problem?
> 

Yes.  This is not a SquirrelMail problem.  Read your Cyrus imapd 
documentation about how to configure postfix to deliver to Cyrus.

Thanks,

Dave
-- 
Dave McMurtrie, SPE
Email Systems Team Leader
Carnegie Mellon University,
Computing Services

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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


Re: [SM-USERS] Squirrelmail and cyrus. Inbox empty but mail succesfully delivered to ?home/userX/Maildir/new/

2009-11-20 Thread Tomas Kuliavas


Martin Amarante wrote:
> 
> Hey thanks for the quick response.
> I have a setting called home_mailbox = Maildir/
> in /etc/postfix/main.cf
> Actually before I set that mails were stored in /var/mail/
> 
> But now even if I delete that setting in main.cf nothing changes and the
> inbox is still empty.
> A strange thing is that if i move mails from the Sent folder to the Inbox
> in
> squirrelmail they actually appear in inbox, but not the new emails.
> 
> You think what you said is still the problem?
> 
See http://www.faqs.org/docs/Linux-HOWTO/Cyrus-IMAP.html#ss7.4
-- 
View this message in context: 
http://old.nabble.com/Re%3A-Squirrelmail-and-cyrus.-Inbox-empty-but-mail-succesfully-delivered-to--home-userX-Maildir-new--tp26440593p26441560.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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


Re: [SM-USERS] Php errors when forwarding email

2009-11-20 Thread Fredrik Jervfors
 I'm using Squirrelmail 1.4.20-RC2 and when I go to forward an
 email, I get a series of errors...But it does ultimately send fine.

 Warning:
 fopen(/var/local/squirrelmail/attach/8kqczqUxE99ioa8wWJnlcDw6aJ4fOIM
 k) [function.fopen]: failed to open stream: No such file or
 directory in /var/www/squirrelmail/src/compose.php on line 963
>>>
>>> You need to show a full listing of /var/local/squirrelmail
>>
>> There is only one directory under /var/local/squirrelmail, data, and in
>> that directory are some preferences files for users.
>
> Then you haven't fully configured SquirrelMail.  Please read and
> follow the installation documentation.

There's also information on this page:
.

--
Fredrik Jervfors
The SquirrelMail Project
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donations.php


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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


[SM-USERS] Corrupt imap boxes cause sm to lock up

2009-11-20 Thread Edward Capriolo
Hello all,

We are using Squirrel Mail with courier and qmail. Everything is
working well we have a fairly large setup, 800 users. On three or four
occasions now we have ran into a mailbox which causes squirrel mail
never to load. However we can pop or imap these boxes with
thuderbird/outlook etc. Our fix is usually to drag them from pop-inbox
to imap or vice versa and eventually this cleans up the corruption.

I am running squirrelmail 1.4.19.
What can I do to tune up apache/php errors to get more debugging?

Can i do anything to get SM to "try catch" some imap errors and do a
best effor display of the mailbox - bad messages?

Thank you

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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


Re: [SM-USERS] Corrupt imap boxes cause sm to lock up

2009-11-20 Thread Paul Lesniewski
On Fri, Nov 20, 2009 at 10:31 AM, Edward Capriolo  wrote:
> Hello all,
>
> We are using Squirrel Mail with courier and qmail. Everything is
> working well we have a fairly large setup, 800 users. On three or four
> occasions now we have ran into a mailbox which causes squirrel mail
> never to load. However we can pop or imap these boxes with
> thuderbird/outlook etc. Our fix is usually to drag them from pop-inbox
> to imap or vice versa and eventually this cleans up the corruption.

SquirrelMail *IS* an IMAP client.

> I am running squirrelmail 1.4.19.
> What can I do to tune up apache/php errors to get more debugging?

You can read the mailing list posting guidelines *before* you post.
Information about PHP error reporting settings is found therein.
Posting guidelines were sent to you when you subscribed and are linked
at the bottom of every email that goes out on this list.

> Can i do anything to get SM to "try catch" some imap errors and do a
> best effor display of the mailbox - bad messages?

SquirrelMail will tell you if it encounters an IMAP error.  My only
guess is that the mailboxes in question are extremely large and your
web server is either too overloaded to serve them or PHP's memory is
insufficient.  There are lots of tips in the list archives for tuning
SM for large mailboxes.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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


[SM-USERS] inbox delivery is failed please help

2009-11-20 Thread Mr. Su

I've services of squirrel mails.It was working fine until recently, I created
new ID's but the mails are not delivered into the inbox but to spam..

can anyone help me in this regards,

thanks in advance
-- 
View this message in context: 
http://old.nabble.com/inbox-delivery-is-failed-please-help-tp26447752p26447752.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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


[SM-USERS] inbox delivery is failed please help

2009-11-20 Thread Mr. Su

I've services of squirrel mails.It was working fine until recently, I created
new ID's but the mails are not delivered into the inbox but to spam..

can anyone help me in this regards,

thanks in advance
-- 
View this message in context: 
http://old.nabble.com/inbox-delivery-is-failed-please-help-tp26447753p26447753.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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