i did exactly what u said. here is the listing of my /var/spool director listing
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 drwxrwxrwt 2 root mail 4096 Mar 29 01:19 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 I dont want to use mailbox or mbox, i want to use maildir/ i am using maildrop to filter my mail, though it does not really matter, as in main.cf i am using this config. so mail is always deliverd at /var/spool/mail transport_maps = mysql:/etc/postfix/transport.cf virtual_mailbox_base = /var/spool/mail virtual_uid_maps = mysql:/etc/postfix/ids.cf virtual_gid_maps = mysql:/etc/postfix/ids.cf virtual_mailbox_maps = mysql:/etc/postfix/aliases.cf virtual_maps = mysql:/etc/postfix/remote_aliases.cf I am still getting this error. Apr 1 08:17:59 mail postfix/qmgr[25776]: E4C38415AB: from=<[EMAIL PROTECTED]>, size=860, nrcpt=1 (queue active) Apr 1 08:17:59 mail postfix/virtual[4576]: warning: refusing to mkdir /var/spool/mail/Maildir: parent directory is writable by everyone Apr 1 08:17:59 mail postfix/virtual[4576]: E4C38415AB: to=<[EMAIL PROTECTED]>, relay=virtual, delay=2, status=deferred (maildir delivery failed: create /var/spool/mail/Maildir/tmp/1017629279.4576_0.mail.mydomain.com: Operation not permitted) b.t.w what does t stand for in the directory permissions. could not find that anywhere, i just learnt rwx. ----- Original Message ----- From: "Suresh Ramasubramanian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 29, 2002 2:58 PM Subject: [LIH] Re: problem with postfix and mysql config > +++ Arvind [linux-india] <29/03/02 14:47 +0530>: > > i managed to compile it with mysql. > > So good, you are getting there > > > now, i am getting this error. > > to=<[EMAIL PROTECTED]>, relay=virtual, delay=1, status=deferred (maildir > > delivery failed: create > > /var/spool/mail/Maildir/tmp/1017393087.26137_0.mail.mydomain.com: Permission > > denied) > > Check the permissions of /var/spool/mail/ - owned by mail, and then > > # chmod 1777 /var/spool/mail > # chmod +t /var/spool/mail > > total 41 > drwxrwxrwt 2 root mail 512 Mar 28 21:41 . > drwxr-xr-x 20 root wheel 512 Feb 6 12:01 .. > -rw-rw---- 1 suresh mail 39684 Mar 27 00:12 suresh > > I have postfix delivering to mboxes - but shouldn't make a difference. > > -srs > -- > Suresh Ramasubramanian <----> mallet <at> efn dot org > EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin > [Linux One Stanza Tip] From : <[EMAIL PROTECTED]> > LOST #189 -**< Sub : Manipulating cron jobs >**- > crontab -e # edit new/ existing cron job > crontab -l # list the cron jobs > crontab -r # remove the cron jobs (man crontab for details) > > _______________________________________________ > 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
