Post Reply  Post Thread 
Pages (2): « First < Previous 1 [2] Last »
[SOLVED] User vmail
Author Message
joximu
Moderator
*****


Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #11
RE: User vmail

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


2008-03-16 ispCP RC4 released!!!

This post was last modified: 04-07-2008 09:42 PM by joximu.

04-07-2008 09:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
HSorgYves
Junior Member
*


Posts: 72
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #12
RE: User vmail

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?

This post was last modified: 04-08-2008 06:22 AM by HSorgYves.

04-08-2008 05:58 AM
Find all posts by this user Quote this message in a reply
joximu
Moderator
*****


Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #13
RE: User vmail

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


2008-03-16 ispCP RC4 released!!!
04-08-2008 07:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
HSorgYves
Junior Member
*


Posts: 72
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #14
RE: User vmail

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?

04-08-2008 07:34 AM
Find all posts by this user Quote this message in a reply
joximu
Moderator
*****


Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #15
RE: User vmail

your mixing mail and web!!!

just put the same uid as the vamial user has!


2008-03-16 ispCP RC4 released!!!
04-08-2008 07:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
HSorgYves
Junior Member
*


Posts: 72
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #16
RE: User vmail

ok, thx

04-08-2008 07:49 AM
Find all posts by this user Quote this message in a reply
Pages (2): « First < Previous 1 [2] Last »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |