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 -> Xmail + Dovecot Take 2

Reply to this topicStart new topicStart Poll

> Xmail + Dovecot Take 2, another way to setup XMail with dovecot.
NomadCF
Posted: Jan 18 2008, 03:10 PM
Quote Post


Wizard
*********

Group: Members
Posts: 428
Member No.: 434
Joined: 21-January 03



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.


--------------------
-- Chris L. Franklin --
www.NomadCF.com

All my scripts are written for linux servers.
My XMail scripts
PMEmail PosterUsers WebsiteAOL
Top
hschneider
Posted: Jan 21 2008, 10:06 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



THANX!


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Documentation and Knowledge Base | Next Newest »

Reply to this topicStart new topicStart Poll