i think i solved this problem.
even in the newsgroups, at google for postfix, this problem lies unsolved.

the problem where postfix could not create a directory and was giving 2
different errors


Apr  2 08:07:28 mail postfix/qmgr[7860]: 441F3415B0:
from=<[EMAIL PROTECTED]>, size=849, nrcpt=1 (queue active)
Apr  2 08:07:28 mail postfix/virtual[7875]: warning: refusing to mkdir
/var/spool/mail/arvind: parent directory is writable by everyone
Apr  2 08:07:28 mail postfix/virtual[7875]: 441F3415B0:
to=<[EMAIL PROTECTED]>, relay=virtual, delay=1, status=deferred (maildir
delivery failed: create
/var/spool/mail/arvind/Maildir/tmp/1017715048.7875_0.mail.mydomain.com:
Operation not permitted)

then i changed the permission of the directory /var/spool/mail ( owned by
postfix . postdrop) to 700
and i again got this error msg

Apr  2 08:18:15 mail postfix/qmgr[7860]: 7A1B5415B1:
from=<[EMAIL PROTECTED]>, size=847, nrcpt=1 (queue active)
Apr  2 08:18:15 mail postfix/virtual[7966]: 7A1B5415B1:
to=<[EMAIL PROTECTED]>, relay=virtual, delay=1, status=deferred (maildir
delivery failed: create
/var/spool/mail/arvind/Maildir/tmp/1017715695.7966_0.mail.mydomain.com:
Permission denied)
permissions like 1700 yield same result, while 1777 yields the former
result
as mentioned above.


to solve this problem first check the id column of your aliases table.

here is an example
      1003 [EMAIL PROTECTED] arvind/


i store all my mails in /var/spool/mail
so goto the sub-direcotry /var/spool/mail and create a subdirectory called
arvind
then change permissions to
chmod 660 arvind

then change the owner to 1003
chown 1003.1003 arvind

now all mails will be stored in /var/spool/mail/arvind/ in maildir/ format
with arvind/ having sub-directories like
cur/
tmp/
new/

if anybody is a member of the postfix list at google ie .. see this link
what i mean by google
http://groups.google.com/groups?q=maildir+delivery+failed:&hl=en&selm=a6hoim
%241kvm%241%40FreeBSD.csie.NCTU.edu.tw&rnum=2

then please post this solution.

Thanks
Arvind

----- Original Message -----
From: "Arvind" <[EMAIL PROTECTED]>
To: "Linux India" <[EMAIL PROTECTED]>
Sent: Wednesday, April 03, 2002 8:56 AM
Subject: [LIH] Re: problem with postfix and mysql config


> i dont know if it reached or not.
> I am resending my email.
>
> > logically speaking , it should not make a differnence, neverthless, i
> tried
> > it and here is what i got
> >
> >
> > Apr  2 08:07:28 mail postfix/qmgr[7860]: 441F3415B0:
> > from=<[EMAIL PROTECTED]>, size=849, nrcpt=1 (queue active)
> > Apr  2 08:07:28 mail postfix/virtual[7875]: warning: refusing to mkdir
> > /var/spool/mail/arvind: parent directory is writable by everyone
> > Apr  2 08:07:28 mail postfix/virtual[7875]: 441F3415B0:
> > to=<[EMAIL PROTECTED]>, relay=virtual, delay=1, status=deferred
(maildir
> > delivery failed: create
> > /var/spool/mail/arvind/Maildir/tmp/1017715048.7875_0.mail.mydomain.com:
> > Operation not permitted)
> >
> > then i changed the permission of the directory /var/spool/mail ( owned
by
> > postfix . postdrop) to 700
> >
> > and i again got this error msg
> >
> > Apr  2 08:18:15 mail postfix/qmgr[7860]: 7A1B5415B1:
> > from=<[EMAIL PROTECTED]>, size=847, nrcpt=1 (queue active)
> > Apr  2 08:18:15 mail postfix/virtual[7966]: 7A1B5415B1:
> > to=<[EMAIL PROTECTED]>, relay=virtual, delay=1, status=deferred
(maildir
> > delivery failed: create
> > /var/spool/mail/arvind/Maildir/tmp/1017715695.7966_0.mail.mydomain.com:
> > Permission denied)
> >
> > permissions like 1700 yield same result, while 1777 yields the former
> result
> > as mentioned above.
> >
> > this is the listing of my /var/spool directory
> >
> > [root@mail spool]# ls -l
> > total 44
> > drwxr-xr-x    2 root     root         4096 Feb 26 13:34 anacron
> > drwx------    3 daemon   daemon       4096 Feb 26 18:26 at
> > drwxr-xr-x    2 root     root         4096 Mar 11 18:52 clientmqueue
> > drwx------    2 root     root         4096 Jun 25  2001 cron
> > drwxr-xr-x    2 root     root         4096 Jun 25  2001 fax
> > drwxr-xr-x    2 root     root         4096 Jun  1  2000 lpd
> > drwx------    3 postfix  postdrop     4096 Apr  1 10:54 mail
> > drwxr-xr-x   14 root     root         4096 Mar 18 22:41 mailqueue
> > drwxr-xr-x   14 root     root         4096 Mar 29 11:40 postfix
> > drwxr-xr-x    2 root     root         4096 Jun 25  2001 rwho
> > drwxr-xr-x    2 root     root         4096 Sep  8  2001 up2date
> >
> > a chmod 1700 gives me
> > drwx-----T    3 postfix  postdrop     4096 Apr  1 10:54 mail
> > with same result ( permission denied, to create directory).
> >
> > Arvind
> >
> > ----- Original Message -----
> > From: "Suresh Ramasubramanian" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, April 01, 2002 3:50 PM
> > Subject: [LIH] Re: problem with postfix and mysql config
> >
> >
> > > +++ Arvind [linux-india] <01/04/02 15:34 +0530>:
> > > > virtual_mailbox_base = /var/spool/mail/email
> > > > i keep getting the error
> > >
> > > Why /email/?
> > >
> > > Try virtual_mailbox_base = /var/spool/mail/
> > >
> > > -srs
> > >
> > > --
> > > Suresh Ramasubramanian  <---->  mallet <at> efn dot org
> > > EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
> > > [Linux One Stanza Tip] From : <[EMAIL PROTECTED]>
> > > LOST #135 -**< Sub : man2txt >**-
> > > To convert man pages to text format (which may be necessary if
> > > printouts are necessary, or you want to clip a large section):
> > > $man [progname] | col -b > progname.man.txt
> > >
> > > _______________________________________________
> > > linux-india-help mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/linux-india-help
> >
> >
> > _______________________________________________
> > linux-india-help mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/linux-india-help
>
>
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to