LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   how to create Maildir postfix (https://www.linuxquestions.org/questions/debian-26/how-to-create-maildir-postfix-513427/)

alexxxis 12-24-2006 02:02 PM

how to create Maildir postfix
 
Hi,

I have installed postfix and courier-imap
but all users and new users do not have
/Maildir in their home folder

how do i set these dir to be created?
Debian 3.1

Thanks,
Alex

ppuru 12-24-2006 05:11 PM

You can use the maildirmake from qmail ... OR

mkdir -p /home/usename/Maildir/{cur,new,tmp} for existing users; perhaps use a for script if you have a lot of users.


mkdir -p /etc/skel/Maildir/{cur,new,tmp} this will create the Maildir in the home directories when you create new users.

alexxxis 12-24-2006 06:08 PM

it worked..

Thanks!

aloshiii 08-17-2012 05:37 AM

question
 
Quote:

Originally Posted by alexxxis (Post 2557639)
it worked..

Thanks!

hello guys
i have created a new user and maildir for the same user , but when i am sending an e-mail i am getting a problem to save the email in the sent folder and when i tried to send an email to this user getting the following problem
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

somebody help me please

Angel2953 08-20-2012 01:40 AM

Quote:

Originally Posted by aloshiii (Post 4756541)
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

I suggest examining /var/log/mail.log and /var/log/mail.err the will be info what caused the problem. There could also be a problem with config files from postfix and/or courier (if you're using it). I think you should provide more details not just short general mail delivery message...

evo2 08-20-2012 08:49 PM

Hi,
Quote:

Originally Posted by aloshiii (Post 4756541)
i have created a new user and maildir for the same user , but when i am sending an e-mail i am getting a problem to save the email in the sent folder and when i tried to send an email to this user getting the following problem
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

along with checking the logs as already suggested, I wonder how you ended up creating the maildirs. If you did the following for your users
Code:

mkdir -p /home/usename/Maildir/{cur,new,tmp}
you will also need to make the sure the ownership is correct. Eg.
Code:

chown username.username /home/usename/Maildir/{,cur,new,tmp}
and should also make sure they are only readable/writable by the owner
Code:

chmod 0700 /home/usename/Maildir/{,cur,new,tmp}
HTH,

Evo2.


All times are GMT -5. The time now is 08:29 AM.