Wednesday, 30 November 2011

I'm Spartacus !



I've come across the online spat between several bloggers and the the Burszynski clinic  about the  cancer treatments that they offer.
It started with a teenager, Rhys Morgan,  and has been picked up by the Guardian.
The clinic got a bit upaset about this and Rhys has posted the correspondence on line , in a post entitled 'threats from the  Burszynski clinic'.

a good summary of the whole treatment and why it has not been pursued more widely by the scientific community (from here)

Burzynski’s results have not been replicated by other researchers, and the cancer research community does not seem interested in his work. This is not because of any conspiracy – they just recognize crap when they see it


A few more internet references  :

Comprehensive list of internet references and other articles

Some history of antineoplastons and Dr Burszynski

A Summary of some technical details about antineoplastons from  quackwatch

I think the appropriate response would be to refer the Burszynski clinic to the case of Arkell vs Pressdram





Friday, 25 November 2011

Exim and multiple SMTP hosts

one of the charitable websites that  I do,  Woolsack  , has enrolled 380 people who want to receive the occasional  newsletter.  I set up a mailman mailing list courtesy of cpanel and the hosting, but after some problems, discovered that the hosting  limits emails to 150  in an hour. So of my 380 mailing list , under half were being delivered and the rest were being dumped, without warning. And there was no way to rate-limit the sending.
One suggestion from them was  to  have several lists , each of 150 , and to send them out an hour apart, but thats not practical.

So Ive written a  perl script that will send out emails , with a 30 second pause between them. But what about the  sending ? I think all ISP will  limit emails sent in some way. its difficult to find out what the  limit is.
In addition some spam filters will label as spam emails where the 'from' domain is different to the  server it is sent through.

For my hard-wired cable connection it is accepts emails on port 25 with no authentication, but the ISPs require authentication. Ive got exim as the software on my server .

Here's where I started. http://www.volker-wegert.de/en/node/35
 There is a difference between TLS and SSL , explained here

TLS is the easy one : 

Google  settings listed here  uses TLS/STARTTLS:
so my lookup file contains


$ less /etc/exim4/smtp_users
*@gmail.com: smarthost="smtp.gmail.com::587"  auth_name="xxxx@gmail.com"    auth_pass="xxxxxx"



and the router  in exim

smarthost_auto:
debug_print ="T. auto_route remote_smtp for $local_part@$domain from $sender_address "
condition = ${extract{smarthost}{${lookup{$sender_address}wildlsearch{/etc/exim4/smtp_users}{$value}fail}}}
   driver = manualroute
   domains = ! +local_domains
   route_list = "* ${extract{smarthost}{${lookup{$sender_address}wildlsearch{/etc/exim4/smtp_users}{$value}fai
l}}}"
   transport = remote_smtp


 and the transport

remote_smtp:
driver=smtp
hosts_require_tls = smtp.gmail.com::587
hosts_require_auth = smtp.gmail.com::587









Exim  versions <4.77 dont do SSL, and the suggestion  is to combine it with stunnel .I installed stunnel 

sudo apt-get install  stunnel

and configured stunnel

$ grep ^[A-Za-z] /etc/stunnel/stunnel.conf
sslVersion = SSLv3
chroot = /var/lib/stunnel4/
setuid = stunnel4
setgid = stunnel4
pid = /stunnel4.pid
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
debug = 3
output = /var/log/stunnel4/stunnel.log
client = yes
accept  = 26
connect = smtp.isp.com:465
:~$ 

 
 
and started it
( etc/init.d/stunnel start)

and then tested the connection 

~$ telnet localhost 26
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220-mail.isp.com ESMTP Exim 4.69 #1 Tue, 29 Nov 2011 11:30:38 +0000
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.


and configure the smtp user 

 cat /etc/exim4/smtp_users | grep local
*@isp.com smarthost="localhost::26" auth_name="me@isp.com"  auth_pass="xxxxx"


but one last step,  when it still asked for authentication, that I found here
and the transport becomes 

debug_print = "T: remote_smtp for $local_part@$domain"driver = smtp
hosts_require_tls = smtp.gmail.com::587
hosts_require_auth = smtp.gmail.com::587
tls_certificate = CONFDIR/exim.crt
tls_privatekey = CONFDIR/exim.key




 








Thursday, 24 November 2011

Ice/SliceChecksumDict.ice

the quick answer

apt-get --reinstall  install l ice33-slice mumble-server

I've got round to upgrading my ubuntu server from lucid to natty.
off it went  -asking the usual questions. 45minutes later and everything seemed to be OK..


But apache didn't start -  no error message when started from the commandline . but this was in the log file

~# tail /var/log/apache2/error.log
    #include 
<Ice/SliceChecksumDict.ice>1 error in preprocessor.
PHP Fatal error:  Unable to start ice module in Unknown on line 0
/usr/share/slice/Murmur.ice:9: error: Can't open include file "Ice/SliceChecksumDict.ice"
    #include 
1 error in preprocessor.
PHP Fatal error:  Unable to start ice module in Unknown on line 0

Google took me here  - I'm not alone .
https://bugs.launchpad.net/ubuntu/+source/zeroc-ice/+bug/551871

The  symlinks were already in   place so that wasnt the answer, so I then went here.  Thankfully  my O-level french was up to it .

http://forum.ubuntu-fr.org/viewtopic.php?id=520101
and the answer

apt-get --reinstall  install l ice33-slice mumble-server