Skip to content

Commit

Permalink
Changed to use /usr/bin/sendmail -t instead of qmail-inject, since qmail
Browse files Browse the repository at this point in the history
comes with a "sendmail" wrapper script. Eventually, this should become
more generic, for systems without either.
  • Loading branch information
icculus committed Jun 12, 2002
1 parent 7d3cfcf commit 5092a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IcculusNews_daemon.pl
Expand Up @@ -762,7 +762,7 @@ sub send_forgotten_password {
__EOF__

open(MAILH, '|/var/qmail/bin/qmail-inject $email') or
open(MAILH, '|/usr/sbin/sendmail -t') or
return("Failed to run qmail-inject: $!");

if ( (not print MAILH $msg) or (not close(MAILH)) ) {
Expand Down

0 comments on commit 5092a83

Please sign in to comment.