ispCP - Board - Support
[SOLVED] User vmail - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: [SOLVED] User vmail (/thread-2881.html)

Pages: 1 2


RE: User vmail - joximu - 04-07-2008 09:41 PM

ok

remember to also check the uid/gid in /etc/postfix/main.cf...

and also have a look at /etc/courier/userdb - and then run "makeuserdb" to convert this to the db file...

... and the working copy /etc/ispcp/courier/working/...

/J


RE: User vmail - HSorgYves - 04-08-2008 05:58 AM

What I did is:
more /etc/passwd

vmail:x:1002:8:vmail-user:/home/vmail:/bin/false
usermod -u 300 vmail
find / -user 1002 -execdir chown 300 {} \;

Then I checked the following files (as suggested by joximu):
* /etc/postfix/main.cf
virtual_minimum_uid = 2000
virtual_uid_maps = static:300
* /etc/courier/userdb
(empty)
* /etc/ispcp/courier/working/userdb
(empty)

Two questions are remaining:
1) Why is virtual_minimum_uid set to the uid of vmail and not to 2000 in the main.cf of postfix?
2) Do I need to change /etc/ispcp/ispcp.conf as well?


RE: User vmail - joximu - 04-08-2008 07:27 AM

1) because this has nothing to do with the vu2xxx user of the websites. mail is running as one user: vmail. so: mmin=max :-)

2) yes:
MTA_MAILBOX_MIN_UID = 1001
MTA_MAILBOX_UID = 1001

/J


RE: User vmail - HSorgYves - 04-08-2008 07:34 AM

virtual_minimum_uid (default: 100)
The minimum user ID value that the virtual(8) delivery agent accepts as a result from $virtual_uid_maps table lookup. Returned values less than this will be rejected, and the message will be deferred.

So the lookups will never return something lower then vu2xxx, i.e. 2xxx or am I mistaken?


RE: User vmail - joximu - 04-08-2008 07:39 AM

your mixing mail and web!!!

just put the same uid as the vamial user has!


RE: User vmail - HSorgYves - 04-08-2008 07:49 AM

ok, thx