Hi Steve, the dig command gives 'connection timeout' error. ;; global options: printcmd ;; connection timed out; no servers could be reached Please confirm that I need to put an DNS entry for server? I will try adding DNS entry and test it once. Thanks, Kalyan On Wed, Sep 16, 2009 at 7:34 AM, Steve Phillips <steve.phillips@xxxxxxxxx>wrote: > Based on your earlier log messages and your latest errors > > <quote> > > sendmail -v kalyan.sundu@<domain_name>.com<kalyan.sundu@ > %3Cdomain_name%3E.com> > <kalyan.sundu@%3Cdomain_name%3E.com> > <domain name>.com: Name server timeout > kalyan.sundu@<domain_name>.com <kalyan.sundu@%3Cdomain_name%3E.com> > <kalyan.sundu@%3Cdomain_name%3E.com>... > Transient parse error -- message queued for future delivery > > </quote> > > You do realise that < and > are not valid DNS entries right ? (thats what > the %3C and %3E are in your log messages) > > Generally <domainname> means "replace this with your domain" not litteraly > "put <domainname> here" > > also, your domain name must resolve, i.e - if you type 'dig > mx.domainname.com' you must get some form of response. If you are getting > timeouts then you need to fix this first. (obviously, type the dig command > without the ' and ') > > If you can't get DNS to work then switching to postfix is not going to help > you much (and postfix tends to want to ignore your /etc/hosts file as well > which makes it doubly important to get your DNS right) > > -- > Steve. > > > > On Tue, Sep 15, 2009 at 10:52 PM, Kalyan Sundar <kalyan.sundu@xxxxxxxxx > >wrote: > > > below is the entry i got in submit.cf . I have just blanked out domain > > name. > > > > # "Smart" relay host (may be null) > > DSmx.<domainname>.com > > > > Thanks, > > Kalyan > > On Tue, Sep 15, 2009 at 6:17 PM, Geofrey Rainey > > <Geofrey.Rainey@xxxxxxxxxx>wrote: > > > > > 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/> < > http://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/cffor > > > > 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/> < > > > 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/> < > > > 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 > > > > > -- > > 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 > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list