doc:appunti:linux:sa:authdaemon_problem
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:appunti:linux:sa:authdaemon_problem [2011/07/26 10:46] – [Courier authdaemon problem] niccolo | doc:appunti:linux:sa:authdaemon_problem [2019/04/03 18:46] – [Tracing the Courier authdaemon socket] 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 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 68: | Line 74: | ||
my $line; | my $line; | ||
my $auth_string; | my $auth_string; | ||
+ | |||
+ | if ($login == '' | ||
+ | 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 169: | Line 180: | ||
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 184: | Line 199: | ||
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.txt · Last modified: 2019/04/03 18:59 by niccolo