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 revision | ||
doc:appunti:linux:sa:authdaemon_problem [2011/07/26 10:46] – [Crittografia TLS] niccolo | doc:appunti:linux:sa:authdaemon_problem [2019/04/03 18:59] (current) – niccolo | ||
---|---|---|---|
Line 58: | Line 58: | ||
+OK Begin SSL/TLS negotiation now. | +OK Begin SSL/TLS negotiation now. | ||
</ | </ | ||
+ | |||
===== Tracing the Courier authdaemon socket ===== | ===== Tracing the Courier authdaemon socket ===== | ||
Line 74: | 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 175: | 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 190: | 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.txt · Last modified: 2019/04/03 18:59 by niccolo