LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   adding Maildir to the users account (https://www.linuxquestions.org/questions/linux-newbie-8/adding-maildir-to-the-users-account-229858/)

tommytomato 09-12-2004 09:00 PM

adding Maildir to the users account
 
How does one had the Maildir to the users account

I created the user account, but he or she doesn't have Maildir folder under thier account.

So when i try checking the mail the password box keeps poping up.

using postfix and courier

TT

CroMagnon 09-12-2004 09:57 PM

Try the maildirmake command.

tommytomato 09-12-2004 09:59 PM

I tried that one

unless i got it wrong

maildirmake /home/user/Maildir

TT

tommytomato 09-12-2004 10:13 PM

I came across this

my path is

[root@localhost]# find / -name maildirmake
/downloads/courier-imap-3.0.7/maildirmake
/downloads/courier-imap-3.0.7/maildir/maildirmake
/usr/lib/courier-imap/bin/maildirmake


Quote:

Example:
Create a Maildir folder for "user". A folder of this name must not exist.
/usr/lib/courier-imap/bin/maildirmake -S /home/user/Maildir
Create the "Notices" folder that is to be shared.
/usr/lib/courier-imap/bin/maildirmake -s write -f Notices /home/user/Maildir
Change owner and group if needed.
chown -R user_name.group_name /home/user/Maildir/.Notices
Change permissions for all to read and write.
chmod -R 2777 /home/user/Maildir
Add this to the file /usr/lib/courier-imap/etc/maildirshared so it appears for all users.
PublicFolders /home/user/Maildir/.Notices
Now you will have:
shared
-PublicFolders
-Notices
Is that the correct setup, do i have to be in the directory of user or directory courier-imap to run the command ?

what do they mean by Setup shared folders :confused:

TT

CroMagnon 09-12-2004 10:27 PM

That looks right - did it give you any error messages? If it couldn't create the directory, I would expect some sort of message about it. It works for me :S

tommytomato 09-12-2004 10:40 PM

I had a friend setup my email-server

I'm able to send and recive mail ok to him and anywhere else

I'm just trying to see if i could do it before hes come along and checks it, he has help me alot, thanks J

So i was wondering if thats the right way to do it, because i dont want to stuff it.

is there any thing else i should check, i know how to add extra mail for users so he or she can have more than one mail address

vi /etc/postfix/aliases then edit file

testaccount: username

then run

postalias /etc/postfix/aliases
TT

tommytomato 09-12-2004 11:49 PM

same on me

It was allrady going, i had the wrong spelling in there

thanks for the help and tips

TT


All times are GMT -5. The time now is 11:42 AM.