| Welcome to the Talk Root - PC Hardware, Software and Web Development forums. Are you a programmer, web developer, IT guy or a computer guru? We invite you to join our forums and participate in friendly discussion. It doesn't matter your skill level, we are here to help everyone.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us. | 01-13-2004, 11:50 PM | #1 | | | sendmail setup difficulties i installed the 8.12.10 rpm, and ran into a whole slew of problems. in the logs, i get Jan 14 01:43:28 MYHOST sm-msp-queue[19812]: starting daemon (8.12.10): queueing@01:00:00 Jan 14 01:43:29 MYHOST sendmail[19818]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 151: readcf: map mailertable: class hash not available Jan 14 01:43:29 MYHOST sendmail[19818]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 154: readcf: map virtuser: class hash not available Jan 14 01:43:29 MYHOST sendmail[19818]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 159: readcf: map access: class hash not available and for a while, i was also getting the error Jan 14 01:34:24 MYHOST sendmail[18506]: NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 264: service "smtp" unknown i've been beating this thing about the head and shoulders for two days now, *after* working down from qmail to postfix then to sendmail. (on another note, i got a very similar error regarding smtp in postfix). what's going wrong here? i assume there should be an inetd service called smtp, but i dont know what is supposed to be executed by it. im pretty confused at the moment, and a little sick of this ;). | | | | 01-14-2004, 04:53 AM | #2 | | | Re: sendmail setup difficulties Chris Pandolfo wrote: > i installed the 8.12.10 rpm, and ran into a whole slew of problems. > > in the logs, i get > > Jan 14 01:43:28 MYHOST sm-msp-queue[19812]: starting daemon (8.12.10): > queueing@01:00:00 > Jan 14 01:43:29 MYHOST sendmail[19818]: NOQUEUE: SYSERR(root): > /etc/mail/sendmail.cf: line 151: readcf: map mailertable: class hash > not available > Jan 14 01:43:29 MYHOST sendmail[19818]: NOQUEUE: SYSERR(root): > /etc/mail/sendmail.cf: line 154: readcf: map virtuser: class hash not > available > Jan 14 01:43:29 MYHOST sendmail[19818]: NOQUEUE: SYSERR(root): > /etc/mail/sendmail.cf: line 159: readcf: map access: class hash not > available > > and for a while, i was also getting the error > > Jan 14 01:34:24 MYHOST sendmail[18506]: NOQUEUE: SYSERR(root): > /etc/mail/sendmail.cf: line 264: service "smtp" unknown > > i've been beating this thing about the head and shoulders for two days > now, *after* working down from qmail to postfix then to sendmail. (on > another note, i got a very similar error regarding smtp in postfix). > what's going wrong here? i assume there should be an inetd service > called smtp, but i dont know what is supposed to be executed by it. im > pretty confused at the moment, and a little sick of this ;). http://www.sendmail.org/faq/section3.html#3.31 Q3.31 -- What does "class hash not available" mean? 1) What is reported in "Compiled with:" section by the command below ? sendmail -d0.1 -bv root 2) You can make sendmail use dbm instead of hash. -- Andrzej [pl>en: Andrew] Adam Filip http://anfi.freeshell.org/ anfi@priv.onet.pl anfi@xl.wp.pl *Random Epigram* : Better give a penny then lend twenty. -- Italian Proverb | | | | 01-14-2004, 11:29 AM | #3 | | | Re: sendmail setup difficulties Andrzej Adam Filip <anfi@priv.onet.pl> wrote in message news:<bu3ajo$42l$1@anfi.freeshell.org>... > Chris Pandolfo wrote: > > i installed the 8.12.10 rpm, and ran into a whole slew of problems. > > > > in the logs, i get > > > > Jan 14 01:43:28 MYHOST sm-msp-queue[19812]: starting daemon (8.12.10): > > queueing@01:00:00 > > Jan 14 01:43:29 MYHOST sendmail[19818]: NOQUEUE: SYSERR(root): > > /etc/mail/sendmail.cf: line 151: readcf: map mailertable: class hash > > not available > > Jan 14 01:43:29 MYHOST sendmail[19818]: NOQUEUE: SYSERR(root): > > /etc/mail/sendmail.cf: line 154: readcf: map virtuser: class hash not > > available > > Jan 14 01:43:29 MYHOST sendmail[19818]: NOQUEUE: SYSERR(root): > > /etc/mail/sendmail.cf: line 159: readcf: map access: class hash not > > available > > > > and for a while, i was also getting the error > > > > Jan 14 01:34:24 MYHOST sendmail[18506]: NOQUEUE: SYSERR(root): > > /etc/mail/sendmail.cf: line 264: service "smtp" unknown > > > > i've been beating this thing about the head and shoulders for two days > > now, *after* working down from qmail to postfix then to sendmail. (on > > another note, i got a very similar error regarding smtp in postfix). > > what's going wrong here? i assume there should be an inetd service > > called smtp, but i dont know what is supposed to be executed by it. im > > pretty confused at the moment, and a little sick of this ;). > > http://www.sendmail.org/faq/section3.html#3.31 > Q3.31 -- What does "class hash not available" mean? > > 1) What is reported in "Compiled with:" section by the command below ? > sendmail -d0.1 -bv root im going to post everything that came out, just in case ;) > 2) You can make sendmail use dbm instead of hash. how? can i comment that stuff out of the .cf file, or will that just screw things up beyond all reason? the second to last value, under subdomain below, looks suspicious as well. i've replaced my domain name with MYHOST.COM in this, just for anonyminity's sake. -bash-2.05b# sendmail -d0.1 -bv root Version 8.12.10 Compiled with: DNSMAP LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETUNIX PIPELINING SCANF XDEBUG /etc/mail/sendmail.cf: line 151: readcf: map mailertable: class hash not available /etc/mail/sendmail.cf: line 154: readcf: map virtuser: class hash not available /etc/mail/sendmail.cf: line 159: readcf: map access: class hash not available Warning: Option: AuthOptions requires SASL support (-DSASL) ============ SYSTEM IDENTITY (after readcf) ============ (short domain name) $w = MYHOST.COM (canonical domain name) $j = MYHOST.COM (subdomain name) $m = com (node name) $k = hc01 ================================================== ====== | | | | 01-15-2004, 05:13 AM | #4 | | | Re: sendmail setup difficulties Chris Pandolfo wrote: > asphodel587@hotmail.com (Chris Pandolfo) wrote in message news:<de88d925.0401141029.745b01a8@posting.google. com>... > >>Andrzej Adam Filip <anfi@priv.onet.pl> wrote in message news:<bu3ajo$42l$1@anfi.freeshell.org>... >> >>>Chris Pandolfo wrote: >>> >>>>i installed the 8.12.10 rpm, and ran into a whole slew of problems. >>>> >>>>in the logs, i get >>>> >>>>Jan 14 01:43:28 MYHOST sm-msp-queue[19812]: starting daemon (8.12.10): >>>>queueing@01:00:00 >>>>Jan 14 01:43:29 MYHOST sendmail[19818]: NOQUEUE: SYSERR(root): >>>>/etc/mail/sendmail.cf: line 151: readcf: map mailertable: class hash >>>>not available >>>>Jan 14 01:43:29 MYHOST sendmail[19818]: NOQUEUE: SYSERR(root): >>>>/etc/mail/sendmail.cf: line 154: readcf: map virtuser: class hash not >>>>available >>>>Jan 14 01:43:29 MYHOST sendmail[19818]: NOQUEUE: SYSERR(root): >>>>/etc/mail/sendmail.cf: line 159: readcf: map access: class hash not >>>>available >>>> >>>>and for a while, i was also getting the error >>>> >>>>Jan 14 01:34:24 MYHOST sendmail[18506]: NOQUEUE: SYSERR(root): >>>>/etc/mail/sendmail.cf: line 264: service "smtp" unknown >>>> >>>>i've been beating this thing about the head and shoulders for two days >>>>now, *after* working down from qmail to postfix then to sendmail. (on >>>>another note, i got a very similar error regarding smtp in postfix). >>>>what's going wrong here? i assume there should be an inetd service >>>>called smtp, but i dont know what is supposed to be executed by it. im >>>>pretty confused at the moment, and a little sick of this ;). >>> >>>http://www.sendmail.org/faq/section3.html#3.31 >>>Q3.31 -- What does "class hash not available" mean? >>> >>>1) What is reported in "Compiled with:" section by the command below ? >>>sendmail -d0.1 -bv root >> >>im going to post everything that came out, just in case ;) >> >> >>>2) You can make sendmail use dbm instead of hash. >> >>how? can i comment that stuff out of the .cf file, or will that just >>screw things up beyond all reason? >> >> >>the second to last value, under subdomain below, looks suspicious as >>well. i've replaced my domain name with MYHOST.COM in this, just for >>anonyminity's sake. >> >>-bash-2.05b# sendmail -d0.1 -bv root >>Version 8.12.10 >> Compiled with: DNSMAP LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND >> NETINET NETUNIX PIPELINING SCANF XDEBUG >>/etc/mail/sendmail.cf: line 151: readcf: map mailertable: class hash >>not available >>/etc/mail/sendmail.cf: line 154: readcf: map virtuser: class hash not >>available >>/etc/mail/sendmail.cf: line 159: readcf: map access: class hash not >>available >>Warning: Option: AuthOptions requires SASL support (-DSASL) >> [...] The sendmail was compiled *without* NEWDB and NDBM (libraries for accessing key-hash DBes), so it was unable to support hash, btree and dbm maps. Two most likely explanations: a) something was wrong with the rpm you installed b) you used non rpm sendmail [a leftover from previous installation/test] > ok, i reinstalled it from the rpm and it works perfectly now. i dont > know what happened, but it works (i.e. the service runs). now the > difficulty is no mail is being received. im new to mail in general. do > i need to run a seperate SMTP/POP3 server, or should this be > sufficient (read: something else is wrong). Sendmail is not pop/imap server you need a another RPM. http://www.sendmail.org/faq/section4.html#4.19 Q4.19 -- How do I configure sendmail for POP/IMAP/... ? > logs say after i send > mail to myself: > > Jan 14 18:33:36 collegefusion sendmail[22162]: i0ENXa9h022162: > from=chrisp.collegefusion@collegefusion.com, size=391, class=0, > nrcpts=1, msgid=<200401142333.i0ENXa9h022162@collegefusion.c om>, > relay=root@localhost > Jan 14 18:33:36 collegefusion sendmail[22164]: i0ENXadK022164: > from=<chrisp.collegefusion@collegefusion.com>, size=631, class=0, > nrcpts=1, msgid=<200401142333.i0ENXa9h022162@collegefusion.c om>, > proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1] > Jan 14 18:33:36 collegefusion sendmail[22162]: i0ENXa9h022162: > to=chrisp.collegefusion@collegefusion.com, > ctladdr=chrisp.collegefusion@collegefusion.com (509/502), > delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30391, > relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (i0ENXadK022164 > Message accepted for delivery) > Jan 14 18:33:36 collegefusion sendmail[22165]: i0ENXadK022164: > to=<chrisp.collegefusion@collegefusion.com>, > ctladdr=<chrisp.collegefusion@collegefusion.com> (509/502), > delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30879, dsn=2.0.0, > stat=Sent > > (so much for anonyminity) it says message accepted for delivery, but > it's not in any of the mailboxes or the queue. Sendmail logged that it passed the message to local mailer (another program used by sendmail to deliver messages to local mailboxes). Could you post your local mailer spec ? echo '=M' | sendmail -bt grep local -- Andrzej [pl>en: Andrew] Adam Filip http://anfi.freeshell.org/ anfi@priv.onet.pl anfi@xl.wp.pl *Random Epigram* : You get what you pay for. -- Gabriel Biel | | | | | Thread Tools | | | | Rate This Thread | | | Posting Rules | You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -7. The time now is 01:08 PM. | |