LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 07-18-2008, 07:36 AM   #1
h725
Member
 
Registered: Apr 2008
Posts: 114

Rep: Reputation: 15
Postfix and Maildir


Hi,

I'm migrating from qmail to postfix.
Virtual user are stored in mysql db. For each user, the maildir record is "/usr/local/virtual/domain.ext/username".
Ok, I must add the trailing / in order to use maildir format in postfix.

My problem is: when I send an email to "username@domain.ext", postix create cur, new and tmp directory in /usr/local/virtual/domain.ext/username, while at this moment the correct path must be "/usr/local/virtual/domain.ext/username/Maildir/" in order to work with courier-imap.

How can I tell postfix to create "Maildir/cur" , "Maildir/new", etc ?


I need the VDA patch?
Tnx
 
Old 07-18-2008, 09:18 AM   #2
eliufoo
Member
 
Registered: Oct 2007
Posts: 71

Rep: Reputation: 15
Can you post your settings in /etc/authlib/authmysqlrc

For the following parameters

Quote:
MYSQL_HOME_FIELD
MYSQL_MAILDIR_FIELD
 
Old 07-18-2008, 09:19 AM   #3
BlueC
Member
 
Registered: Aug 2007
Posts: 122

Rep: Reputation: 17
What makes you think that courier-imap requires the mail to be in /usr/local/virtual/domain.ext/username/Maildir/ ?

Presuming you are using authlib with courier imap just ensure that your /etc/authlib/authmysqlrc has the same maildir field from the mysql database as that which postfix is using, e.g.

MYSQL_MAILDIR_FIELD maildir

HTH
 
Old 07-18-2008, 09:50 AM   #4
h725
Member
 
Registered: Apr 2008
Posts: 114

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by eliufoo View Post
Can you post your settings in /etc/authlib/authmysqlrc

For the following parameters


MYSQL_HOME_FIELD home

MYSQL_MAILDIR_FIELD home

with "home" = /usr/local/virtual/domain.ext/username/.

courier auth is working, but postfix send mail to /usr/local/virtual/domain.ext/username/new/.

In fact, by this way, I can't read all the email already present in the user maildir.

My goal is to delivery in Maildir/new
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create Maildir postfix alexxxis Debian 5 08-20-2012 08:49 PM
Postfix and Maildir help dalrq79 Linux - Server 5 12-13-2007 08:22 PM
Postfix won't deliver to Maildir :-( Paulsuk Linux - Server 4 12-03-2007 03:15 PM
New to Postfix and Maildir kevlarmcc Linux - Server 5 03-17-2007 09:35 PM
postfix dovecot Maildir Danny Regan Debian 3 11-15-2005 04:08 PM


All times are GMT -5. The time now is 07:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration