<div>Sziasztok,</div>
<div> </div>
<div>Segítséget kérek egy postfix + vacation hibával kapcsolatban.</div>
<div> </div>
<div>A legutolsó port updateig - amit kb egy hónapja végeztem - jól működött a postfix és vacation páros.</div>
<div> </div>
<div>
<div>root@nux:/usr/local/lib/perl5/site_perl/5.14/Mail # pkg_info | grep postfix<br />
postfix-2.11.0,1 Secure alternative to widely-used Sendmail<br />
postfixadmin-2.3.6 PHP web-based management tool for Postfix virtual domains a<br />
root@nux:/usr/local/lib/perl5/site_perl/5.14/Mail # pkg_info | grep perl<br />
p5-ExtUtils-Config-0.007 Wrapper for perl configuration<br />
p5-Log-Log4perl-1.42 Log4j implementation for Perl<br />
p5-perl-ldap-0.5800 Client interface to LDAP (includes Net::LDAP)<br />
perl5.14-5.14.4_6 Practical Extraction and Report Language<br />
root@nux:/usr/local/lib/perl5/site_perl/5.14/Mail # perldoc -l Mail::Sender<br />
/usr/local/lib/perl5/site_perl/5.14/Mail/Sender.pm</div>
<div> </div>
</div>
<div>Most a következő hibával nem küldi vissza a leveleket a feladónak ( az üzenet a vacation.log-ban van):</div>
<div> </div>
<div>ERROR> /var/spool/vacation/vacation.pl:464 main::send_vacation_email - Failed to send vacation response: Connection not established</div>
<div> </div>
<div>Ha minden igaz, megtaláltam a hibát, megoldást, de nem tudom alkalmazni:</div>
<div> </div>
<div>http://ehc.ac/p/postfixadmin/discussion/676076/thread/1c4de744/</div>
<div> </div>
<div>Az írja a legutolsó bejegyzés, hogy ez a megoldás:</div>
<div> </div>
<div>
<p><span style="font-family:courier new,courier,monospace">O.K. problem is solved now. It has something to do with self-signed certificates and the perl module Mail::Sender. Obviously there is an issue that Mail::Sender is not refer to the right own self-signed certificate. See also post here: <a href="https://rt.cpan.org/Public/Bug/Display.html?id=85438" rel="nofollow">https://rt.cpan.org/Public/Bug/Display.html?id=85438</a><br />
But with a workaround from Steffen Ullrich called "SSLFix.pl" together with a IO::Socket::SSL version 1.982 here: <a href="https://github.com/noxxi/p5-io-socket-ssl" rel="nofollow">https://github.com/noxxi/p5-io-socket-ssl</a><br />
this issue can be avoided. Just put a "use SSLFix" in the Mal::Sender source code and everything works like a charm.</span></p>
<p><span style="font-family:courier new,courier,monospace">Here is the code for "SSLFix.pl"</span></p>
<div><span style="font-family:courier new,courier,monospace">--------------------------- SSLFix.pm -----------------------------------</span></div>
<p><span style="font-family:courier new,courier,monospace">use strict;<br />
use warnings;<br />
package SSLFix;<br />
use IO::Socket::SSL 1.982;</span></p>
<p><span style="font-family:courier new,courier,monospace">IO::Socket::SSL::set_args_filter_hack( sub {<br />
my ($is_server,$args) = @_;<br />
# CA mit CN=server3.presseservicebuero.de/emailAddress=jens.struck@germanonlinepublisher.com<br />
# über Fingerprint als trusted angeben<br />
$args->{SSL_fingerprint} = 'sha1$e3dd23963cae604403ead7767d600568a6667178'<br />
if ! $is_server;<br />
});</span></p>
<p><span style="font-family:courier new,courier,monospace">1;</span></p>
<p> </p>
<p>No most nem vagyok egy perl guru, de hova is kell ezt beírni?</p>
<p>Vagy, ha van jobb megoldásotok, azt köszönöm előre is.</p>
<p> </p>
<p>Üdv:Csabi</p>
<p> </p>
</div>