[COLUG] sendmail question?
Austin Gresham
austin.gresham at avail.com
Wed Jul 7 14:31:20 EDT 2004
Yep, that's exactly what happens, hence the caveat at the end of my email.
Most people don't want this, but for some small shops it can work (probably
not Capital, though!) but it depends on how they are using it.
> -----Original Message-----
> From: colug-bounces at colug.net
> [mailto:colug-bounces at colug.net] On Behalf Of frank_rieder at bankone.com
> Sent: Wednesday, July 07, 2004 12:16 PM
> To: Central OH Linux User Group
> Subject: RE: [COLUG] sendmail question?
>
>
> If it would blindly send root mail, would it go to root at capital.edu?
> That could cause some confusion for whomever the mail is received.
>
>
>
> Frank Rieder
> Operations Specialist
> Banc One Leasing Corporation
> Mail code OH1-1085
> Phone: 614-213-4591
> Fax: 614-213-2083
> toll-free 800-879-7184 ext. 34591
> Email : Frank Rieder at Bankone.com
>
>
>
>
>
>
>
> "Austin Gresham"
>
>
> <austin.gresham@ To: "'Central
> OH Linux User Group'" <colug at colug.net>
>
> avail.com> cc:
>
>
> Sent by: Subject: RE:
> [COLUG] sendmail question?
>
> colug-bounces at co
>
>
> lug.net
>
>
>
>
>
>
>
>
> 07/07/2004 12:01
>
>
> PM
>
>
> Please respond
>
>
> to Central OH
>
>
> Linux User Group
>
>
>
>
>
>
>
>
>
>
>
>
> If you want to send all email to another server, called a "Smart Host'
> (i.e.
> your Exchange server) use the Null Client feature in a new m4
> configuration
> file, called "nullclient.mc" or whatever you choose. Place
> this file in
> the
> directory where your "m4" files are, sometimes
> "/usr/lib/sendmail-cf" or
> equivalent. You'll know the right directory when you see these
> subdirectories:
>
> cf
> domain
> feature
> hack
> m4
> mailer
> ostype
>
> Create the "nullclient.mc" file in this directory and add these lines:
>
> include(`./m4/cf.m4')dnl
> FEATURE(`nullclient',`<nameofinternalmailserver>')dnl
> FEATURE(`nocanonify')dnl
>
> Substitute "<nameofinternalmailserver>" with the hostname or
> IP address of
> the Exchange Server. Also, be cautious of the backticks vs
> single quote
> characters above, it makes a big difference.
>
> Save it and run:
>
> # m4 nullclient.mc > sendmail.cf
>
> Copy the sendmail.cf over the current sendmail.cf (should be
> in /etc/mail)
> and restart sendmail.
>
> That's a basic configuration, but it's a place to start. Be
> aware that
> this
> will blindly forward all email, even if sent to "root" or
> another local
> account. This may not be what you want. If it's not, then
> there are other
> slightly more complicated ways to do it.
>
> -Austin
>
> ======================================
> Austin Gresham CATE, GCUX
> Avail Technologies, LLC
> voice: 740-881-0067
> fax: 740-881-0035
> email: mailto:austin.gresham at avail.com
> ======================================
>
>
>
> > -----Original Message-----
> > From: colug-bounces at colug.net
> > [mailto:colug-bounces at colug.net] On Behalf Of Dave Reed
> > Sent: Wednesday, July 07, 2004 9:45 AM
> > To: colug at colug.net
> > Subject: [COLUG] sendmail question?
> >
> >
> >
> > At work they switched to a new mail server (running MS exchange I
> > think). We still have Sun Solaris machines running sendmail. When a
> > message is sent to dreed at capital.edu it goes through the new mail
> > server and is delivered correctly, but when it is sent to
> just dreed,
> > sendmail delivers it locally to /var/mail/dreed.
> >
> > The sysadmin is not a sendmail expert (nor a member of this
> list) but
> > I told him I'd ask if anyone knew how to configure sendmail
> to always
> > use a separate mailserver. He mentioned something about a "dumb" or
> > "null" setting but google hasn't found the answer for him yet.
> >
> > Can anyone help?
> >
> > Thanks,
> > Dave
> >
> >
> > _______________________________________________
> > colug mailing list
> > colug at colug.net
> > http://www.colug.net/mailman/listinfo/colug
> >
>
>
> _______________________________________________
> colug mailing list
> colug at colug.net
> http://www.colug.net/mailman/listinfo/colug
>
>
>
>
>
>
> This transmission may contain information that is privileged,
> confidential and/or exempt from disclosure under applicable
> law. If you are not the intended recipient, you are hereby
> notified that any disclosure, copying, distribution, or use
> of the information contained herein (including any reliance
> thereon) is STRICTLY PROHIBITED. If you received this
> transmission in error, please immediately contact the sender
> and destroy the material in its entirety, whether in
> electronic or hard copy format. Thank you.
>
> _______________________________________________
> colug mailing list
> colug at colug.net
> http://www.colug.net/mailman/listinfo/colug
>
More information about the colug
mailing list