summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/main.c b/main.c
index 3023673..87d16ad 100644
--- a/main.c
+++ b/main.c
@@ -371,15 +371,18 @@ int main (int argc, char **argv)
exit (EX_USAGE);
}
+ /* Parse the rc file.
+ *
+ * Do this before message_add_recipient; to enable the force_mda recipient
+ */
+ rcfile_parse(rcfile);
+
/* Add remaining program arguments as message recipients. */
while (optind < argc)
message_add_recipient(message, argv[optind++]);
identities_init();
- /* Parse the rc file. */
- rcfile_parse(rcfile);
-
drop_sgids();
message_send(message);