Current time: 12-23-2024, 10:25 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] User vmail
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
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
(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 Offline
Junior Member
*

Posts: 94
Joined: Feb 2008
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 Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
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
04-08-2008 07:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
HSorgYves Offline
Junior Member
*

Posts: 94
Joined: Feb 2008
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 Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #15
RE: User vmail
your mixing mail and web!!!

just put the same uid as the vamial user has!
04-08-2008 07:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
HSorgYves Offline
Junior Member
*

Posts: 94
Joined: Feb 2008
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
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)