View Single Post
  #6  
Old 10th May 2011, 22:24
CopalFreak CopalFreak is offline
Junior Member
 
Join Date: May 2011
Posts: 19
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Yes, I think that's the best you can do. I suggest you try this tutorial: http://www.howtoforge.com/virtual-us...l-ubuntu-10.10
OK.. following your tutorial..almost there.. (i think)
..modified a bit for dovecot though.

Getting a silly error..I suspect because of something I did towards the beginning of the tutorial that was for Courier.

Code:
warning: request for unapproved table: "unix:passwd.byname"
...to approve this table for proxymap access list proxy:unix:oasswd.byname in main.cf:proxy_read_maps
but I am using MySQL..so it should not be looking for that..
in my main.cf, I DO have proxy_read_maps
Code:
alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_alias_domains = proxy:mysql:/etc/postfix/mysql_virtual_alias_domains.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domain_maps.cf
virtual_login_maps = proxy:mysql:/etc/postfix/mysql_virtual_login_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf

mydestination = $myhostname $mynetworks $alias_maps $virtual_mailbox_domains $virtual_login_maps $virtual_mailbox_maps $virtual_alias_maps
proxy_read_maps = $mydestination
One weird things I DID do was in the mysql_virtual files
Code:
hosts = unix:/var/run/mysql/mysql.sock, 127.0.0.1
I did that because I was getting other errors...not sure it helped though.

Any ideas what is causing this? (and maybe how to fix)?

Thanks!

Last edited by CopalFreak; 11th May 2011 at 02:28.
Reply With Quote