doc:appunti:linux:sa:authdaemon_problem
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| doc:appunti:linux:sa:authdaemon_problem [2007/06/07 13:01] – external edit 127.0.0.1 | doc:appunti:linux:sa:authdaemon_problem [2019/04/03 18:59] (current) – niccolo | ||
|---|---|---|---|
| Line 48: | Line 48: | ||
| The problem was solved changing the Exim4 authenticator as suggested by the [[http:// | The problem was solved changing the Exim4 authenticator as suggested by the [[http:// | ||
| + | |||
| + | ===== Crittografia TLS ===== | ||
| + | |||
| + | Per abilitare la crittografia TLS sulla connessione POP3 bisogna installare il pacchetto **courier-pop-ssl**, | ||
| + | |||
| + | < | ||
| + | +OK Hello there. | ||
| + | STLS | ||
| + | +OK Begin SSL/TLS negotiation now. | ||
| + | </ | ||
| ===== Tracing the Courier authdaemon socket ===== | ===== Tracing the Courier authdaemon socket ===== | ||
| Line 65: | Line 75: | ||
| my $line; | my $line; | ||
| my $auth_string; | my $auth_string; | ||
| + | |||
| + | if ( $#ARGV != 1 ) { | ||
| + | print " | ||
| + | exit 1; | ||
| + | } | ||
| socket(SOCK, | socket(SOCK, | ||
| connect(SOCK, | connect(SOCK, | ||
| - | $line = "exim\nlogin\n$login\n$pass\n"; | + | $line = "postfix\nlogin\n$login\n$pass\n"; |
| $line = length($line) . " | $line = length($line) . " | ||
| print "=== Send to socket: | print "=== Send to socket: | ||
| Line 166: | Line 181: | ||
| How to authenticate users with a login name like **user@doamain.org**, | How to authenticate users with a login name like **user@doamain.org**, | ||
| - | Compile | + | Create |
| < | < | ||
| - | info@2domain.org uid=1086|gid=1086|home=/ | + | info@2domain.org |
| |systempw=$1$GiNkrEZX$UTOWQkZZf0pp2TEOuyEu1/ | |systempw=$1$GiNkrEZX$UTOWQkZZf0pp2TEOuyEu1/ | ||
| </ | </ | ||
| + | |||
| + | **WARNING: | ||
| + | |||
| + | Compile the file with **'' | ||
| Add the **authuserdb** module to the **authmodulelist** into configuration file **''/ | Add the **authuserdb** module to the **authmodulelist** into configuration file **''/ | ||
| Line 181: | Line 200: | ||
| Reload the courier-authdaemon. | Reload the courier-authdaemon. | ||
| + | ===== Problema con dhparams.pem e SSL ===== | ||
| + | |||
| + | Facendo un aggiornamento Debian da Wheezy a Jessie la connessione cifrata SSL di IMAP e POP3 smette di funzionare. Pare che il problema sia nella lunghezza del file **''/ | ||
| + | |||
| + | < | ||
| + | couriertls: accept: error: | ||
| + | </ | ||
| + | |||
| + | |||
| + | Vedere i due bug report: [[https:// | ||
| + | |||
| + | < | ||
| + | DH_BITS=2048 mkdhparams | ||
| + | </ | ||
| + | |||
| + | oppure | ||
| + | |||
| + | < | ||
| + | cd / | ||
| + | openssl dhparam -out dhparams.pem 2048 | ||
| + | </ | ||
doc/appunti/linux/sa/authdaemon_problem.1181214061.txt.gz · Last modified: (external edit)
