Re: Postfix + Cyrus Sasl problem

2013-12-18 Thread Andrew Morgan

On Wed, 18 Dec 2013, Eric Abreu Alamo wrote:


 Hello all:

  Recently I have been trying to install and configure Postfix + Cyrus + 
Sasl auth (with smtp auth) and i found the following problem. I have 
installed and configured Cyrus, Postfix and Sasl, and everything is 
right until smtp auth. When I edit the /etc/default/saslauthd file and I 
change the line OPTIONS="-c -m /var/run/saslauthd" by OPTIONS="-c -m 
/var/spool/postfix/var/run/saslauthd" where postfix chroot directory is, 
and i run dpkg-stateoverride with 750, 7 for root user owner and 5 sasl 
group, I restart those services and after do that, I got the smtp auth 
but Cyrus authentication service fail, then I can't to access through 
imap service. Somebody have configured those daemons before? Im using 
Ubuntu 12.04 LTS OS.


Try setting this in /etc/imapd.conf:

  sasl_saslauthd_path: /var/spool/postfix/var/run/saslauthd/mux

Found it here:

  http://www.cyrusimap.org/docs/cyrus-sasl/2.1.25/options.php

Andy
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Postfix + Cyrus Sasl problem

2013-12-18 Thread Dan White
On 12/18/13 16:25 -0500, Eric Abreu Alamo wrote:
> Hello all:
> 
>Recently I have been trying to install and configure Postfix + Cyrus +
>Sasl auth (with smtp auth) and i found the following problem. I have
>installed and configured Cyrus, Postfix and Sasl, and everything is right
>until smtp auth. When I edit the /etc/default/saslauthd file and I change
>the line OPTIONS="-c -m /var/run/saslauthd" by OPTIONS="-c -m
>/var/spool/postfix/var/run/saslauthd" where postfix chroot directory is,
>and i run dpkg-stateoverride with 750, 7 for root user owner and 5 sasl
>group, I restart those services and after do that, I got the smtp auth but
>Cyrus authentication service fail, then I can't to access through imap
>service. Somebody have configured those daemons before? Im using Ubuntu
>12.04 LTS OS.

You can modify the path that cyrus imapd uses, assuming that is has
appropriate file permissions to do so, with (in /etc/imapd.conf):

sasl_saslauthd_path: /var/spool/postfix/var/run/saslauthd/mux

although it may make more since to just unchroot your smtpd process(es)
within /etc/postfix/master.cf.

Another option is to run two saslauthd instances, one using the default mux
path, and the second underneath the postfix chroot.

-- 
Dan White

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Postfix + Cyrus Sasl problem

2013-12-18 Thread Eric Abreu Alamo
 Hello all:

 
Recently I have been trying to install and configure Postfix + Cyrus + Sasl 
auth (with smtp auth) and i found the following problem. I have installed and 
configured Cyrus, Postfix and Sasl, and everything is right until smtp auth. 
When I edit the /etc/default/saslauthd file and I change the line OPTIONS="-c 
-m /var/run/saslauthd" by OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd" 
where postfix chroot directory is, and i run dpkg-stateoverride with 750, 7 for 
root user owner and 5 sasl group, I restart those services and after do that, I 
got the smtp auth but Cyrus authentication service fail, then I can't to access 
through imap service. Somebody have configured those daemons before? Im using 
Ubuntu 12.04 LTS OS.

 
Thanks in advance


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus