Most likely, the problem is that you're using the same spamdyke.conf file for 
both SSL and non-SSL connections.  When you change the configuration file to 
"tls-level=smtp", the non-SSL works but SSL does not.  When you change it to 
"tls-level=smtps", SSL works but non-SSL does not.  The solution here is to use 
two configuration files.  In your smtps_psa file, use a configuration file that 
contains "tls-level=smtps".  In your smtp_psa file, use a configuration file 
that contains "tls-level=smtp".  Then signal xinetd to restart and you should 
have it!

-- Sam Clippinger




On Oct 10, 2013, at 11:37 PM, Les Fenison wrote:

> The docs say SSL and TLS are the same thing but I think we all know better..  
> I am not an expert so I am not sure of the differences except that when in 
> Outlook configuring the send/receive settings, we have a choice of None, SSL, 
> or TLS.
> 
> TLS succeeds, SSL fails until I make this change..
> 
> tls-level=smtps
> 
> But when I do that, we suddenly stop receving emails from servers like gmail 
> and many others.   While the mail flow doesn't stop entirely, it is blocking 
> about 50% because of this.
> 
> So,  how can we have it both ways?   I want my customers to be able to use 
> SSL or TLS, yet I want to be able to receive mail from all mail servers..   
> Is this possible?   Here is some of my configuration that may apply..
> 
> 
> smtp-auth-level=observe
> smtp-auth-command=/var/qmail/bin/smtp_auth /var/qmail/bin/true 
> /var/qmail/bin/cmd5checkpw /bin/true
> hostname=zeus.mydomain.com
> #hostname-file=FILE
> #hostname-command=COMMAND
> tls-level=smtp
> tls-certificate-file=/var/qmail/control/servercert.pem
> #tls-privatekey-file=FILE
> #tls-privatekey-password=PASSWORD
> #tls-privatekey-password-file=FILE
> 
> Running spamdyke 4.3.1+TLS+CONFIGTEST+DEBUG 
> Server is Plesk 11.5
> CentOS 6.4
> 
> In my smtps_psa file I have this...
> 
> service smtps
> {
>     socket_type     = stream
>     protocol        = tcp
>     wait            = no
>     disable     = no
>     user            = root
>     flags       = IPv6
>     instances       = UNLIMITED
>     env             = SMTPAUTH=1
>     server          = /var/qmail/bin/tcp-env
>     server_args     = -Rt0 /usr/local/bin/spamdyke -f /etc/spamdyke.conf 
> /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth 
> /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
> }
> 
> 
> 
> Any help would be appreciated.
> 
> <les.vcf>_______________________________________________
> spamdyke-users mailing list
> [email protected]
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users

_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to