I'm not able so sent emails anymore. Unfortunately that did not work.
Posted by: mmccarn
« on: January 29, 2014, 02:45:02 PM »
Insert Quote
I found a note about this at http://wiki.contribs.org/DB_Variables_Configuration#Miscellaneous_Other_DB_Variables -
Code: [Select]
config setprop smtp-auth-proxy PeerPort 465; signal-event email-update
SMTPSmartHost communications is managed by //usr/local/sbin/smtp-auth-proxy.pl, which includes a custom section for ssl if PeerPort == 465.
It looks as though if your ISP supports STARTTLS then (according to another section within //usr/local/sbin/smtp-auth-proxy.pl) you should end up with ssl encryption on port 25, too.
From /var/log/smtp-auth-proxy/current before I changed the port:
after I changed the port:
2014-02-12 08:32:19.928674500 2014/02/12-08:32:19 esmith::SMTPAuthProxy (type Net::Server::Fork) starting! pid(11882)
2014-02-12 08:32:20.028421500 Using default listen value of 128
2014-02-12 08:32:20.028423500 Binding to TCP port 26 on host localhost
2014-02-12 08:32:20.028424500 Setting gid to "99 99"
2014-02-12 08:32:20.028424500 Setting uid to "99"
2014-02-12 08:32:32.386960500 No SMTP connection to server smtp.strato.de on port 465
2014-02-12 08:34:26.250992500 No SMTP connection to server smtp.strato.de on port 465
2014-02-12 08:36:25.903174500 No SMTP connection to server smtp.strato.de on port 465
2014-02-12 08:41:07.998567500 No SMTP connection to server smtp.strato.de on port 465
From /var/log/messages:
Feb 12 08:59:08 saturn esmith::event[12390]: generic_template_expand=action|Event|email-update|Action|generic_template_expand|Start|1392191944 389374|End|1392191948 422398|Elapsed|4.033024
Feb 12 08:59:08 saturn esmith::event[12390]: Running event handler: /etc/e-smith/events/email-update/S20qmail-update-user
Feb 12 08:59:08 saturn esmith::event[12390]: WARNING: Invalid group: michael, defaulting to 'root' group (0).
Feb 12 08:59:08 saturn esmith::event[12390]: at /etc/e-smith/events/email-update/S20qmail-update-user line 60
From /var/log/qmail/current:
2014-02-12 08:41:07.904263500 starting delivery 285: msg 230001330 to remote XXX@kabelbw.de
2014-02-12 08:41:07.904365500 status: local 0/20 remote 1/20
2014-02-12 08:41:07.998762500 delivery 285: deferral: Connected_to_127.0.0.1_but_greeting_failed./Remote_host_said:_451_Upstream_SMTP_server_not_available/
2014-02-12 08:41:07.998768500 status: local 0/20 remote 0/20
I changed the port back to 25:
[root@saturn ~]# config setprop smtp-auth-proxy PeerPort 25; signal-event email-update
[root@saturn ~]# config show smtp-auth-proxy
smtp-auth-proxy=service
Debug=disabled
Passwd=XXX
PeerPort=25
Userid=XXX@XXX.de
status=enabled
/var/log/smtp-auth-proxy/current:
2014-02-10 07:41:22.203743500 2014/02/10-07:41:22 esmith::SMTPAuthProxy (type Net::Server::Fork) starting! pid(1692)
2014-02-10 07:41:22.205559500 Using default listen value of 128
2014-02-10 07:41:22.205594500 Binding to TCP port 26 on host localhost
2014-02-10 07:41:22.311578500 Setting gid to "99 99"
2014-02-10 07:41:22.311580500 Setting uid to "99"
2014-02-12 09:01:06.486311500 No SASL mechanism found
2014-02-12 09:01:06.486312500 at /usr/lib/perl5/vendor_perl/5.8.8/Authen/SASL.pm line 77
2014-02-12 09:01:06.486313500 at /usr/lib/perl5/5.8.8/Net/SMTP.pm line 137
I read bug 6993, but this is beyond my knowledge.
Could anybody advise please?