aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 17b852d0..d03c4730 100644
--- a/driver.c
+++ b/driver.c
@@ -424,6 +424,10 @@ struct hostrec *queryctl;
headers = NULL;
}
+ /* SMTP byte-stuffing */
+ if (*bufp == '.' && queryctl->mda[0] == 0)
+ write(mboxfd, ".", 1);
+
/* write this line to the file */
if (write(mboxfd,bufp,strlen(bufp)) < 0)
{