summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e18b268)
We weren't using the path configured for the MTA from the config file,
instead it was a hard coded value. This causes problems if the MTA isn't
on the path.
struct openpgp_packet_list *list_end = NULL;
if (config.syncsites != NULL &&
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: ");
fprintf(fd, "From: %s\n", config.adminemail);
fprintf(fd, "To: ");