LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-14-2004, 01:19 PM   #1
john8675309
Member
 
Registered: Oct 2003
Location: Spencer, Iowa
Distribution: Slackware (of course)
Posts: 67

Rep: Reputation: 16
I am losing mail is Cyber space


Hi,
I am trying to setup a mailertable and for some reason I seem to be missing something. I want all mail for jkcool.com to be sent to drivers.jkcool.com so I created a DNS record to say my MX is drivers.jkcool.com that part is working fine and dandy. So then I went to drivers.jkcool.com and setup a sendmail.mc file here it is:

Code:
include(`/usr/share/sendmail/cf/m4/cf.m4')
VERSIONID(`linux for smtp-only setup')dnl
OSTYPE(linux)
FEATURE(always_add_domain)dnl
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')
FEATURE(`use_cw_file')dnl
FEATURE(`dnsbl')dnl
FEATURE(`mailertable','hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl
FEATURE(`accept_unresolvable_domains')dnl
MAILER(smtp)dnl
as you can see it is very simple.
Code:
then I ran m4 /etc/mail/sendmail.cf < /etc/mail/sendmail.mc
the file was created because I edited the file and it had todays date and a time like 1 minute ago

then I created a relay-domains file
The file Contains
Code:
jkcool.com
then I editied the mailertable file and added
Code:
jkcool.com         esmtp:[jkcool.jkcool.com]
then I ran
Code:
makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable
everything appeared to go through ok. the file got created.
then I tested the telnet to drivers.jkcool.com

Code:
root@desktop%11:59:44%:~# telnet drivers.jkcool.com 25
Trying 216.114.198.214...
Connected to drivers.jkcool.com.
Escape character is '^]'.
220 service.crmankato.com ESMTP Sendmail 8.12.8/8.12.8; Sat, 14 Feb 2004 
12:01:33 -0600
helo jkcool.com
250 service.crmankato.com Hello 12-218-53-187.client.mchsi.com 
[12.218.53.187], pleased to meet you
mail from: john@jkcool.com
250 2.1.0 john@jkcool.com... Sender ok
rcpt to:john@jkcool.com
250 2.1.5 john@jkcool.com... Recipient ok
data
354 Enter mail, end with "." on a line by itself
Subject: Testing
This is a test message
.
250 2.0.0 i1EI1Xaq022001 Message accepted for delivery
quit
221 2.0.0 service.crmankato.com closing connection
Connection closed by foreign host.
it appeared like everything went through ok.
The mail however never appears on my end. but if I switch back the DNS MX record to point to jkcool.com mail works again.

can someone help me fix this??

--John
 
Old 02-14-2004, 01:54 PM   #2
john8675309
Member
 
Registered: Oct 2003
Location: Spencer, Iowa
Distribution: Slackware (of course)
Posts: 67

Original Poster
Rep: Reputation: 16
update I was able to get my mail bounced back

554 5.0.0. MX list for jkcool.com points back to drivers.jkcool.com
554 5.3.5 Local configuration error

thanks again,
John
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why am I losing so much disk space with Linux (vs Windows)? jcruse Linux - Newbie 2 02-17-2005 05:53 PM
USB stick, "losing space" - filesystem inconsistensies? iskrem Linux - Hardware 1 11-26-2004 07:01 PM
setting up mail server...losing the plot retarded Linux - Newbie 7 12-02-2003 03:05 AM
Perl: system() mail losing a variable value m0rl0ck Programming 8 09-09-2003 07:40 PM
Why my E-mail Server is all space Lost? explorer1979 Linux - General 3 02-20-2003 08:44 PM


All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration