The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to send a mail in unix--Please read the description electroon Shell Programming and Scripting 2 01-02-2008 10:40 PM
script to read from mail misenkiser Shell Programming and Scripting 0 10-03-2006 05:07 AM
How to mark ALL mail items as read? Krispy UNIX for Dummies Questions & Answers 3 07-17-2006 08:53 AM
Mailbox Nightmares! enzophite UNIX for Dummies Questions & Answers 1 07-01-2004 10:17 AM
Unix IMAP e-mail via Outlook showing +10 hours arkady UNIX for Dummies Questions & Answers 2 05-13-2004 09:02 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-13-2005
Registered User
 

Join Date: Jun 2005
Posts: 42
Stumble this Post!
Tell UW-Imap to read /var/mail/mailbox ??

Hi,

I've got UW-IMAP installed on Gentoo. I'm using EXIM as the transfer agent.

EXIM is working fine (I think)... all incoming mail - external and internal goes to /var/mail/username file. I can verifiy this by reading this file directly with nano.

Also, IMAPd is running. It lets me login if I put valid credentials in BUT, it just shows an empty INBOX, Trash and Junk folder in any client I use it with.

Someone told me there isn't any configuration for UW and I certianly, apart from installing it, havnt edited any config files for it.

Is there a way to tell it where the mailbox is stored since it's obviously not reading it.

Cheers,

d11

imap is invoked from xinetd - as is exim by the way
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-13-2005
Registered User
 

Join Date: Jun 2005
Posts: 42
Stumble this Post!
OK I got it working:

It works with /home/username/mbox as the file to use in exim's configuration.
Considering I have 3 domains mapped my server, each with 5 or 6 mail account I dont want to create 15 directories in /home/ purely for the mbox files.

From what I've read I will need to change the C source code before I compile it - Considering how Universal UW-Imap is... this surprises me.

CPanel uses UW_IMAP and they can have many many accounts for many many domains... I wonder what their /usr/exim/configure file looks like and how UW-IMAP is set up to read folders such as

/home/username/Mail/account/INBOX
/home/username/Mail/account/INBOX.Sent
/home/username/Mail/account/INBOX.Trash

/home/username/Mail/account2/INBOX
/home/username/Mail/account2/INBOX.Sent

etc etc...

:-S

I log into each accoutn with a different username of course... i just want more flexibility about where the files can be stored.

By the way... is Unix for Dummies a suitable forums for this or is it considered technical?
Reply With Quote
  #3 (permalink)  
Old 07-13-2005
Registered User
 

Join Date: Jun 2005
Posts: 42
Stumble this Post!
Maybe I should be asking a different question...

What tools do I need to have multiple mailboxes for multiple domains on the same hardware? Like a shared server, expect all the accounts are mine.

I cant find any way to get UW-IMAP to accept a login from users other than those who have shell access.

Example: I actually have an account on a shared now and I have an email address mail@mydomain.com...

UW-IMAP would try to interpret the "mail" portion as the "mail" user on my system but somehow my host authenticates me as "mail+mydomain.com".... how have they done that? It can't be an alias in /etc/aliases for the fact that if somebody on the same server had mail@theirdomain.com it wouldn't work.

I don't mind if I have to add UNIX system users to acheive this... but I'd have to put the home dirs somewhere tidier than /home... like /srv/mail/user and somehow avoid isses with usernames matching usernames from other domains on same server.

Thanks in advance
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0