RE: sendmail configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please paste here exactly what the "DS" directive line says in
submit.cf.

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Kalyan Sundar
Sent: Wednesday, 16 September 2009 12:12 a.m.
To: General Red Hat Linux discussion list
Subject: Re: sendmail configuration

Hi Gef,
Thanks once again.

yes... after the configuration mailer=esmtp got changed to mailer=relay
but
the relay is still pointing to root@localhost

relay=root@localhost . How do I point relay to my smtp server. kindly
advice.

Thanks,
kalyan

On Tue, Sep 15, 2009 at 5:08 PM, Geofrey Rainey
<Geofrey.Rainey@xxxxxxxxxx>wrote:

> After you've made those changes, search inside the newly created file
> for:
>
> # "Smart" relay host (may be null)
> DSrelay-name.domain.com <http://dsrelay-name.domain.com/>
>
> What do you find?
>
> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx
> [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Kalyan Sundar
> Sent: Tuesday, 15 September 2009 11:29 p.m.
> To: General Red Hat Linux discussion list
>  Subject: Re: sendmail configuration
>
> Hi Gef,
> Thanks a lot for your inputs.
>
> I made below mentioned changes to the submit.mc and configured
> submit.cf.
>
> But still the sendmail uses the relay=root@localhost and the
stat=queued
> ,
> mailer=esmtp.
>
> yes, I just need to send mails .please let me know if i am missing any
> other
> configurations
>
> Thanks,
> kalyan
>
> On Tue, Sep 15, 2009 at 4:40 PM, Geofrey Rainey
> <Geofrey.Rainey@xxxxxxxxxx>wrote:
>
> > Are you using mail to both receive and send, or only send?
> >
> > If you're using it to only send mail, then do the following:
> >
> > Go to /etc/mail, here you should find a file called submit.mc
> >
> > Edit this file and update the parameter and add something like this
> > anywhere to the file:
> >
> > define('SMART_HOST','relay.domain.com')dnl
> >
> > And if there's an entry containing something like 'SMTP',
'127.0.0.1'
> > etc, comment it out by preceding it with dnl (or removing it or
> > whatever).
> >
> > Then type the following:
> >
> > # m4 submit.mc > submit.cf
> >
> > (You'll need to ensure two packages are installed for this,
> sendmail-cf
> > and m4)
> >
> > If you're using sendmail to receive mail, submit sendmail.mc/cf for
> each
> > submit.mc/cf above, then restart sendmail.
> >
> >
> > -----Original Message-----
> > From: redhat-list-bounces@xxxxxxxxxx
> > [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Kalyan Sundar
> > Sent: Tuesday, 15 September 2009 10:58 p.m.
> > To: General Red Hat Linux discussion list
> > Subject: sendmail configuration
> >
> > Hi All,
> > I am trying to configure sendmail on Linux server.
> >
> > After the configuration the maillog show below message:
> >
> > Sep 15 12:19:30 ebizrep sendmail[31924]: n8F8GoWo031924: from=root,
> > size=70,
> > class=0, nrcpts=1, msgid=<
> >
>
200909150817.n8F8H5Us031927@<servername>.domain.com<200909150817.n8F8H5U
> > s031927@%3Cservername%3E.domain.com <http://3e.domain.com/> <
> http://3e.domain.com/>>>,
> > relay=root@localhost
> > Sep 15 12:19:30 ebizrep sendmail[31924]: n8F8GoWo031924:
> > to=<mail_id>@<domain>.com <to=%3Cmail_id%3E@%3Cdomain%3E.com>,
> > delay=00:02:40, mailer=esmtp, pri=30070, dsn=4.4.3, stat=queued
> > Sep 15 12:19:45 ebizrep sendmail[31927]: n8F8H5Us031927: from=root,
> > size=83,
> > class=0, nrcpts=1, msgid=<
> >
>
200909150817.n8F8H5Us031927@<servername>.domain.com<200909150817.n8F8H5U
> > s031927@%3Cservername%3E.domain.com <http://3e.domain.com/> <
> http://3e.domain.com/>>>,
>  > relay=root@localhost
> > Sep 15 12:19:45 ebizrep sendmail[31927]: n8F8H5Us031927:
> > to=<mail_id>@<domain>.com <to=%3Cmail_id%3E@%3Cdomain%3E.com>,
> > delay=00:02:40, mailer=esmtp, pri=30083, dsn=4.4.3, stat=queued
> > The mail status is showing as queued which makes me think that  the
> > sendmail
> > configuarion is not properly done.
> >
> > how to I make the existing mail=esmtp to mailer=relay and
> > relay=root@localhost to relay=<smtpserver.domain.com>
> >
> > I am new to this topic. Kindly give your inputs which ll be very
> helpful
> > to
> > proceed further.
> >
> > Thanks,
> > Kalyan
> > --
> > redhat-list mailing list
> > unsubscribe
mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> > ==========================================================
> > For more information on the Television New Zealand Group, visit us
> > online at tvnz.co.nz
> > ==========================================================
> > CAUTION:  This e-mail and any attachment(s) contain information that
> > is intended to be read only by the named recipient(s).  This
> information
> > is not to be used or stored by any other person and/or organisation.
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe
mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> --
>  redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> ==========================================================
> For more information on the Television New Zealand Group, visit us
> online at tvnz.co.nz
> ==========================================================
> CAUTION:  This e-mail and any attachment(s) contain information that
> is intended to be read only by the named recipient(s).  This
information
> is not to be used or stored by any other person and/or organisation.
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
==========================================================
For more information on the Television New Zealand Group, visit us
online at tvnz.co.nz 
==========================================================
CAUTION:  This e-mail and any attachment(s) contain information that
is intended to be read only by the named recipient(s).  This information
is not to be used or stored by any other person and/or organisation.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux