diff options
author | Brian Somers <brian@FreeBSD.org> | 2004-07-23 13:48:11 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2004-07-23 13:48:11 +0000 |
commit | c8aed175f93ba845c06edc64301477059a44fc26 (patch) | |
tree | 75b0fc55417fc3e970f4b39bd3f6dbb81e68274c /mail | |
parent | 01d8ab37b94e668f0afa09696c7e43ccbefb5740 (diff) |
Remove the HeloName patch at the request of the author
Notes
Notes:
svn path=/head/; revision=114493
Diffstat (limited to 'mail')
-rw-r--r-- | mail/milter-sender/files/patch-af | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/mail/milter-sender/files/patch-af b/mail/milter-sender/files/patch-af deleted file mode 100644 index e10da2f13e87..000000000000 --- a/mail/milter-sender/files/patch-af +++ /dev/null @@ -1,27 +0,0 @@ ---- milter-sender.c.orig Fri Jul 9 09:36:28 2004 -+++ milter-sender.c Thu Jul 15 01:18:13 2004 -@@ -387,6 +387,7 @@ - static StringOption milterCf = { 0, "MilterCf", MILTER_CF, "read a milter configuration file of command line options" }; - static StringOption milterSocket = { 0, "MilterSocket", NULL, "(REQUIRED) the sendmail/milter socket type & name; see INPUT_MAIL_FILTER" }; - static StringOption publicIp = { 0, "PublicIp", NULL, "the public IP address of this machine, when behind a NAT/firewall" }; -+static StringOption heloName = { 0, "HeloName", NULL, "the host name to use when we send a HELO" }; - static StringOption sendmailCf = { 0, "SendmailCf", SENDMAIL_CF, "pathname of the sendmail.cf file; set empty to disable use of databases" }; - - static StringOption *stringOptions[] = { -@@ -395,6 +396,7 @@ - &milterCf, - &milterSocket, - &publicIp, -+ &heloName, - &sendmailCf, - (StringOption *) 0 - }; -@@ -1342,7 +1344,7 @@ - static int - mxHelo(workspace data, int *code) - { -- (void) snprintf(data->line, sizeof (data->line), "HELO %s\r\n", smfi_getsymval(data->work.ctx, macro_if_name)); -+ (void) snprintf(data->line, sizeof (data->line), "HELO %s\r\n", heloName.value == NULL ? smfi_getsymval(data->work.ctx, macro_if_name) : heloName.value); - return mxCommand(data, data->line, 250, code, MX_ERROR_HELO); - } - |