[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Domino on Fedora



Tom Van Looy wrote:
> Hi
>
> We are installing Domino on Fedora (9).  The (IBM and Redhat) manuals
> tell you to disable sendmail and remove it from the runlevels.
>
> Great! But, ... that breaks all the housekeeping stuff right? How do we
> need to configure things to make sure the mail command, cron, logwatch,
> etc. keep working?

Phil Meyer wrote:
> As long as 'something' is listening on port 25, those reports should work.

I believe that isn’t technically correct. The standard Unix utilities
Tom mentioned don’t normally use SMTP: they run /usr/sbin/sendmail
(either directly or indirectly).

I don’t know whether Domino provides a /usr/sbin/sendmail command: if it
does, the chances are these programs will just work.

If not, it’s possible that you could keep sendmail installed but not
running as a daemon: I believe it will deliver locally and make one mail
submission attempt if it is just run as /usr/sbin/sendmail. (If the
computer it’s trying to send email to is down, it won’t retry, though).
Or you could try ssmtp, which is designed for this sort of purpose.

Another option is mentioned in man crond:
    -m  This  option allows you to specify a shell command string to use
        for sending cron mail output instead of sendmail(8).  This com-
        mand  must  accept a fully formatted mail message (with headers)
        on stdin and send it as a mail message to the recipients speci-
        fied in the mail headers.

A look at /etc/init.d/crond suggests that an executable file called
/etc/sysconfig/crond with this line in it:
CRONDARGS=’-m /path/to/sendmail-like-command’
will allow you to specify cron arguments in a way that won’t get
over-written by system updates.

Logwatch runs from cron, so fixing cron will fix logwatch.

For the mail command, mailx suggests /etc/mailrc gives you the option to
send email via SMTP.

Note that the cronie RPM requires /usr/sbin/sendmail by name: if you
want to remove the sendmail package entirely, you’ll either have to
rpm -e --force it, or install something like ssmtp (which provides
/usr/sbin/sendmail).

Hope this helps,

James.

-- 
E-mail:     james@ | I tried a home printer but the home blew away.
aprilcottage.co.uk |     -- Alan Cox


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]