LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] null client configuration for sendmail

[ILUG] null client configuration for sendmail

Badger badger at scattermail.com
Wed Aug 30 21:13:07 IST 2006


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?




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell