Hi all! I'm having trouble installing SSL certificates on my blueonyx-5106R-i386-5.5_BXSOL4_20100923
I have received the certificate from RapidSSL, and to import it i make a file with both the certificate and the private key. The file contains something similar to: -----BEGIN RSA PRIVATE KEY----- <CUTTED TEXT> -----END RSA PRIVATE KEY----- ----BEGIN CERTIFICATE----- <CUTTED TEXT> -----END CERTIFICATE----- When i import it via control panel, it's all ok. BUT smtps does not work: when i look at the file /usr/share/ssl/certs/sendmail.pem i see something similar to: -----BEGIN RSA PRIVATE KEY----- <CUTTED TEXT> -----END RSA PRIVATE KEY---------BEGIN CERTIFICATE----- <CUTTED TEXT> -----END CERTIFICATE----- without the \n between the two certificates. When i put the \n between them smtps starts working. Am i doing something wrong? Regards SImone _______________________________________________________ Simone Capra E.R. WEB - s.r.l. P.zza Risorgimento,12 13100 - Vercelli tel. +39 0161 210090 mob. +39 335 5257182 Mail: ca...@erweb.it http://www.erweb.it _______________________________________________________ Problemi con le configurazioni di posta elettronica? http://www.erweb.it/manuali/manuale_configurazione_posta.pdf http://www.dnsqueries.com Il 11/10/2011 05:56 PM, Ken - Precision Web Hosting, Inc ha scritto: > > ----- Original Message ----- > From: "Simone Capra @ E.R.WEB - s.r.l."<ca...@erweb.it> > To:<blueonyx@mail.blueonyx.it> > Sent: Thursday, November 10, 2011 1:38 AM > Subject: [BlueOnyx:09009] Saslauthd > > >> Hi everybody! >> >> I'm having troubles with SASLAUTHD that dies and users cannot login into >> their >> pop3 account. >> >> I am running a box with aventurine and a single virtual machine running >> blueonyx-5106R-i386-5.5_BXSOL4_20100923 >> >> the problem is that sometimes (3 times in the last 24 hours) SASLAUTHD >> dies and >> users cannot login anymore.... >> >> Any idea? >> >> TKS >> _______________________________________________________ >> Simone Capra > > Simone > > Possibly there is a brute force password guessing type of attack on the > email accounts. > cat /var/log/maillog | grep ogin > > > If a dovecot restart fixes it, then you could have a cron that runs a perl > script something like the one below to check and restart if necessary > > #!/usr/bin/perl > # import package > use Net::POP3; > > $errormsg = "all good"; > > $host = "localhost"; > chomp($host); > > $user = "admin"; > chomp($user); > > $pass = "your email account password here"; > chomp($pass); > > # initiate connection > # default timeout = 120 sec > $conn = Net::POP3->new($host) or die("ERROR: Unable to connect.\n"); > > # login > $numMsg = $conn->login($user, $pass) or $errormsg= "cannot login restart > dovecot"; > > > if ( $errormsg =~ /cannot/ ) { > print $errormsg; > system ("/etc/rc.d/init.d/dovecot restart"); > } > > > # display number of messages > if ($numMsg> 0) { > print "Mailbox has $numMsg message(s).\n"; > } else { > print "Mailbox is empty.\n"; > } > > # close connection > $conn->quit(); > > > > ---- > Ken Marcus > Precision Web Hosting, Inc. > http://www.precisionweb.net > > > > > _______________________________________________ > Blueonyx mailing list > Blueonyx@mail.blueonyx.it > http://mail.blueonyx.it/mailman/listinfo/blueonyx > _______________________________________________ Blueonyx mailing list Blueonyx@mail.blueonyx.it http://mail.blueonyx.it/mailman/listinfo/blueonyx