Closed fy138 closed 6 years ago
i modify the code ,but not better ` # pass on whatever the relayhost said in response
my $destresp = $client->hear;
if ($what =~ /^ehlo/i){ $smtp_server->ok("250-mail.xxxxx.com\r\n250-PIPELINING\r\n250-SIZE 26214400\r\n250-ETRN\r\n250-AUTH PLAIN LOGIN\r\n250-XFORWARD NAME ADDR PROTO HELO SOURCE PORT IDENT\r\n250-ENHANCEDSTATUSCODES\r\n250-8BITMIME\r\n250 DSN") or die "Error in server->ok(client->hear): $!"; }else{ $smtp_server->ok($destresp) or die "Error in server->ok(client->hear): $!"; } `
my postfix server support TLS , when we send ehlo it will get 250-STARTTLS and spampd same a smtp-proxy , then postfix client connect to spampd use TLS but it not work , and massage still in queue waiting connect timeout