alternatives was [Exim] RedHat Linux 8.0 help

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Arnaud Brugnon
Dátum:  
Címzett: Jeremy Hein
CC: exim-users
Tárgy: alternatives was [Exim] RedHat Linux 8.0 help
Hello !
Despite Redhat ships sendmail et Postfix, you can benefit from using the
new "alternatives" capability available since Redhat 7.3.
It behaves like the debian alternatives package.
So you can use this little script to declare Exim as an MTA alternative
and activate it ! It is a non destructive approach based on symlinks.
Mixed with your initscript it's IMHO quite a good way to install Exim.

You can tweak this cmdline to fit your needs ....
# misc commands to test and activate .... man alternatives is your
friend
# alternatives --display mta
#
# alternatives --set mta /usr/exim/bin/exim

/usr/sbin/alternatives --install /usr/sbin/sendmail mta /usr/exim/bin/exim 90 \
        --slave /usr/bin/mailq mta-mailq /usr/exim/bin/exim \
        --slave /usr/bin/newaliases mta-newaliases /usr/bin/newaliases.sendmail \
        --slave /usr/bin/rmail mta-rmail /usr/exim/bin/exim \
        --slave /usr/share/man/man1/mailq.1.gz mta-mailqman /usr/share/man/man1/mailq.sendmail.1.gz \
        --slave /usr/share/man/man1/newaliases.1.gz mta-newaliasesman /usr/share/man/man1/newaliases.sendmail.1.gz \
        --slave /usr/share/man/man5/aliases.5.gz mta-aliasesman /usr/share/man/man5/aliases.sendmail.5.gz \
        --initscript exim


Arnaud Brugnon
Happy Exim user from Paris

--
RedHat 8.0 ships with either Sendmail or PostFix installed. So to make
exim
take over completely for mail delivery, follow the steps below:

1) run ntsysv to disable Any of Sendmail, PostFix, or anything labeled
mta.
2) symlink the exim binary to the following points:
a) /usr/lib/sendmail
b) /usr/sbin/sendmail
3) If you want to control Exim with a script that will load it during
boot
as part of the boot-up sequence, use the script I've attached.
Otherwise
just call the exim binary from a startup script like rc.local with the
correct parameters. For example, to have it listen on port 25 and scan
the
Queue every 30 minutes, it's exim -bd -q30m

That's about it.

-- Dan
----- Original Message -----
From: "Jeremy Hein" <jeremyh@???>
To: <exim-users@???>
Sent: Tuesday, October 22, 2002 11:43 AM
Subject: [Exim] RedHat Linux 8.0 help


> Hi,
>
> I just compiled and installed Exim, but I do not know how to get it to
> respond to smtp requests.
>
> Thanks,
> Jeremy
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users

Exim
details at http://www.exim.org/ ##
>
>