Re: Question About Maildir Mailboxes

2009-07-08 Thread Sahil Tandon
On Jul 8, 2009, at 1:40 PM, Carlos Williams carlosw...@gmail.com  
wrote:



I am setting up a new server to run Maildir style in-boxes. In my
main.cf, I added the following parameter:

home_mailbox = Maildir/

The above seems to be working fine in my main.cf. It auto created the
directory upon receiving the 1st email but I was also reading I need
to add the following parameter:

mailbox_command =

It works with out this parameter but I don't know if this is something
I should add for good measure or just ignore. The parameter value is
empty but I know it could possible still be useful.


It's already empty so it would be totally redundant to set it to that  
default value in your main.cf.  See postconf(5).


Where exactly were you reading this suggestion? 


Re: Question About Maildir Mailboxes

2009-07-08 Thread Victor Duchovni
On Wed, Jul 08, 2009 at 01:40:58PM -0400, Carlos Williams wrote:

 I am setting up a new server to run Maildir style in-boxes. In my
 main.cf, I added the following parameter:
 
 home_mailbox = Maildir/
 
 The above seems to be working fine in my main.cf. It auto created the
 directory upon receiving the 1st email but I was also reading I need
 to add the following parameter:
 
 mailbox_command =

This is the default value. You don't need this, unless someone
(perhaps an O/S distribution) supplied you with a main.cf file
that overrides the default. The local(8) lists all the delivery
mechanisms and their relative priority... Mail only gets to
home_mailbox if:

- After input rewriting the recipient domain is listed in $mydestination
- local_transport is set to local
- alias_maps does not reroute the recipient's mail elsewhere, or the
  recipient in question is generated via alias expansion.
- The recipient in question is a system user
- The user's .forward file does not pre-empt mailbox delivery
- mailbox_transport and mailbox_transport_maps don't pre-empt mailbox
  delivery.
- mailbox_command and mailbox_command_maps don't pre-empt mailbox
  delivery.

See the local(8) manpage.

-- 
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
mailto:majord...@postfix.org?body=unsubscribe%20postfix-users

If my response solves your problem, the best way to thank me is to not
send an it worked, thanks follow-up. If you must respond, please put
It worked, thanks in the Subject so I can delete these quickly.


Re: Question About Maildir Mailboxes

2009-07-08 Thread Carlos Williams
On Wed, Jul 8, 2009 at 1:48 PM, Victor
Duchovnivictor.ducho...@morganstanley.com wrote:

 This is the default value. You don't need this, unless someone
 (perhaps an O/S distribution) supplied you with a main.cf file
 that overrides the default.

Hmmm... I am using the Debian provided main.cf when I used apt-get to
install their package version of Postfix. I can see that this is a
default value in postconf -d but when I run postconf -n I don't
see it listed. Does that mean my main.cf is not recognizing this
parameter?

[r...@mail ~]# postconf -d | grep -i mailbox_command
mailbox_command =
mailbox_command_maps =

[r...@mail ~]# postconf -n | grep -i mailbox_command
[r...@mail ~]#

Does that mean I should add it based on the following

* To use maildir format in your mailbox which creates separate
files for each email you can use the following commands:
* Maildir has few advantages over mbox format. (keeps emails in
separate files, allows for multiple application to read mail, etc)
* Issue these commands:

postconf -e home_mailbox = Maildir/
postconf -e mailbox_command =

^
Quoted from: 
http://wiki.debian.org/Postfix#InstallingandConfiguringPostfixonDebian


Re: Question About Maildir Mailboxes

2009-07-08 Thread Victor Duchovni
On Wed, Jul 08, 2009 at 01:54:54PM -0400, Carlos Williams wrote:

 On Wed, Jul 8, 2009 at 1:48 PM, Victor
 Duchovnivictor.ducho...@morganstanley.com wrote:
 
  This is the default value. You don't need this, unless someone
  (perhaps an O/S distribution) supplied you with a main.cf file
  that overrides the default.
 
 Hmmm... I am using the Debian provided main.cf when I used apt-get to
 install their package version of Postfix. I can see that this is a
 default value in postconf -d but when I run postconf -n I don't
 see it listed. Does that mean my main.cf is not recognizing this
 parameter?
 
 [r...@mail ~]# postconf -d | grep -i mailbox_command
 mailbox_command =
 mailbox_command_maps =
 
 [r...@mail ~]# postconf -n | grep -i mailbox_command
 [r...@mail ~]#

You are all set. Parameters not reported with -n take their default
-d values.

-- 
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
mailto:majord...@postfix.org?body=unsubscribe%20postfix-users

If my response solves your problem, the best way to thank me is to not
send an it worked, thanks follow-up. If you must respond, please put
It worked, thanks in the Subject so I can delete these quickly.