Re: postfix and Maildirs
On Thu, 15 Jan 2004 04:53:40 +0000, Nick E. wrote:
> Dragan Colak wrote:
>
>> On Thu, 15 Jan 2004 03:16:26 +0000, Nick E. wrote:
>>
>> Did you inactivate 'mail_spool_directory'? Maybe it supersedes
>> 'home_mailbox'? Did you restart Postfix after you changed the
>> configuration?
>>
>> Dragan
>
> I did reload postfix. I've actually tried with and without commenting
> out the /var/spool line.
>
> So...I just commented out the "/var/spool/mail" line again, did "postifx
> reload" and ran fetchmail again.
>
> It still shows up in /var/spool/mail/john.
>
> If it matters, Mandrake9.2
[...]
It runs perfectly here. But I first had to create ~/Maildir manually and
tell Postfix to not only listen on eth0 but also on the loopback device.
Then it worked just fine.
From /etc/postfix/main.cf:
....
queue_directory = /var/spool/postfix
home_mailbox = Maildir/
....
I ran fetchmail with the following ~/.fetchmailrc: poll pop.gmx.net
protocol pop3 username $USER password $PASS ssl
$ ls -laF /var/spool/mail
total 0
drwxrwxrwt 2 root root 72 2004-01-15 04:18 ./
drwxr-xr-x 11 root root 296 2003-12-25 18:56 ../
-rw------- 1 colak users 0 2004-01-15 04:18 colak
$ ls -laF ~/Maildir/new
total 244
drwx------ 2 colak users 208 2004-01-15 14:42 ./
drwxr-xr-x 5 colak users 120 2004-01-15 14:08 ../
-rw------- 1 colak users 4791 2004-01-15 14:42 1166.V1a9.sun
-rw------- 1 colak users 86883 2004-01-15 14:42 1168.V1cd.sun
-rw------- 1 colak users 145597 2004-01-15 14:42 1169.V1d7.sun
-rw------- 1 colak users 1270 2004-01-15 14:42 1170.V1d9.sun
HTH
Dragan
|