Courier users,
I am hoping for assistance with the following:
I have a courier mail server working and it has been working without fault
for the pass couple of years. It uses authpwd/authshadow authentification
and the users where added via the useradd command.
I am experimenting with a mysql backend using FC3 and the latest courier on
a laptop. I am working my way thru a list of of requirements, and so far
pop/imap/sqwebmail/esmtp is working with a with a mysql backend.
Where I am coming unstuck is with our sub/domains.
I created a hosteddomains file with
example.com
staff.example.com <tab> example.com
and ran makehosteddomains.
Any us...@example.com works but a user with us...@staff.example.com does not.
The Field DEFAULT_DOMAIN in authmysqlrc is set to example.com. this allows
users to login that have a us...@example.com in their id field. If I change
DEFAULT_DOMAIN to staff.example.com it will allow users to login with
us...@staff.example.com but will not work for us...@example.com
This is how I added the users to the database:
insert into table values (
'us...@staff.example.com', OR 'us...@example.com',
'', #encryted password is kept blank at the moment
'password',
'users full name',
9000,
9000,
'/home/vuser/user',
'10000000S',
);
Any assistance would be grateful
Regards
Michael