BBS水木清华站∶精华区
寄信人: root@glory.prio.no (root)
标 题: MX records and sendmail
发信站: 水木清华 BBS 站 Internet Email
日 期: Sat Jan 18 07:25:28 1997
Hi all!
I have a big problem. Here is the scenario:
Our corporate email system is Microsoft Exchange (NT-based). However, our
internet gateway, and also SMTP Relay host, is Linux/sendmail. Our MX
record points to the Linux machine (glory.prio.no, 194.19.122.161). When
sendmail receives something it doesn't know the address of (say
ELSE@prio.no), and who IS a user in Exchange, it bounces the mail.
How can I set it up to forward all mail from unknown users to the SMTP
connector on NTSPRIO2 (ntsprio2.prio.no, 194.19.122.162), which is our
Exchange server? The Exchange SMTP program already transfers all outbound
mail through the Linux box (has it set up as an SMTP relay host), but, as
I've pointed out, doesn't want to receive mail because sendmail is
incorrectly set up.
Any help on the topic would be greatly appreciated.
.--------------------------------------------------------------------------.
| Henning Kilset Pedersen | Network admin |
| International Peace Research Institute, Oslo, Norway | Linux, Novell,NT |
'--------------------------------------------------------------------------'
寄信人: fyr@oleane.net (Francois Ranchin)
标 题: Re: MX records and sendmail
发信站: 水木清华 BBS 站 Internet Email
日 期: Sat Jan 18 07:57:50 1997
root wrote :
> How can I set it up to forward all mail from unknown users to the SMTP
> connector on NTSPRIO2 (ntsprio2.prio.no, 194.19.122.162), which is our
> Exchange server? The Exchange SMTP program already transfers all outbound
> mail through the Linux box (has it set up as an SMTP relay host), but, as
> I've pointed out, doesn't want to receive mail because sendmail is
> incorrectly set up.
In your sendmail.mc put these lines :
FEATURE(mailertable, hash /etc/mail/mailertable)
define(`LUSER_RELAY', ntsprio2.prio.no)dnl
And in mailertable
prio.no esmtp:ntsprio2.prio.no
.prio.no esmtp:ntsprio2.prio.no
--
Fran鏾is Ranchin, fyr@oleane.net
OLEANE SA/service technique/service clients/service exploitation/fran鏾is
Any sufficiently advanced technology is indistinguishable from magic
Arthur C. Clarke, The Lost Worlds of 2001
寄信人: shuman@triton.kaifnet.com (M Shariful Anam)
标 题: Re: MX records and sendmail
发信站: 水木清华 BBS 站 Internet Email
日 期: Sat Jan 18 16:50:26 1997
On Fri, 17 Jan 1997, root wrote:
| Our corporate email system is Microsoft Exchange (NT-based). However, our
| internet gateway, and also SMTP Relay host, is Linux/sendmail. Our MX
| record points to the Linux machine (glory.prio.no, 194.19.122.161). When
| sendmail receives something it doesn't know the address of (say
| ELSE@prio.no), and who IS a user in Exchange, it bounces the mail.
sendmail on linux box is probably setup to accept mail for user@prio.no
If the scenario is like this "there are some users@prio.no who are on
linux and some users@prio.no who are on linux", you can use aliases to
forward the nt users email to forward to NT smtp(I hope) server.
Otherwise, change sendmail.cf so that it doesn't call itself prio.no, only
glory.prio.no
To change sendmail.cf, find a line with the text "Cw" at the begininning,
and remove only prio.no from that line leaving "Cw" with anything else or
even blank.
---
M Shariful Anam <shuman@kaifnet.com>
Kaifnet Services -- Bangladesh
BBS水木清华站∶精华区