Package: rkhunter
Version: 1.2.7

rkhunter's dependence on mailx prevents us from installing it. At our
site, we have replacement command-line MUAs that conflict with the
mailx package, and thus we cannot install anything that depends on
mailx. There is a long complicated history to the command-line
programs that go under the names "mail", "Mail", "mailx", and they do
not all behave the same; in particular, modern versions (e.g., nail)
may even ask for a password when sending a message (so that a copy of
the message can be placed in the sent-mail folder on a remote IMAP
server), and this interaction breaks scripts that invoke these MUAs
to send an outgoing message. Programs should invoke an MTA (or MSA),
not an MUA.

For example, rkhunter could depend on mail-transport-agent instead of
depending on mailx, and then call "sendmail" (which might actually be
provided by postfix or exim or a nullmailer) to send the message. To
do this, the scripting difference is essentially this:


 /usr/bin/mail -s "This is a subject" [EMAIL PROTECTED] <<<EOT
 And this is the body.
 EOT


 /usr/sbin/sendmail [EMAIL PROTECTED] <<<EOT
 Subject: This is a subject
 
 And this is the body.
 EOT


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to