| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/mail/dkimproxy/files/ |
Upload File : |
--- scripts/dkimproxy.out.orig 2016-11-08 12:35:41 UTC
+++ scripts/dkimproxy.out
@@ -314,17 +314,11 @@ sub process_request
{
my $self = shift;
- # try to determine peer's address
- use Socket;
- my $peersockaddr = getpeername(STDOUT);
- my ($port, $iaddr) = sockaddr_in($peersockaddr);
- $ENV{REMOTE_ADDR} = inet_ntoa($iaddr);
-
# initialize syslog
eval
{
openlog("dkimproxy.out", "perror,pid,ndelay", "mail");
- syslog("debug", '%s', "connect from $ENV{REMOTE_ADDR}");
+ syslog("debug", '%s', "connect from $self->{server}->{peeraddr}");
};
if (my $E = $@)
{
@@ -713,7 +707,7 @@ which have a sender matching one of thes
matched domain as the d= value of the generated signature.
Please note that the d= value of the generated signature can also be
-specified using signature options (see L</"SIGNATURE OPTIONS"). The
+specified using signature options (see L</"SIGNATURE OPTIONS">). The
signature options will override the value specified here.
Therefore, if you want to sign all messages, and you are specifying