diff options
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c index 872e22e8..1f424374 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -392,6 +392,9 @@ struct hostrec *queryctl; switch(queryctl->output) { + case TO_SMTP: + printf(" Messages will be SMTP-forwarded to '%s'\n", queryctl->smtphost); + break; case TO_FOLDER: printf(" Messages will be appended to '%s'\n", queryctl->userfolder); break; @@ -409,6 +412,8 @@ struct hostrec *queryctl; } if (outlevel == O_VERBOSE) { + if (queryctl->smtphost[0] != '\0' && queryctl->output != TO_SMTP) + printf(" (SMTP host would have been '%s')\n", queryctl->smtphost); if (queryctl->output != TO_FOLDER) printf(" (Mail folder would have been '%s')\n", queryctl->userfolder); if (queryctl->output != TO_MDA) |