So here the basic think which I am looking is that all mail should go to the
user at default domain, irrespective of the linux host the mail is sent
from.
if its sent to user walter from fedora.example.com, rhel.marfic.com etc
all should delivered t to walter at example.com and not walter at fedora.example.com
, walter at rhel.example.com.
Regards,
--Walter
On 8/31/06, Walter Faleiro < curtorkar at gmail.com> wrote:
>> Hi Badger,
> There are linux systems working fine with the configuration just fine. I
> am trying to add a few more. But unfortunately I cannot see a correlation
> between the steps you provided and the working configuration. As I said it
> works fine from the host splendor, which is linux 7.2.
>>> Following is the output from splendor that is working fine
>>> mail -v walter
> Subject: test mail
> .
> Cc:
> Null message body; hope that's ok
> walter... Connecting to server02.example.com. via relay...
> 220 server02.example.com Microsoft ESMTP MAIL Service, Version:
> 6.0.3790.1830 ready at Wed, 30 Aug 2006 12:11:01 -0700
> >>> EHLO splendor.example.com
> 250-server02.example.com Hello [192.168.1.208]
>> 250-TURN
> 250-SIZE
> 250-ETRN
> 250-PIPELINING
> 250-DSN
> 250-ENHANCEDSTATUSCODES
> 250-8bitmime
> 250-BINARYMIME
> 250-CHUNKING
> 250-VRFY
> 250-X-EXPS GSSAPI NTLM LOGIN
> 250-X-EXPS=LOGIN
> 250-AUTH GSSAPI NTLM LOGIN
> 250-AUTH=LOGIN
> 250-X-LINK2STATE
> 250-XEXCH50
> 250 OK
> >>> MAIL From:<root at splendor.example.com > SIZE=31 AUTH=root at splendor.example.com>> 250 2.1.0 root at splendor.example.com....Sender OK
>> >>> RCPT To:<walter at example.com >
> 250 2.1.5 walter at example.com> >>> DATA
> 354 Start mail input; end with <CRLF>.<CRLF>
> >>> .
> 250 2.6.0 < 200608301911.k7UJB1030730 at splendor.example.com > Queued mail
> for delivery
> walter... Sent ( <200608301911.k7UJB1030730 at splendor.example.com > Queued
> mail for delivery)
>> Closing connection to server02.example.com.
> >>> QUIT
> 221 2.0.0 server02.example.com Service closing transmission channel
>>> Are there any other files other than sendmail.mc, .cf, submit.cf and
> aliases that I should look into?
>> Regards,
> --Walter
>> On 8/31/06, Badger <badger at scattermail.com> wrote:
>> > On Thu, Aug 31, 2006 at 12:58:11AM +0530, Walter Faleiro wrote:
> > > Oops,
> > > Made a mistake, the destination address should be peter at example.com.> > >
> > > Regards,
> > > --Walter
> > >
> > > On 8/31/06, Walter Faleiro <curtorkar at gmail.com> wrote:
> > > >
> > > >Hi Badger,
> > > >
> > > >When i send a mail from fedora.example.com to peter.
> > > >
> > > >It should
> > > >
> > > >
> > > >>>> MAIL From:< walter at fedora.example.com > SIZE=31 AUTH=
> > > >walter at fedora.example.com> > > >250 2.1.0 walter at fedora.example.com....Sender OK
> > > >
> > > >>>> RCPT To:< walter at example.com >
> > > >250 2.1.5 walter at example.com> > > >>> DATA
> > > >
> > > >
> > > >And ofcourse via realy froms server02.example.com
> > > >
> > > >
> > > >
> > > >
> > > >walter... Connecting to server02.example.com. via relay...
> > > >220 server02.example.com Microsoft ESMTP MAIL Service, Version:
> > > >6.0.3790.1830 ready at Wed, 30 Aug 2006 12:11:01 -0700
> > > >
> >
> > Yuck!
> >
> > > >
> > > >Regards,
> > > >--Walter
> > > >
> >
> >
> >
> > Am I right in thinking that you can't just use a normal MUA like mutt or
> > thunderbird to connect directly to this Exchange server, eliminating all
> > this messing with sendmail?
> >
> > Okay. I was expecting the mail server on server02.example.com to be
> > sendmail, or postfix, or some other such Unix server. I was going to
> > suggest that do the rewriting of '@ fedora.example.com ' to '@
> > example.com'
> > there. If you know how to get Exchange server to do this then that is
> > one
> > option.
> >
> > The only other option I can currently think of, assuming that your end
> > goal is to use the /bin/mail client, is to set up aliases for each
> > relant user and put them in ~walter/.mailrc
> >
> > Thus, for Peter you put:
> >
> > alias peter peter at example.com> >
> > in that file.
> >
> > You would need to maintain some sort of alias file like this for each
> > MUA you use. Unfortunatly when you change the submit.mc as I described
> > earlier sendmail does not appear to look at the system wide aliases in
> > /etc/aliases.db (the binary version of /etc/aliases).
> >
> > How's this work for you?
> >
> > --
> > Irish Linux Users' Group mailing list
> > About this list : http://mail.linux.ie/mailman/listinfo/ilug> > Who we are : http://www.linux.ie/> > Where we are : http://www.linux.ie/map/> >
>>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!