2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
arkadi |
Posted: Jan 31 2005, 11:24 PM
|
||||
Newbie Group: Members Posts: 1 Member No.: 1491 Joined: 31-January 05 |
The topic about Dovecot and XMail was nice but it introduce additional step before Dovecot can see changes in XMail user database - administrator must run xmail2dovecot.php to update dovecotusers.tab which could be a problem if users are managed via PHPXMail, for example. Another solution is to use pam_pop3 module to authenticate users against XMail directly. 1. Install pam_pop3 Download source from ftp://ftp.freebsd.org/pub/FreeBSD/distfil...pop3-1.0.tar.gz unpack and run make. Copy resulted pam_pop3.so to /lib/security directory. In case make fails with many syntax errors - you need PAM development headers to be installed. Install them from your distribution package, something like pam-devel...rpm (RedHat/etc.) or libpam0g-dev (Debian). If you are on *BSD then use security/pam_pop3 port. 2. Dovecot and XMail non-root UID setup Perform necessary steps to run XMail and Dovecot under single non-root UID as described in above mentioned topic. These non-root UID guides are ok too - XMail No Root and A small how-to for running chrooted XMail (no need to chroot). 3. Additional configuration Dovecot config:
uid=108 is UID Dovecot and XMails runs under. Put into /etc/pam.d/dovecot:
hostname=localhost is where XMail is running. There is also port= parameter to change POP3 port - you could skip XMail pop3 20110 port mapping with Iptables, enable Dovecot POP3 service and run your mail server frontend services entirely by Dovecot, in that case you need port=. |
||||
hschneider |
Posted: Feb 1 2005, 07:38 AM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
Thanks for this nice howto!
-------------------- 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 |