From: Carlos Williams on
On Mon, Mar 1, 2010 at 4:52 PM, Jordan Metzmeier <titan8990(a)gmail.com> wrote:
> In Lenny (not sure if its changed as of Squeeze), its the "standard
> system" task that installs exim4. Don't install this task and install
> your preferred MTA after installation.

In Squeeze if you de-select 'every' task possible during the
installer, you still get Exim installed because of Cron. It needs an
MTA (Exim4).

After my fresh new system is up and running, I can install Postfix
(which I did) and it also removes the conflicting MTA (Exim4)
automatically:

> root(a)mail:~# apt-get -y install postfix
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
> file libdb4.5 libmagic1 libsasl2-2 libsasl2-modules libsqlite3-0 mime-support openssl python python-minimal python2.5 python2.5-minimal ssl-cert
> Suggested packages:
> libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal ca-certificates procmail postfix-mysql postfix-pgsql
> postfix-ldap postfix-pcre sasl2-bin resolvconf postfix-cdb mail-reader ufw python-doc python-tk python-profiler python2.5-doc binfmt-support openssl-blacklist
> The following packages will be REMOVED:
> exim4 exim4-base exim4-config exim4-daemon-light

Sadly it leaves all this on my freshly installed system and who knows
what else locate didn't actually find:

root(a)mail:~# locate exim
/etc/cron.daily/exim4-base
/etc/default/exim4
/etc/init.d/exim4
/etc/logrotate.d/exim4-base
/etc/logrotate.d/exim4-paniclog
/etc/ppp/ip-up.d/exim4
/etc/rc0.d/K01exim4
/etc/rc1.d/K01exim4
/etc/rc2.d/S02exim4
/etc/rc3.d/S02exim4
/etc/rc4.d/S02exim4
/etc/rc5.d/S02exim4
/etc/rc6.d/K01exim4
/usr/share/vim/vim72/syntax/exim.vim
/var/cache/apt/archives/exim4-base_4.71-3_amd64.deb
/var/cache/apt/archives/exim4-config_4.71-3_all.deb
/var/cache/apt/archives/exim4-daemon-light_4.71-3_amd64.deb
/var/cache/apt/archives/exim4_4.71-3_all.deb
/var/lib/exim4
/var/lib/dpkg/info/exim4-base.list
/var/lib/dpkg/info/exim4-base.postrm
/var/lib/dpkg/info/exim4-config.list
/var/lib/dpkg/info/exim4-config.postrm
/var/lib/dpkg/info/exim4-daemon-light.list
/var/lib/dpkg/info/exim4-daemon-light.postrm
/var/lib/dpkg/info/exim4.list
/var/lib/dpkg/info/exim4.postrm
/var/lib/exim4/config.autogenerated
/var/lib/update-rc.d/exim4
/var/log/exim4
/var/log/exim4/mainlog
/var/run/exim4


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/d80f793f1003011406g4f79d70aoc34c6b8965eeb6b6(a)mail.gmail.com
From: Lisi on
On Monday 01 March 2010 20:01:36 Alex Samad wrote:
> On Mon, Mar 01, 2010 at 02:59:23PM -0500, Carlos Williams wrote:
> > I am trying to install Debian (Testing) via 'netinst' disk and for
> > some reason am completely unable to install Debian w/o Exim. It
> > appears that Cron is a default package and depends on Exim. Does
> > anyone know how I can completely omit this from a fresh Debian
> > install? When I run:
> >
> > apt-get remove --purge exim4
> >
> > I am still left with tons of man pages, config files, user accounts
> > (Debian-exim) for the application I just removed. Basically I am left
> > with a bunch if orphaned junk files for an application I never wanted
> > to have installed to begin with.
> >
> > Any advice?
>
> I use nullmailer in these situations

+1
Installing nullmailer will remove exim for you.

Lisi


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/201003012259.14774.lisi.reisz(a)gmail.com
From: Boyd Stephen Smith Jr. on
On Monday 01 March 2010 16:06:59 Carlos Williams wrote:
> In Squeeze if you de-select 'every' task possible during the
> installer, you still get Exim installed because of Cron. It needs an
> MTA (Exim4).
>
> After my fresh new system is up and running, I can install Postfix
> (which I did) and it also removes the conflicting MTA (Exim4)
> automatically:
> > root(a)mail:~# apt-get -y install postfix
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > The following extra packages will be installed:
> > file libdb4.5 libmagic1 libsasl2-2 libsasl2-modules libsqlite3-0
> > mime-support openssl python python-minimal python2.5 python2.5-minimal
> > ssl-cert Suggested packages:
> > libsasl2-modules-otp libsasl2-modules-ldap libsasl2-modules-sql
> > libsasl2-modules-gssapi-mit libsasl2-modules-gssapi-heimdal
> > ca-certificates procmail postfix-mysql postfix-pgsql postfix-ldap
> > postfix-pcre sasl2-bin resolvconf postfix-cdb mail-reader ufw python-doc
> > python-tk python-profiler python2.5-doc binfmt-support openssl-blacklist
> > The following packages will be REMOVED:
> > exim4 exim4-base exim4-config exim4-daemon-light
>
> Sadly it leaves all this on my freshly installed system and who knows
> what else locate didn't actually find:

It removed the exim4 packages, but it did not purge them. Some files from the
packages will still be around.

> root(a)mail:~# locate exim
> /etc/cron.daily/exim4-base
> /etc/default/exim4
> /etc/init.d/exim4
> /etc/logrotate.d/exim4-base
> /etc/logrotate.d/exim4-paniclog
> /etc/ppp/ip-up.d/exim4
> /etc/rc0.d/K01exim4
> /etc/rc1.d/K01exim4
> /etc/rc2.d/S02exim4
> /etc/rc3.d/S02exim4
> /etc/rc4.d/S02exim4
> /etc/rc5.d/S02exim4
> /etc/rc6.d/K01exim4
> /usr/share/vim/vim72/syntax/exim.vim
> /var/cache/apt/archives/exim4-base_4.71-3_amd64.deb
> /var/cache/apt/archives/exim4-config_4.71-3_all.deb
> /var/cache/apt/archives/exim4-daemon-light_4.71-3_amd64.deb
> /var/cache/apt/archives/exim4_4.71-3_all.deb
> /var/lib/exim4
> /var/lib/dpkg/info/exim4-base.list
> /var/lib/dpkg/info/exim4-base.postrm
> /var/lib/dpkg/info/exim4-config.list
> /var/lib/dpkg/info/exim4-config.postrm
> /var/lib/dpkg/info/exim4-daemon-light.list
> /var/lib/dpkg/info/exim4-daemon-light.postrm
> /var/lib/dpkg/info/exim4.list
> /var/lib/dpkg/info/exim4.postrm
> /var/lib/exim4/config.autogenerated
> /var/lib/update-rc.d/exim4
> /var/log/exim4
> /var/log/exim4/mainlog
> /var/run/exim4

...at least one of these files isn't part of any exim package, so your test is
a little broken. Even after a purge, I think log files are left behind --
basically anything generated by the program at run-time will be because the
package manager doesn't track it.

How small does this list get after you run (aptitude purge '~c')?
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss(a)iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/
From: thib on
Carlos Williams wrote:
> [...]
> Sadly it leaves all this on my freshly installed system and who knows
> what else locate didn't actually find:

It's most probably silly, but might an instance of exim still be running?
If you haven't rebooted and forgot to stop it before purging, maybe there's
some sort of safety mechanism I'm probably imagining that could prevent the
remaining files to be wiped immediately.

See it's weird, you only have postrm dpkg hooks (necessary to complete the
removal), the run directory, the variable data directory and configuration
(necessary for a running instance) as well as init scripts (necessary to
stop it). The rest you should remove yourself.

> [...]

-thib


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4B8C53D2.1020707(a)stammed.net
From: Carlos Williams on
On Mon, Mar 1, 2010 at 5:59 PM, Lisi <lisi.reisz(a)gmail.com> wrote:
>> I use nullmailer in these situations
>
> +1
> Installing nullmailer will remove exim for you.

I am sorry but I don't understand what you mean by 'install
nullmailer'. Is this something I install before I begin the 'netinst'
installation of Squeeze on my server? Is there an article that will
help me achieve this?

Thanks!


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/d80f793f1003011632y5842c2m68577bec63307f31(a)mail.gmail.com