Re: [Exim] Fixing exim_checkaccess (doesn't helo)

Top Page
Delete this message
Reply to this message
Author: Nico Erfurth
Date:  
To: Marc MERLIN
CC: exim-users
Subject: Re: [Exim] Fixing exim_checkaccess (doesn't helo)
Marc MERLIN wrote:
> exim_checkaccess issues a mail from without doing helo.
>
> Could it be quickly fixed to do a helo `hostname -f` first?


This is not exactly what you wanted, but should work too.

--- exim-4.12.new/src/exim_checkaccess.src      Wed Jan  8 16:42:35 2003
+++ exim-4.12/src/exim_checkaccess.src  Tue Dec 17 12:32:51 2002
@@ -117,7 +117,6 @@
  # Run a -bh test in Exim, passing the test data


$pid = open2(*IN, *OUT, "$exim_path -bh $host $opt 2>/dev/null");
-print OUT "HELO [$host]\r\n";
print OUT "MAIL FROM:<$sender>\r\n";
print OUT "RCPT TO:<$recipient>\r\n";
print OUT "QUIT\r\n";