[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] 0.6.94 mail program does not call mailer
From: |
Thomas Seeling |
Subject: |
[bug-mailutils] 0.6.94 mail program does not call mailer |
Date: |
Sat, 10 Jun 2006 13:00:44 +0200 |
User-agent: |
Thunderbird 1.5.0.4 (Windows/20060516) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hallo,
I have a strange problem with calling mail "silently" in a script.
echo "test" | mail -s test ths
comes back with rc=0, but it does not create a mail to the local user ths
in my mail spool.
If I try the same manually it works, i.e. send a mail directly to my mailer
with the exact args like mail does.
I tried tracing with gdb, but I'm at a loss in the mail_send0 subroutine
where the vfork happens. The parent program gets sigpipe when writing the
buffer to the child fd, and I don't know how to continue debugging from
there.
This works:
printf "To: ths\nSubject: test\n\ntest" | /usr/lib/sendmail -t -oi ths
/usr/lib/sendmail is a link to my installation of exim 4.61.
Tschau...Thomas
- --
"Do you wanna be a legend or a passing footprint on the sands of time?"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEiqZc6tRbEjWup3IRAp5cAKCXEt1bLdjXJjDyV8JmCV4F9UK3pwCfeTRB
dcvD07UaDdfqupLpuFTZJJU=
=zBfD
-----END PGP SIGNATURE-----
- [bug-mailutils] 0.6.94 mail program does not call mailer,
Thomas Seeling <=