Thank you so much Sam. That helped a lot!

Daniel



At 11:04 AM 10/16/2013, Sam Clippinger wrote:
-----------------------------------------------------------------------
Interesting -- this question was asked just a few days ago.

At the time, I said: 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!

Dossy Shiobara then pointed out: Personally, I use the same spamdyke 
conf file, and do NOT include "tls-level" in the conf file, only the 
tls-certificate-file and tls-privatekey-file directives.  I run the 
config file as-is on 25/tcp, and on 465/tcp I run it like "spamdyke 
--tls-level=smtps" ... and it works great.  Having to maintain two 
separate config files was just no fun.

-- Sam Clippinger




On Oct 16, 2013, at 10:42 AM, [email protected] wrote:

 > Hello,
 >
 > I am trying to set-up my Spamdyke to accept TSL/SSL connections on 
port
 > 465 for users with SMTP relay privileges, but also to accept
 > non-TSL/SSL connections on port 25 and 26 to receive external 
e-mails
 > and for users who do not have SSL set-up on their e-mail program.
 >
 > I have tried tls-level=smtp and tls-level=smtp-no-passthrough which
 > works great for non-SSL connections, but produces an error in the
 > e-mail program when it is set to use SSL/TLS to connect to the 
server.
 >
 > When I tried tls-level=smtps it works great for the e-mail program 
set
 > to use SSL/TLS to connect to the server, but rejects all non-SSL
 > connections.
 >
 > Does anyone have a solution to my dilemma?
 >
 > I use Spamdyke with Qmail and Dovecot.
 >
 > Thanks,
 > Daniel
 >
 > _______________________________________________
 > 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

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

Reply via email to