Dr.-Ing. Dieter Jurzitza via Postfix-users:
> Dear listmembers,
> as per default, postfix uses
>
> /var/spool/mail/<USERNAME>inbox/cur
With mail_spool_directory=/var/spool/mail/ (trailing slash) Posifix
implements maildir style file orgaonzation with directories
mail_spool_directory=/var/spool/mail/username/cur
mail_spool_directory=/var/spool/mail/username/new
mail_spool_directory=/var/spool/mail/username/tmp
> However, kmail expects the delivery to
>
> /var/spool/mail/<USERNAME>/.inbox.directory/inbox/cur
That is very different from the maildir organization that Postfix
supports.
Perhaps kmail also a mail delivering program that can put messages
there, or kmail can be configured to use a simpler pathname structure?
> I tried fiddling around by setting
> mail_spool_directory=/var/spool/mail/$user/.inbox.directory
> within main.cf.
Most main.cf parameters, including mail_spool_directory,
expand $name during program startp. This would require a
mail_spool_directory variant that expands $name later.
Another option may be to use the virtual delivery agent that supports
lookup tables that can specify arbitrary uid, gid, and mailbox/maildir
pathnames. Instead, it may be easier to set up Dovecot.
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]