On 3/1/2011 9:34 AM, kapetr wrote:
Hello again,

I have to report, that I have find a solution - over stunnel4.

This I add to main.cf:

------------------
smtp_sasl_auth_enable = yes
relayhost = [127.0.0.1]:10111
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
--------------------

And so looks my (first I ever made - and at the first attempt :-)
stunel conf:
---------------------
foreground = yes

[ssmtp_c2s]
accept = 127.0.0.1:10111
client = yes
connect = smtp.iol.cz:465
delay = yes
;protocol = smtp
------------------------

# sudo stunnel4 ./stunel.conf

I myself do not can believe it, but it works :-D
Before I could test it manually, my queued messages finally gone :-)

But ... it is Although nice, but I thing not very system - correct
solution.

So is there a possibility to do it correct - via Postfix
configuration ?


The above is the correct solution if port 587 isn't available at the ISP.


  -- Noel Jones

Reply via email to