View Single Post
Old 9th June 2012, 00:37
kafmil kafmil is offline
Junior Member
Join Date: Jun 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix virtual mailbox permission denied

I have just setup postfix and I can get it to send email to my gmail account via telnet, however when I try to send mail to a local account it fails to create the local mailbox. I increased to verbose logging and saw this error:
warning: table virtual_mailbox_maps: lookup webmaster@<mydomainname>.com: Permission denied
but I can run this with no permission problems, which is the query in the file
mysql --user=postfix --password=mydbpassword --database=postfix --host=localhost -e 'SELECT maildir FROM mailbox WHERE username="webmaster@<mydomainname>.com" and active = 1;'
The result from the query in also runs but returns 0 results which is correct. I believe postfix should throw a virtual_mail_box = proxyath_to_file Permission denied error if file permissions were a problem, also the files and folder are owned by postfix with 770 permissions.

If postfix can't get the name of the maildir it can't create it, I just can't find any info out there on why? There must be someone out there with the same issue, I just need to find the right post! Anyone have any clues?

Reply With Quote
Sponsored Links