XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Documentation and Knowledge Base > Xmail + Dovecot Take 2


Posted by: NomadCF Jan 18 2008, 03:10 PM
Old method: Xmail + su (as dovecot) + Acls.
Issues: when new users where created xmail still set there MailBox permissions at root.root rw-------. This meant that some one or thing would need to reset/fix the permissions after every mailbox create. Or that new user couldn't create new Mailbox "Folders".


New way:

#1 chown dovecot.dovecot /var/MailRoot -R
#2 chmod 6550 /var/MailRoot/bin/XMail
#3 exit you XMail startup script / command line to port the smtp/pop/finger ports to something higher then 1000.

Example:
CODE
-Sp 20025 -Pp 20110


this next step is for people with 1.24+
#4 Change then pid dir to your MailRoot ( in your XMail startup script / command line)
CODE

   XMAIL_PID_DIR=$XMAIL_PID_DIR
       export XMAIL_PID_DIR

#5 exit the Mail startup script / command line PID file wait code.

Find **ALL**
CODE
/var/run/$NAME.pid


Chnage TO:
CODE
$XMAIL_PID_DIR/$NAME.pid




This next step is for people with 1.24-
#4 chmod 770 /var/run
#5 chown root.dovcote /var/run


This solution works just like the "su" only it forces/sets more normal user created permissions on new folders and files.

Posted by: hschneider Jan 21 2008, 10:06 AM
THANX!

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)