I’ve setup previous versions of qmail+sql before, but I’ve run into more problems!
I’ve followed the instructions completely, and as a test I tried sending a message directly to the server to a test@xxxxxxxxxxx, I was presuming that since virtual.org was in the passwd table etc, it should treat it as local.. but it tried to deliver it remotely and here’s the bounce I got.. (just to prove a point)..
I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out.
184.108.40.206 does not like recipient.
Remote host said: 550 Unknown local part alias in <alias@xxxxxxxxxxx> Giving up on 220.127.116.11.
--- Below this line is a copy of the message.
# /var/qmail/bin/qmail-getpw alias virtual.org
# /var/qmail/bin/qmail-getpw test virtual.org
And.. I do not have a /var/qmail/control/locals file.
Any suggestions would be greatly appreciated.
I am trying to get sqlcreatehomedir working, yet I keep getting errors.
If I run the command ‘sqlcreatehomedir user virtualhost’ manually, as root and as qmail users, it works fine…
I have attempted the following in the sqlserver file
And attempted to create a user and send email to that user on each of the three occasions, but I’m still having problems…
I would like to get this function working as it would be much easier to create new users by a simple insert statement to the database!