LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-24-2006, 02:02 PM   #1
alexxxis
Member
 
Registered: Jun 2004
Distribution: Debian 3.1
Posts: 33

Rep: Reputation: 15
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
 
Old 12-24-2006, 05:11 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
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.
 
Old 12-24-2006, 06:08 PM   #3
alexxxis
Member
 
Registered: Jun 2004
Distribution: Debian 3.1
Posts: 33

Original Poster
Rep: Reputation: 15
it worked..

Thanks!
 
Old 08-17-2012, 05:37 AM   #4
aloshiii
LQ Newbie
 
Registered: Jul 2012
Location: bulgaria ,sofia
Posts: 15

Rep: Reputation: Disabled
question

Quote:
Originally Posted by alexxxis View Post
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
 
Old 08-20-2012, 01:40 AM   #5
Angel2953
Member
 
Registered: Sep 2005
Location: Poland
Distribution: Debian, Ubuntu
Posts: 38

Rep: Reputation: 16
Quote:
Originally Posted by aloshiii View Post
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...
 
Old 08-20-2012, 08:49 PM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by aloshiii View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix + Maildir + Courier. wachaca Linux - Server 4 12-06-2006 02:39 PM
postfix dovecot Maildir Danny Regan Debian 3 11-15-2005 04:08 PM
Configuring Maildir with Postfix and Dovecot umbraeOtheisles Linux - Software 0 04-16-2004 09:33 AM
Maildir, virtual postfix users sopiaz57 Linux - General 0 03-01-2004 09:19 PM
postfix and maildir format forand Linux - Software 4 05-05-2003 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration