summaryrefslogtreecommitdiff
path: root/src/recipient.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/recipient.c')
-rw-r--r--src/recipient.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/recipient.c b/src/recipient.c
index a118f38c7168..96e4a1d25d96 100644
--- a/src/recipient.c
+++ b/src/recipient.c
@@ -117,9 +117,11 @@ sortbysignature(xx, yy)
/* Let's avoid redoing the signature over and over again */
if (xx->q_signature == NULL)
- xx->q_signature = hostsignature(xx->q_mailer, xx->q_host, xx->q_flags & QSECURE);
+ xx->q_signature = hostsignature(xx->q_mailer, xx->q_host,
+ QISSECURE(xx), NULL);
if (yy->q_signature == NULL)
- yy->q_signature = hostsignature(yy->q_mailer, yy->q_host, yy->q_flags & QSECURE);
+ yy->q_signature = hostsignature(yy->q_mailer, yy->q_host,
+ QISSECURE(yy), NULL);
ret = strcmp(xx->q_signature, yy->q_signature);
/*
@@ -748,7 +750,7 @@ recipient(new, sendq, aliaslevel, e)
if (i == 0) /* equal */
{
/*
- ** Sortbysignature() has said that the two have
+ ** sortbysignature() has said that the two have
** equal MX RR's and the same user. Calling sameaddr()
** now checks if the two hosts are as identical as the
** MX RR's are (which might not be the case)
@@ -1600,7 +1602,6 @@ include(fname, forwarding, ctladdr, sendq, aliaslevel, e)
else
ev = NULL;
-
/* check for writable parent directory */
p = strrchr(fname, '/');
if (p != NULL)
@@ -1977,7 +1978,7 @@ sendtoargv(argv, e)
{
int len = 0;
- if (!SMTPUTF8 && !asciistr(p))
+ if (!SMTP_UTF8 && !asciistr(p))
{
usrerr("non-ASCII recipient address %s requires SMTPUTF8",
p);