[Freeswitch-dev] exim doesn't like consolidated params

simon-fsmld at uc.org simon-fsmld at uc.org
Tue Feb 20 14:52:40 EST 2007


exim4's version of /usr/sbin/sendmail doesn't seem to like it when -t and
-f are directly together.

Cheers,
spd

--- src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c   (revision 4323)
+++ src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c   (working copy)
@@ -178,7 +178,7 @@
                if (ifd) {
                        close(ifd);
                }
-               snprintf(buf, B64BUFFLEN, "/bin/cat %s | /usr/sbin/sendmail -tf \"%s\" %s", filename, from, to);
+               snprintf(buf, B64BUFFLEN, "/bin/cat %s | /usr/sbin/sendmail -t -f \"%s\" %s", filename, from, to);
                system(buf);
                unlink(filename);





More information about the Freeswitch-dev mailing list