[oclug]Postfix and Maildir

Carl St-Jacques carlstj at francolinux.ca
Thu Jan 30 11:53:43 EST 2003


Hi,

Can you comment these lines first:

# mail_spool_directory = ...
# mail_command = ...

Then do a "postfix reload".

Watch the log file to see any problems. This will use the Postfix local
delivery agent with maildir. If you still want to use procmail for
delivery you might need to tell procmail to use maildir.

Thanks.
Carl

> I do have the line mail_spool_directory = /var/spool/mail and it's
> uncommented.
>
> Here is a message that gets bounced back to me when I remove my user's
> file from /var/spool/mail
> ----------------------------------------------------------------
>
> The Postfix program
>
> <cmccrank at linux-planet.net>: can't create user output file. Command
> output:
>     procmail: Couldn't create "/var/spool/mail/cmccrank"
>
> And here is my output from postconf -n
> ------------------------------------------------
>
> alias_database = hash:/etc/postfix/aliases
> alias_maps = hash:/etc/postfix/aliases
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/libexec/postfix
> debug_peer_level = 2
> default_privs = nobody
> fast_flush_domains = $relay_domains
> home_mailbox = Maildir/
> inet_interfaces = all
> mail_owner = postfix
> mail_spool_directory = /var/spool/mail
> mailbox_command = /usr/bin/procmail -Y -a $DOMAIN
> mailq_path = /usr/bin/mailq.postfix
> manpage_directory = /usr/share/man
> mydestination = linux-planet.net, smtp.linux-planet.net,
> www.linux-planet.net myhostname = linux-planet.net
> mynetworks = 192.168.0.0/24 127.0.0.1
> newaliases_path = /usr/bin/newaliases.postfix
> queue_directory = /var/spool/postfix
> readme_directory = /etc/postfix/README_FILES
> sample_directory = /usr/share/doc/postfix-1.1.7/samples
> sendmail_path = /usr/sbin/sendmail.postfix
> setgid_group = postdrop
>
>
> Thanks
> Collin
>
>
> Carl St-Jacques wrote:
>
>>Hi,
>>
>>Do you have this line in your main.cf file: mail_spool_directory =
>> /var/spool/mail?
>>
>>I supposed you did a postfix reload after you changed the main.cf file.
>> If you still have problem you'll need to show some log or send the
>> output of postconf -n.
>>
>>Thanks.
>>Carl
>>
>>
>>
>>>Hi,
>>>
>>>I installed Postfix from an rpm and it only wants to deliver to
>>>/var/spool/mail/username.  Even though in the main.cf file I added the
>>> line for Maildir style support using home_mailbox = Maildir/
>>>
>>>It still insists on delivering to /var/spool/mail.  I'm running
>>> uw-imap.
>>>
>>>
>>>Does anyone know what could be the problem?  I used 2md to convert my
>>> mailbox to Maildir format and that worked fine.  Could it be that the
>>> rpm of Postfix or uw-imap somehow didn't include Maildir support?
>>>
>>>Will I have to re-install using a tar distro and somehow compile in
>>> Maildir support?
>>>
>>>-Collin
>>>
>>>_______________________________________________
>>>oclug mailing list
>>>oclug at lists.oclug.on.ca
>>>http://www.oclug.on.ca/mailman/listinfo/oclug
>>>
>>>
>>
>>
>>
>>_______________________________________________
>>oclug mailing list
>>oclug at lists.oclug.on.ca
>>http://www.oclug.on.ca/mailman/listinfo/oclug
>>
>>
>
>
>
> _______________________________________________
> oclug mailing list
> oclug at lists.oclug.on.ca
> http://www.oclug.on.ca/mailman/listinfo/oclug






More information about the OCLUG mailing list