diff options
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | fetchmail.c | 16 | ||||
-rw-r--r-- | fetchmail.man | 2 |
3 files changed, 18 insertions, 4 deletions
@@ -14,6 +14,10 @@ S/key for secure challenge-response. Implement IMAP support. +3.1: + +* MDA arguments are now dumped when using the -V option. + 3.05: * Experimental support for RFC1725-compliant POP servers with the UIDL diff --git a/fetchmail.c b/fetchmail.c index e2687bf2..0afe9463 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -327,6 +327,8 @@ int showversioninfo() int dump_params (queryctl) struct hostrec *queryctl; { + char *cp; + printf(" Username = '%s'\n", queryctl->remotename); printf(" Password = '%s'\n", queryctl->password); @@ -357,7 +359,11 @@ struct hostrec *queryctl; printf(" Messages will be appended to '%s'\n", queryctl->userfolder); break; case TO_MDA: - printf(" Messages will be delivered with %s\n", queryctl->mda); + printf(" Messages will be delivered with"); + for (cp = queryctl->mda; *cp; cp += strlen(cp) + 1) { + printf(" %s", cp); + } + putchar('\n'); break; case TO_STDOUT: printf(" Messages will be dumped to standard output\n"); @@ -369,7 +375,13 @@ struct hostrec *queryctl; if (queryctl->output != TO_FOLDER) printf(" (Mail folder would have been '%s')\n", queryctl->userfolder); if (queryctl->output != TO_MDA) - printf(" (MDA would have been '%s')\n", queryctl->mda); + { + printf(" (MDA would have been"); + for (cp = queryctl->mda; *cp; cp += strlen(cp) + 1) { + printf(" %s", cp); + } + printf(")\n"); + } } if (linelimit == 0) diff --git a/fetchmail.man b/fetchmail.man index 1fc19b30..7aba6e50 100644 --- a/fetchmail.man +++ b/fetchmail.man @@ -542,8 +542,6 @@ default location of file associating hosts with last message IDs seen (used only with newer RFC1725-compliant servers supporting the UIDL command). .SH BUGS .PP -The --version option doesn't display MDA arguments. -.PP Delivery via .IR sendmail (8) doesn't work in daemon mode; |