-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, December 4 at 03:05 PM, quoth Derek Xu: >>> I have mutt-1.4.2.2 installed on a Solaris 9/x86 machine. It >>> sends and receives messages without any problem, however, the Cc >>> doesn't work. The receivers listed in Cc are not able to receive >>> any messages. Othe mail clients, such as pine, on the same machine >>> don't have this odd problem. The SMTP server is qmail-ldap. >>> Anybody can shed some lights? >> >> What's your $sendmail variable set to? You could try setting it to >> '/var/qmail/bin/qmail-inject' (or wherever your qmail-inject binary is >> hiding). > > My $sendmail is set to a perl wrapper script because the mail server > is not allowed to run on the machine where mutt resides on. Here is > the link to the perl script: > http://www2.zdo.com/articles/mutt-smtp-wrapper.php
Ewwww... do those other mail clients have to use this perl script? Presumably not... It looks like the script is mis-using the Net::SMTP module. Instead of: foreach $to (@ARGV) { $smtp->to($to); } The documented *correct* method of specifying recipients is: $smtp->to(@ARGV); My guess is that every call to the to() function resets the list of recipients, thus each mail will only ever be sent to a single recipient: the last one. There may be other errors in the script; I didn't check. I would recommend either fixing your script, or using something more reliable, like msmtp. ~Kyle - -- The most important thing a father can do for his children is to love their mother. -- Fr. Theodpre Hesburgh -----BEGIN PGP SIGNATURE----- Comment: Thank you for using encryption! iD8DBQFHVcx2BkIOoMqOI14RArnCAJ0WtGbpqztp/Fdrc9NVkRmJDidk9gCg8Hmc WeHFvRiDFxzuhDP3OnmnAxk= =m2IH -----END PGP SIGNATURE-----