User Tools

Site Tools


doc:appunti:linux:sa:authdaemon_problem

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
doc:appunti:linux:sa:authdaemon_problem [2011/07/26 10:46] – [Courier authdaemon problem] niccolodoc:appunti:linux:sa:authdaemon_problem [2012/09/03 17:19] – [Authenticate with an alternative login name] niccolo
Line 51: Line 51:
 ===== Crittografia TLS ===== ===== Crittografia TLS =====
  
-Per abilitare la crittografia TLS sulla connessione POP3 bisogna installare il pacchetto **courier-pop-ssl**, per verificare se TLS è disponibile basta eseguire il comando **''STLS''** dentro una sessione POP3, la risposta deve essere qualcosa del genere: **''+OK Begin SSL/TLS negotiation now.''**.+Per abilitare la crittografia TLS sulla connessione POP3 bisogna installare il pacchetto **courier-pop-ssl**, per verificare se TLS è disponibile basta eseguire il comando **''STLS''** dentro una sessione POP3, la risposta deve essere qualcosa del genere: 
 + 
 +<code> 
 ++OK Hello there. 
 +STLS 
 ++OK Begin SSL/TLS negotiation now. 
 +</code>
 ===== Tracing the Courier authdaemon socket ===== ===== Tracing the Courier authdaemon socket =====
  
Line 169: Line 175:
 How to authenticate users with a login name like **user@doamain.org**, instead of the Unix system name (Debian GNU/Linux 4.0 Etch). How to authenticate users with a login name like **user@doamain.org**, instead of the Unix system name (Debian GNU/Linux 4.0 Etch).
  
-Compile a password file **''/etc/courier/userdb''** with all the relevant information (**do not break the line!**):+Create a password file **''/etc/courier/userdb''** with all the relevant information (**do not break the line!**):
  
 <file> <file>
-info@2domain.org uid=1086|gid=1086|home=/home/info|shell=/bin/false+info@2domain.org    uid=1086|gid=1086|home=/home/info|shell=/bin/false
     |systempw=$1$GiNkrEZX$UTOWQkZZf0pp2TEOuyEu1/|mail=/home/info/Maildir     |systempw=$1$GiNkrEZX$UTOWQkZZf0pp2TEOuyEu1/|mail=/home/info/Maildir
 </file> </file>
 +
 +**WARNING:** after the login name there must be a **tab character**, not spaces.
 +
 +Compile the file with **''makeuserdb''**.
  
 Add the **authuserdb** module to the **authmodulelist** into configuration file **''/etc/courier/authdaemonrc''**: Add the **authuserdb** module to the **authmodulelist** into configuration file **''/etc/courier/authdaemonrc''**:
doc/appunti/linux/sa/authdaemon_problem.txt · Last modified: 2019/04/03 18:59 by niccolo