Visit Our UNIX and Linux User Community


Tell UW-Imap to read /var/mail/mailbox ??


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Tell UW-Imap to read /var/mail/mailbox ??
# 1  
Old 07-13-2005
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 Smilie
# 2  
Old 07-13-2005
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?
# 3  
Old 07-13-2005
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 Smilie
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #456
Difficulty: Easy
An application programming interface (API) is a graphical-based interface for viewing client-server data.
True or False?

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[SOLVED] Read html attachment from /var/mail

Hi, I am receiving an email to the server with a html attachment. When I check the /var/mail the attachment is showing as junk characters. I want to move that html file to a particular location in that server. Please help me. Regards Neethu (4 Replies)
Discussion started by: Neethu
4 Replies

2. UNIX for Dummies Questions & Answers

moving mail between IMAP folders

Hello all, I have a Cyrus IMAP server running on HP-UX. I have a requirement to run a script every night at midnight, which will take all the mail (read and unread mail) from one IMAP folder, and move it into a different IMAP folder. Both the source and destination IMAP folders belong to the... (1 Reply)
Discussion started by: lupin..the..3rd
1 Replies

3. UNIX for Dummies Questions & Answers

Limiting User mailbox size in /var/spool

How can one limit the size of user mailboxes in /var/spool/mail? (0 Replies)
Discussion started by: proactiveaditya
0 Replies

4. UNIX for Dummies Questions & Answers

How do I read mail in /var/spool/mail?

How can I read mail sent to /var/spool/mail? I do not have pine installed so forget about that...is there some generic utility I can use? (3 Replies)
Discussion started by: mojoman
3 Replies

5. Solaris

how to forward mail in /var/mail/username to external mail

Dear All, Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do? thank u in advance (2 Replies)
Discussion started by: unitipon
2 Replies

6. Shell Programming and Scripting

READING mail from /var/mail/user

Hello guys, I'm in desperate need. I need to write a script that behaves like a "mail" shell program. I've a base of the program -menu and so on, but what I cannot do is how to read messages from /var/mail/user. I would like to separate them as "mail" program does, but I;m just a newbie and... (21 Replies)
Discussion started by: petoSVK
21 Replies

7. UNIX for Dummies Questions & Answers

Unix IMAP e-mail via Outlook showing +10 hours

Multiple users at my work are connecting to a UNIX IMAP e- mail server via Outlook 2003 that is creating a small problem. Random new e-mails repeat themselves up to 3 times with an additional 10 hours added to them of when the original arrived. i.e Original e-mail marked arrived at 10:00am... (2 Replies)
Discussion started by: arkady
2 Replies

Featured Tech Videos