>>> My e-mail server is a Debian Sarge one, with Squirrelmail 1.4.4, >>> uw-imap, popa3d. It has about 1500 e-mail account. >>> >>> It works fine if my users use Squirrelmail to read theire e-mails. >>> >>> I have also installed popa3d because my users need to use Outlook or >>> other e-mail clients, with POP3 protocol. >>> >>> E-mails received in /var/spool/mail/$username are redirected in >>> /home/$username when users read their e-mails with squirrelmail >>> frontend. >>> >>> The problème is that popa3d reads e-mails in /var/spool/mail/$username >>> ! >>> If a user read a mail with Outlook, this mail is no longer visible in >>> squirrelmail? >>> >>> How could I solve the problem ? >>> >>> Can mail be dropped directly to /home/$username and popa3d configured >>> to read mails in here ? >> >> >> With UW you have two places I know of to keep your INBOX: >> /var/spool/mail/$username or /home/$username/Mbox (at least I think the >> filename was Mbox). If you use the latter UW will move the mails from >> the former when logging in. Solution: >> >> Check that /var/spool/mail/$username is empty and then: >> >> >> mv /home/$username/Mbox /var/spool/mail/$username >> >> That may be quick and dirty, and there might be other solutions, but I >> think it'll work since the POP3 server should be able to access the >> spool file. >> >> Keep in mind that the POP3 client will have to be configured to keep the >> mails at the server or else you won't be able to access them through >> SquirrelMail. > > > Thank you very much for your help Frederik, but I can't use the "mv > method", because my hard disk space is large on /home/ partition, but > small on /var/ partition... > > Just a question: why Squirrelmail or uw-imap copy e-mails from /var to > /home only on login? Shouldn't we move e-mails directly in /home/ without > user's login? Can I use another program (like procmail) to put e-mails on > the good location?
Pity that the suggestion didn't work for you. It's the IMAP server (i.e. UW) which moves the mail from the spool file to the home directory, so that has nothing to do with SquirrelMail. If you want to move the mail upon arrival it's a configuration thing for your SMTP server or your IMAP server, or maybe there's a daemon that can do it. Unfortunately I don't know the answer since I never needed that feature. You might have better luck on a mailinglist for UW. Sincerely, Fredrik. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
