i checked my virtual maps. they seem to work well. i made a virtual.db and used it as virtual_maps = hash:/etc/virtual
it worked and delivered mail in my $HOME/Maildir/ next i used virtual_maps = mysql:/etc/postfix/remote_aliases.cf where the mysql table had a similar entry to that of virtual and again my mail was delivered to my $HOME/Maildir/ now if i specify virtual_mailbox_base = /var/spool/mail/email i keep getting the error Apr 1 14:18:29 mail postfix/qmgr[5800]: DDC85415B8: from=<[EMAIL PROTECTED]>, size=294, nrcpt=1 (queue active) Apr 1 14:18:29 mail postfix/virtual[5849]: DDC85415B8: to=<[EMAIL PROTECTED]>, relay=virtual, delay=1, status=deferred (maildir delivery failed: create /var/spool/mail/email/Maildir/tmp/1017650909.5849_0.mail.mydomain.com: Permission denied) i have tried giving 777 permission to /var/spool/mail/email i have tried 177, 770, 700 nothing works and i keep getting this error. my postfix user is `postfix` and i have also created a group called postdrop. I made the owner of /var/spool/mail/email as postfix and group to postdrop. all other combinations of different users also just dont work. any ideas , anybody? Arvind ----- 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
