summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
106540f)
mhbuild -headerencoding utf-8 but the SMTP server doesn't
support SMTPUTF8.
if (EHLOset ("8BITMIME") && EHLOset ("SMTPUTF8")) {
mail_parameters = " BODY=8BITMIME SMTPUTF8";
} else {
if (EHLOset ("8BITMIME") && EHLOset ("SMTPUTF8")) {
mail_parameters = " BODY=8BITMIME SMTPUTF8";
} else {
+ advise (NULL, "SMTP server does not support %s, not sending.\n"
+ "Rebuild message with 7-bit headers, WITHOUT -headerencoding utf-8.",
+ EHLOset ("SMTPUTF8") ? "8BITMIME" : "SMTPUTF8");
sm_end (NOTOK);
return RP_UCMD;
}
sm_end (NOTOK);
return RP_UCMD;
}
} else {
advise (NULL, "SMTP server does not support 8BITMIME, not sending.\n"
"Suggest encoding message for 7-bit transport by setting your\n"
} else {
advise (NULL, "SMTP server does not support 8BITMIME, not sending.\n"
"Suggest encoding message for 7-bit transport by setting your\n"
- "locale to C, and/or specifying *b64 in mhbuild directives.\n");
+ "locale to C, and/or specifying *b64 in mhbuild directives.");
sm_end (NOTOK);
return RP_UCMD;
}
sm_end (NOTOK);
return RP_UCMD;
}
post: SMTP server does not support 8BITMIME, not sending.
Suggest encoding message for 7-bit transport by setting your
locale to C, and/or specifying *b64 in mhbuild directives.
post: SMTP server does not support 8BITMIME, not sending.
Suggest encoding message for 7-bit transport by setting your
locale to C, and/or specifying *b64 in mhbuild directives.
post: problem initializing server; [BHST] ready; I'll buy that for a dollar!
send: message not delivered to anyone
EOF
post: problem initializing server; [BHST] ready; I'll buy that for a dollar!
send: message not delivered to anyone
EOF
QUIT
EOF
cat > "${testname}.expected.err" <<EOF
QUIT
EOF
cat > "${testname}.expected.err" <<EOF
+post: SMTP server does not support SMTPUTF8, not sending.
+Rebuild message with 7-bit headers, WITHOUT -headerencoding utf-8.
post: problem initializing server; [BHST] ready; I'll buy that for a dollar!
send: message not delivered to anyone
EOF
post: problem initializing server; [BHST] ready; I'll buy that for a dollar!
send: message not delivered to anyone
EOF