Thread: MTA thoughts
View Single Post
Old 8th June 2008
mtx's Avatar
mtx mtx is offline
Real Name: Valentin Bud
Fdisk Soldier
 
Join Date: May 2008
Location: RO/TM
Posts: 79
Default

Quote:
Originally Posted by cajunman4life View Post
So then I'll need MySQL installed on the mail server?
no you don't. when you configure the
Code:
virtual_*
directives from postfix main.cf you'll have to write in a file the mysql params like
Code:
# cat main.cf
...
virtual_mailbox_domains = proxy:mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf
...
# cat mysql_virtual_domains_maps.cf
user = u
password = p
hosts = ip add or name of the host which the mysql db resides on
dbname = 
query =
so your web interface (i don't say GUI anymore thanks to windependence ) and mysql db can reside on a different machine.
this way you don't have to overload or open new security threats on your mail machine.

/v
__________________
Stop! think! ... the problem is somewhere between the monitor and chair...
"First they ignore you, then they laugh at you, then they fight you, then you win." Gandhi
links: spreadbsd syk
Reply With Quote