[email protected] Tue, 11 May 2010, Muskoka Auto 
Parts Limited wrote:

> On 10-05-11 3:06 AM, Robert Holtzman wrote:
>> rkhunter installed with exim4. I would like to switch it to sendmail but
>> can't see how. Can I get some help?
>
> Assuming you are running a Debian variant from your mail headers, I'm
> guessing that rkhunter specified an MTA required, and the default MTA
> for your distro happens to be exim.
>
> To prove that -
>
> ==> aptitude show rkhunter
> Package: rkhunter
> State: installed
> Depends: binutils, debconf (>= 0.5) | debconf-2.0, exim4 | postfix |
> sendmail | mail-transport-agent, file, net-tools, perl
>
> See the depends line?
>
> Changing to sendmail is easy -
>
> ==> sudo aptitude --simulate install sendmail
> The following NEW packages will be automatically installed:
>  m4 procmail sendmail-base sendmail-bin sendmail-cf sensible-mda
> The following packages will be automatically REMOVED:
>  postfix
> The following NEW packages will be installed:
>  m4 procmail sendmail sendmail-base sendmail-bin sendmail-cf sensible-mda
> The following packages will be REMOVED:
>  postfix
> 0 packages upgraded, 7 newly installed, 1 to remove and 0 not upgraded.
> Need to get 1894kB of archives. After unpacking 3146kB will be used.
> Do you want to continue? [Y/n/?]
>
> In my case I'm running postfix rather than exim, but the results are the
> same. Installing one will automatically remove the other because they
> are marked as conflicting with each other.

Let me give you a little background to clarify what I'm trying to do. 
Sorry if I wasn't clear before.

One of the distros I'm running is Debian Lenny. I had problems getting 
exim4 to deliver mail to remote servers so, after fighting that for 
weeks, I purged exim4, going so far as running "locate exim4" and
deleting everything on that *long* list. There are no other MTAs on the
system. Then I installed msmtp and configured it. Now I can send mail to 
remote servers (ie my isp's smtp server) but rkhunter and logwatch no
longer send daily reports to my inbox as they did with exim4. What I 
need is to persuade rkhunter to use msmtp.

Does the "mail-transport-agent" in the Depends line indicate the program 
will work with any MTA?

-- 
Bob Holtzman
Key ID: 8D549279
"If you think you're getting free lunch,
  check the price of the beer"
[email protected]

------------------------------------------------------------------------------

_______________________________________________
Rkhunter-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to