Correct syntax is the following with puts the y in the right place and adds the / onto the end of .maildir/
INSERT INTO users (id, email, clear, name, uid, gid, homedir, maildir, quota, postfix) values (NULL,'[EMAIL PROTECTED]','changeme','Ringo Starr','1200','1200','/home/vmail','/home/vmail/virt1.com/ringo/.maildir/','','y');
kashani
-- [email protected] mailing list
Thanks kashani for getting me started. I've tried to follow these instruction and have added entried:
In transport:
server12345.uk2net.com local: domain123.org.uk virtual: domain456.co.uk virtual:
Which is correct. the first one is the real server name and the second two are virtual servers on the same IP.
In user I've just added one test user to one of the virtual servers: id 3 email [EMAIL PROTECTED] clear password name test user uid 1234 gid 1234 home /home/vhosts/domain123/home/test.user maildir /home/vhosts/domain123/home/test.user/.maildir postfix y
The user exists with write permission in their home directory. They can cd to it and see it etc...
If I send a mail to a [EMAIL PROTECTED] it works fine but mails to test.user show this in mail.log:
Jan 13 00:40:19 server30172 postfix/smtpd[8678]: starting TLS engine
Jan 13 00:40:19 server30172 postfix/smtpd[8678]: connect from dyn-81-5-132-21.dsl.eclipse.net.uk[81.5.132.21]
Jan 13 00:40:19 server12345 postfix/smtpd[8678]: NOQUEUE: reject: RCPT from dyn-81-5-132-21.dsl.eclipse.net.uk[81.5.132.21]: 554 <[EMAIL PROTECTED]>: Relay access denied; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP helo=<odin>
Jan 13 00:40:19 server30172 postfix/smtpd[8678]: disconnect from dyn-81-5-132-21.dsl.eclipse.net.uk[81.5.132.21]
The auth.log shows:
Jan 13 00:42:53 server30172 postfix/smtpd[8683]: sql auxprop plugin using mysql engine
So I have to assume I'm going to mysql.
Can anyone help
-- [email protected] mailing list
