Re: [Exim] exim and sendmail on the same box

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Andrzej Filip
Ημερομηνία:  
Προς: exim-users
Υ/ο: Zoong Pham
Αντικείμενο: Re: [Exim] exim and sendmail on the same box
Zoong Pham wrote:
> Andrzej wrote:
>>[...]
>>I think you do not need *exim smtp daemon*. All you need is
>>storing messages
>>for ODMR (ATRN) domains in BSMTP files.
>
>
> I don't understand you here.
> You mean, once I have Sendmail queued mails for a ODMR (ATRN)
> domain in BSMTP files, then I can point odmrd to that files to
> provide mails when a ODMR (ATRN) client requests.
> I think we still need a SMTP daemon capable with ODRM (ATRN)
> constantly listening.


ODMRD software you have mentioned uses its own "ODMR listener" stared by
inetd/xinets at port 366 [http://www.plonk.de/sw/odmr/ "3. Setup server"].

> And Sendmail does have the capability yet.
> And the capable MTA daemon will call odmrd to do the work.


/etc/xinetd.d/odmr:
service odmr
{
    [....]
         server          = /usr/local/sbin/odmrd.pl
}


>>You can make sendmail use exim as one of its mailers (smtp
>>over stdin/stdout)
>>and use mailertable to make sendmail select deliveries for
>>some domains via
>>exim [ http://www.sendmail.org/m4/mailertables.html ].
>>You can use a few defines to modify one of 5 sendmail's smtp mailers.
>
>>BTW Its is possible to run exim and sendmail smtp daemons
>>together on multi-ip mail host.
>
> Yes, I plan to use Sendmail mailertable to relay mails for a
> ODMR (ATRN) domains to Exim.
> IIRC, mailertable can use name or IP address only without specified port.
> It uses the standard port (25).
> So if Sendmail and Exim both run on the same box,
> the relayed mails will be sent to the Sendmail MTA daemon that listens (by
> default) on port 25. Not the Exim one as I expect. Even the box
> has multi IP addresses like you said below.


As I wrote you can make sendmail pass messages to exim executing "exim -bs"
(smtp over stdin/stdout) or you can make sendmail use another "BSMTP"
package/mailer than exim [exim can do much more, using it as nothing more than
sendmail's BSMTP mailer is a small insult to Phil (IMHO)]

All you need to make http://www.plonk.de/sw/odmr/ work with sendmail is a way
to make sendmail create "per ODMR clinet" BSMTP files.

>>Ask for further details at news:comp.mail.sendmail
>
> I did before I sent the original mail the this list.
> Somehow it has not arrive the newsgroup yet.
> I will check my news reader.


You may as "How to make sendmail create BSMTP files ?" in
news;comp.mail.sendmail crossposted to news:comp.mail.uucp [BSMTP is used
frequently for "over uucp" mail transfers]

> I have couple of questions for you about shared mailbox using your
> method at http://anfi.homeunix.net/sendmail/sharedmailbox.html.
> but I will send it separately to you or the sendmail newsgroup.


Send me a CC: of the post.
[ I read news:comp.mail.sendmail less frequently tha I had used to do ]

P.S.
Because it it is exim-users@??? mailing list I must ask *the question*:
Have you considered replacing sendmail by exim ? [no sendmail]
Why is not it possible/good ?

--
Andrzej [en:Andrew] Adam Filip anfi@??? anfi@???
http://anfi.homeunix.net/ http://slashdot.org/~anfi