On Fri, Sep 08, 2000 at 02:14:09PM +1000, David Kempe wrote:
> On a redhat 6.2 box, or even a debian box, is there a way to change
> the default mail handler? Like I have an alternative (read oracle)
> mail server daemon that takes up port 25 - it seems to speak
> reasonable SMTP. How do i get unix mail into that mail program?
most mail servers provide a /usr/lib/sendmail compatible wrapper
script for locally sent mail
> At the moment i think it is getting passed off to sendmail if say i
> use the mail program from the command line. Is there a way to
> change it so that the mail is sent to this local server on port 25?
1. hack a wrapper yourself
2. find a wrapper that will do the job. something like ssmtp with the
"mailhub" set to localhost will probably do. (but ssmtp isn't that nice)
3. get a full-blown mta which comes with a wrapper and get it to (a)
not listen on 25 itself and (b) just pass mail off to localhost:25
with minimum intervention.
(3) is certainly possible with sendmail. read the docs for the m4
"null" mailer setup and you should be able to work something out
--
- Gus
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug