Logwatch – installing without postfix dependency

logwatch

I want to install logwatch but configure it to use SendEmail (smpt authentication sender) instead of postfix. I don't need full blown mail server, I figure I can use google smtp.

I checked dependencies and logwatch installs automatically postfix. What if I don't want it at all on my system? How do I skip it? will it cause problems if I skip it?

Note:
I'm using ubuntu server 12.04
Sendemail is smpt auth perl script: http://caspian.dotconf.net/menu/Software/SendEmail/#installation

After installing sendemail postfix is still in dependencies list for logwatch.

Best Answer

You don't have to install Postfix. Postfix is not a dependency of logwatch. The actual dependency is postfix | mail-transport-agent, so any package that provides mail-transport-agent will satisfy the dependency.

Now, the problem is, you're not using a packaged MTA. I would recommend ditching this sendEmail thing and instead install a packaged MTA that does the same thing, like nullmailer or ssmtp. They will both provide the necessary virtual package, and will receive security updates and bugfixes if required. If you really, really have an eagerness for SendEmail, you can either package it properly, or use the equivs package to generate a dependency-satisfying stub package that'll also solve the problem.

Related Topic