Red Hat Bugzilla – Bug 20215
vacation utility does not work with RH6.2
Last modified: 2008-05-01 11:37:59 EDT
I set up vacation according to the README files and man pages.
I added a link from /usr/bin/vacation to /etc/smrsh, and ran
vacation to set up the message and .forward files. Also ran
vacation -I to initialize the database.
Result is that incoming messages are replied to with a completely
empty message (just headers). The symptoms are that vacation closes
the pipe to sendmail and exits before sendmail has a chance to finish,
sendmail gets a broken pipe, and vacation gets a seg fault closing
a FILE pointer that was already closed.
The quick solution is to change vfork to fork.
The better solution would be to use popen("...sendmail", "w")
and pclose(), rather than pipe/fork/rearrange fds/fdopen/close.
Note: there is a newer source RPM in contrib/libc6 which has the same
problem with vfork, but has added code to ignore case when comparing
Sorry, I didn't see the previous RESOLVED entry, but my comment about the
new contrib code still is valid.
as i known the 1.2.2 is the newest. you find it in 7.0