1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
make sure your entire spool is owned by the virtual user.... |
5 |
|
6 |
chown -R vmail: /var/mail/vhosts/ |
7 |
|
8 |
and that uid and gid are set in the main.cf |
9 |
# id vmail |
10 |
uid=1000(vmail) gid=1000(vmail) groups=1000(vmail) |
11 |
|
12 |
/etc/postfix/main.cf |
13 |
|
14 |
virtual_minimum_uid = 1000 |
15 |
virtual_uid_maps = static:1000 |
16 |
virtual_gid_maps = static:1000 |
17 |
|
18 |
Jean Blignaut wrote: |
19 |
|
20 |
> Something about my permissions must be messed up I get this error: |
21 |
> |
22 |
> Mar 24 16:56:09 [postfix/virtual] warning: maildir access problem |
23 |
> for UID/GID=1001/1001: create |
24 |
> /var/mail/vhosts/somedom.com/sales/.maildir/tmp/1143212169.P19214.mail.e |
25 |
> talkbox.co.za: Permission denied Mar 24 16:56:09 [postfix/virtual] |
26 |
> warning: perhaps you need to create the maildirs in advance |
27 |
> |
28 |
> -----Original Message----- From: Sean Cook [mailto:scook@×××××.net] |
29 |
> Sent: Friday, March 24, 2006 5:19 PM To: |
30 |
> gentoo-server@l.g.o Subject: Re: [gentoo-server] postfix |
31 |
> -auto create vmail maildirs |
32 |
> |
33 |
|
34 |
> Postfix will create it for you provided your delivery mechanism |
35 |
> isn't maildrop. |
36 |
> |
37 |
> virtual_create_maildirsize = yes virtual_transport = virtual |
38 |
> |
39 |
> if virtual_transport = maildrop |
40 |
> |
41 |
> you loose the ability to create the maildirs on the fly. |
42 |
> |
43 |
> Sean |
44 |
> |
45 |
> Jean Blignaut wrote: |
46 |
> |
47 |
>> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, |
48 |
>> div.MsoNormal {margin:0in; margin-bottom:.0001pt; |
49 |
>> font-size:12.0pt; font-family:"Times New Roman";} a:link, |
50 |
>> span.MsoHyperlink {color:blue; text-decoration:underline;} |
51 |
>> a:visited, span.MsoHyperlinkFollowed {color:purple; |
52 |
>> text-decoration:underline;} span.EmailStyle17 |
53 |
>> {mso-style-type:personal-compose; font-family:Arial; |
54 |
>> color:windowtext;} @page Section1 {size:8.5in 11.0in; |
55 |
>> margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} |
56 |
>> --> |
57 |
> |
58 |
>> Am I missing some thing in my con fig or does postfix not have |
59 |
>> the same ability exim does to create a maildir as long as your db |
60 |
>> says the user is valid? |
61 |
> |
62 |
> |
63 |
> |
64 |
>> Let me rephrase that: do you always need to create the maildir by |
65 |
>> hand or is it possible to have postfix (or some thing else |
66 |
>> create it for you as soon as you add the new entry in your db) |
67 |
> |
68 |
-----BEGIN PGP SIGNATURE----- |
69 |
Version: GnuPG v1.4.2 (MingW32) |
70 |
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org |
71 |
|
72 |
iD8DBQFEJBlYy9wPyZpnL2URAr+pAJ9XoC/Hi4VKja2L/PfqOCIoxAt2ZgCeI3VW |
73 |
yDYR4a2zz19ZE/Fvq1FPm4Q= |
74 |
=kf86 |
75 |
-----END PGP SIGNATURE----- |
76 |
|
77 |
-- |
78 |
gentoo-server@g.o mailing list |