|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Mysql And Virtual
From: John Goodens (bse
global.co.za)Date: Thu Nov 02 2000 - 16:37:56 CST
- Next message: Scott Chapman: "Needed: Pros & Cons for each UCE measure"
- Previous message: Lars Hecking: "Re: How to retest a spam message after you've received it?"
- In reply to: James F. Hranicky: "Re: Problems with cyrus deliver and message format"
- Next in thread: Ajay Tallam: "Re: Problems with cyrus deliver and message format"
- Reply: John Goodens: "Mysql And Virtual"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello.
What must the query look like in mysql-virtual.cf for Virtual email?
What about implementing the below? Must each row just become a record in the
table?
what about the first line below? bit different from all the others.
Currently my virtual file looks like:
----------------------------------
mycom.com Accept mail for this domain
user1
mycom.com user1
user2
mycom.com user2
----------------------------------
I assume the following in my main.cf
-------------
virtual_maps = mysql:/etc/postfix/virtual-mysql.cf
-------------
and the following in virtual-mysql.cf
-------------
user= postfix
password = postfix22
db_name = postfix
table = virtual
hosts = localhost
-------------
My Mysql create table looks like:
-------------
create table virtual ( userid int AUTO_INCREMENT primary key,
mailbox varchar(40),
email varchar(40));
create unique index mbox_email_idx on virtual (mailbox, email);
-------------
Thanks!
- Next message: Scott Chapman: "Needed: Pros & Cons for each UCE measure"
- Previous message: Lars Hecking: "Re: How to retest a spam message after you've received it?"
- In reply to: James F. Hranicky: "Re: Problems with cyrus deliver and message format"
- Next in thread: Ajay Tallam: "Re: Problems with cyrus deliver and message format"
- Reply: John Goodens: "Mysql And Virtual"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]