X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=sendsync.c;h=ffcf70508dd4adf85d3e2c9348593ecf3804f9ba;hb=5538c5782135666d73f7615a37ea9689afa07dcd;hp=568ba3fcc586eb346ca7daeb89addcb7fde90246;hpb=e18b268d5c83bc3ad5d8cec975fa3adbf96ba2ae;p=onak.git diff --git a/sendsync.c b/sendsync.c index 568ba3f..ffcf705 100644 --- a/sendsync.c +++ b/sendsync.c @@ -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: ");