LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   I am losing mail is Cyber space (https://www.linuxquestions.org/questions/linux-software-2/i-am-losing-mail-is-cyber-space-146039/)

john8675309 02-14-2004 12:19 PM

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

john8675309 02-14-2004 12:54 PM

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


All times are GMT -5. The time now is 05:18 PM.