]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - sendsync.c
Add man page for keyd, even though it's not currently recommended for
[onak.git] / sendsync.c
index 568ba3fcc586eb346ca7daeb89addcb7fde90246..ffcf70508dd4adf85d3e2c9348593ecf3804f9ba 100644 (file)
@@ -43,7 +43,7 @@ int sendkeysync(struct openpgp_publickey *keys)
        struct openpgp_packet_list *list_end = NULL;
 
        if (config.syncsites != NULL &&
-                       (fd=popen("sendmail -t", "w")) != NULL) {
+                       (fd=popen(config.mta, "w")) != NULL) {
                fprintf(fd, "From: %s\n", config.adminemail);
 
                fprintf(fd, "To: ");