Re: Athentication problem (SOLVED)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dan,


> It looks like you have specified PLAIN as your only mechanism 
> within imapd.conf, and I'm guessing you have 'allowplaintext: 
> yes' set as well.
> 
> LOGIN is more typical within SMTP connections, so I would add it. 
> I'm not aware of any equivalent 'allowplaintext' option within 
> Postfix. I don't think you need one.


$ grep allowplaintext /etc/imapd.conf
allowplaintext: yes


$ grep alllowplaintext /etc/postfix/main.cf
$ grep plain /etc/postfix/main.cf
$ grep text /etc/postfix/main.cf
all without printout


> You will also need to create a SASL config file for Postfix which 
> matches this configuration, to get similar authentication 
> functionality. Typically, you'd create the file 
> '/etc/postfix/sasl/smtpd.conf' and put these lines into it (I 
> would add LOGIN):
> 
> mech_list: PLAIN LOGIN
> pwcheck_method: saslauthd
> auto_transition: no
> saslauthd_path: /var/spool/postfix/var/run/saslauthd/mux
> 
> however, if you are running your postfix chrooted, which appears 
> to be the case, then you'll want to change that last line to:
> 
> saslauthd_path: /var/run/saslauthd/mux


$ grep saslauthd_path /etc/imapd.conf
sasl_saslauthd_path: /var/spool/postfix/var/run/saslauthd/mux


$ locate mux | grep saslauthd
/var/spool/postfix/var/run/saslauthd/mux
/var/spool/postfix/var/run/saslauthd/mux.accept


The path is "/var/spool/postfix/var/run/saslauthd/mux"


$ sudo nano /etc/postfix/sasl/smtpd.conf
Password:

adding following lines on the file:
mech_list: PLAIN LOGIN
pwcheck_method: saslauthd
auto_transition: no
sasl_saslauthd_path: /var/spool/postfix/var/run/saslauthd/mux


$ sudo /etc/init.d/postfix restart
 * Stopping Postfix Mail Transport Agent postfix    [ ok ] 
 * Starting Postfix Mail Transport Agent postfix    [ ok ] 


$ sudo /etc/init.d/saslauthd restart
Stopping SASL Authentication Daemon: saslauthd.
Starting SASL Authentication Daemon: saslauthd.


$ sudo /etc/init.d/cyrus2.2 restart
Stopping Cyrus IMAPd: cyrmaster.
Waiting for complete shutdown...
Starting Cyrus IMAPd: cyrmaster.


Start Evolution on local machine.  Now users can send and receive mails
via/on the server.


Thanks again for your assistance


B.R.
Stephen 

Send instant messages to your online friends http://uk.messenger.yahoo.com 

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux